Toho Electronics TRM-00J User manual

DWG.No. 4B-6829-A
TOHO ELECTRONICS INC.
Operation Manual (Communication Edition)
(TOHO Protocol, MODBUS)
Model: TRM-00J
Name:PaperlessRecorder

DWG.No. 4B-6829-A
ThankyouverymuchforpurchasingTRM-00J.
Kindly readthisoperationmanualfor properusage.
Table of Contents
Section1BeforeUsingtheProduct·····································································································································································-1 -
1.1. AbouttheOperationManual·······················································································································································-1 -
1.2. RequirementsforCommunication··············································································································································-1 -
1.3. ThingsCommunicationFunctionCanDo····································································································································-1 -
1.4. Position(Priority)ofCommunication···········································································································································-1 -
1.5. SettingstoBeMadePriortotheCommunication······················································································································-1 -
Section2CommunicationSettings······································································································································································-2 -
2.1. Outline·····························································································································································································-2 -
2.2. SettingofCommunicationProtocol·············································································································································-3 -
2.3. SettingofFormat···········································································································································································-3 -
2.4. SettingofDeviceAddress······························································································································································-3 -
2.5. SettingofCommunicationSpeed,DataLength,StopBit,andParity·······················································································-3 -
2.6. SettingofBCC·················································································································································································-3 -
2.7. SettingofResponseDelayTime···················································································································································-3 -
Section3CommunicationOutline·······································································································································································-4 -
3.1. CommunicationProcedures·························································································································································-4 -
3.2. KindsofMessage···········································································································································································-4 -
Section4ExplanationaboutTOHOProtocolCommunication·························································································································-5 -
4.1. AbouttheFormat··········································································································································································-5 -
4.2. StructureofRequestMessage(DataTransmissionfromUpperComputertoThisProduct)················································-5 -
4.2.1. StructureofReadRequestMessage······························································································································-5 -
4.2.2. StructureofWriteRequest Message·····························································································································-5 -
4.2.3. StructureofSaveRequestMessage ······························································································································-5 -
4.3. StructureofResponseMessage(DataTransmissionfromThisProducttoUpper Computer)·············································- 6 -
4.3.1. ResponseMessageforReadRequestMessage···········································································································-6 -
4.3.2. Response Messagefor Write/SaveRequest Message ································································································-6 -
4.3.3. ResponseMessagefortheError····································································································································-6 -
4.4. ExplanationaboutCodes······························································································································································-7 -
4.5. ThingstoBeNotedduringtheCommunication·······················································································································-10 -
4.5.1. TimingofTransmission··················································································································································-10 -
4.5.2. RequestInterval·····························································································································································-10 -
4.5.3. ConditionsforResponse···············································································································································-10 -
4.5.4. AddressSpecificationError···········································································································································-10 -
4.5.5. Number ofDigitsofDataandPositionof DecimalPoint···························································································-10 -
4.5.6. OperationafterReceivinga SaveRequestMessage··································································································-10 -
4.5.7. SavingDataOtherthanSaveRequestMessage·········································································································-10 -
4.6. Sample TOHOCommunications················································································································································-11 -
4.6.1. SampleCommunicationforReading···························································································································-11 -
4.6.2. SampleCommunicationforWriting····························································································································- 12 -
Section5ExplanationaboutMODBUSProtocolCommunication·················································································································-13 -
5.1. MODBUS RTU ··············································································································································································-13 -
5.1.1. StructureofRequestMessage(DataTransmissionfrom UpperComputertoThisProduct)································-13 -
5.1.2. StructureofResponseMessage(DataTransmissionfromThisProducttoUpperComputer)·····························-14 -

DWG.No. 4B-6829-A
5.1.3. ExplanationaboutCodes··············································································································································-15 -
5.1.4. ThingstoBeNotedduringtheCommunication·········································································································- 17 -
5.2. MODBUSASCII·············································································································································································-18 -
5.2.1. StructureofRequestMessage(DataTransmissionfrom UpperComputertoThisProduct)································-18 -
5.2.2. StructureofResponseMessage(DataTransmissionfromThisproducttoUpperComputer)·····························-19 -
5.2.3. ExplanationAboutCodes··············································································································································-20 -
5.2.4. ThingstoBeNotedduringtheCommunication·········································································································- 22 -
Section6ListofIdentifiers··················································································································································································-23 -
6.1. OtherCommands········································································································································································-23 -
6.2. Input······························································································································································································-25 -
6.3. Scaling···························································································································································································-26 -
6.4. Display···························································································································································································-28 -
6.5. Scale······························································································································································································-29 -
6.6. Alarm·····························································································································································································- 30 -
6.7. REC/CALC······················································································································································································-35 -
6.8. Group name·················································································································································································-36 -
6.9. Group channel··············································································································································································-36 -
6.10. GraphDisplay···········································································································································································-38 -
6.11. Autoswitching·········································································································································································-39 -
6.12. RecordOperation····································································································································································-39 -
6.13. Schedule···················································································································································································-40 -
6.14. Message ···················································································································································································-40 -
6.15. DI ·······························································································································································································-43 -
6.16. Progresstime···········································································································································································-43 -
6.17. LCDbacklight············································································································································································-44 -
6.18. Keyfunction·············································································································································································-44 -
6.19. Comm. Settings········································································································································································-45 -
6.20. Clock··························································································································································································-45 -
6.21. Language··················································································································································································-45 -
Section7ListofASCII Codes···············································································································································································-46 -

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 1 -
Section1Before Using the Product
1.1. Aboutthe OperationManual
Thismanualexplainsthecommunication functionofTRM-00J.
1.2. Requirements for Communication
Asastandardfeatureforcommunication,this productisequippedwithRS-485and USB communicationfunction.
1.3. ThingsCommunicationFunction CanDo
Allows usertowriteandreadtoitemsofthisproductthataredescribed in “Section6ListofIdentifiers” such as “To change, start, or stop
items that can be operated through front keys” and “To read the information that can be displayed on the display section.”
Provided,however,thatsincetheRAMofthisproductisusedduringthereading/writingofdatathrough ordinarycommand,thedata
thatwaswrittenwillbereplacedbythe previousdata(datathatissavedinEEPROM)ifthepoweristurnedOFFandthenturnedON.
TosavethewrittendataintotheEEPROMofthisproduct, executethesaverequest message.
(See “4.5.”, “5.1.4.” and “5.2.4.” Things to Be Noted during the Communication.)
1.4. Position(Priority)ofCommunication
This product allows the user to change parameters through the key (including touch operation, hereinafter referred to as “key
operation”) even during the communication. Although the same setting can be changed simultaneously through key operationand
communication,donot changethesettingthroughcommunicationwhilethesetting is beingeditedthroughkeyoperation sincethereis
noprioritybetweenkeyoperationandcommunication.
1.5. Settingsto BeMadePrior totheCommunication
Several settings need to be made to this product in order for it to perform a communication function. See “Section2Communication
Settings”

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 2 -
Section2Communication Settings
2.1. Outline
Initial settingsneedtobemadetothisproductinorderforittoperformacommunication function.Settingsshallbemadethroughkey
operation.
Follow the procedure shown below to navigate between setting screens. See User’s Manual for details.
Power-on
Initial screen
Horizontal Trend
4 Sec. after
Main Menu
MENU key
System Setting
Comm. Setting

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 3 -
2.2. Settingof CommunicationProtocol
Selectthecommunicationprotocol.
2.3. Settingof Format
Sets the format for each protocol. See “Section4ExplanationaboutTOHO ProtocolCommunication” and “Section5Explanationabout
MODBUSProtocolCommunication” for details.
2.4. Settingof DeviceAddress
Settingmustbemadeinaccordancewithformatsettingspecifications.
2.5. Settingof CommunicationSpeed,Data Length,StopBit,and Parity
Settingmustbemadeinaccordancewiththesettingsofuppercomputerthatshallbeconnected.
During thesettingofMODBUSRTU,data lengthwillbefixedto8bits(data lengthsettingwillbeignored).
2.6. Settingof BCC
In case of TOHO Protocol, set “With or Without BCC Check (Turn BCC Check ON/OFF).”
2.7. Settingof Response Delay Time
Setthetime to take for the upper computer to complete the receiving of “request message,” open the line, and get ready for the next
input.

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 4 -
Section3Communication Outline
3.1. CommunicationProcedures
This product returns the “response message” as a reply to the “request message” that will be sent by the upper computer.
Therefore,the transmissionwillneverbeinitiatedbythisproduct.
High-level computer
This product
Request message
Response message
Request message
Response message
Transmitted by a highlevel
computer Transmitted by this
product Transmitted by a highlevel
computer Transmitted by this
product
0-250ms 2 ms or more
Response delay
3.2. Kindsof Message
■Kindsofmessagecanbrieflybeclassifiedintothefollowing:
Read request message
Write request message
Request message (transmitted
from a high-level computer) Response message (transmitted
from this product)
Receipt acknowledgement and data
response
Write complete response
Reception error and error description
response
:Response when a normal "request message" is received
:When a received "request message" contains an error
Store complete responseStore request message
■IncaseofTOHO Protocol,all codes(exceptforBCC)willbeexpressedinASCIIcode.
■IncaseofMODBUSRTU,allcodeswillbeexpressedinbinarycode.
■IncaseofMODBUSASCII,all codeswillbeexpressedin ASCIIcode.
■To code the program for the upper computer, see “Section6ListofIdentifiers” and “Section7ListofASCIICodes”
See“4.5.1.”,“5.1.4.1.”and
“5.2.4.1.”TimingofTransmission
See“4.5.2.”,“5.1.4.2.”and
“5.2.4.2.”RequestInterval

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 5 -
Section4Explanation about TOHO Protocol Communication
4.1. Aboutthe Format
TherearetwotypesofformatforTOHOProtocol—namely,Type1andType2—with thedifferenceinthespecificationofaddressand
secondidentifier.
See “4.4.Explanationabout Codes” for details.
4.2. StructureofRequest Message (DataTransmissionfrom UpperComputer toThisProduct)
■See “4.4.ExplanationaboutCodes” for codes from① to ⑪.
■See “4.6.1.SampleCommunicationforReading” and “4.6.2.SampleCommunicationforWriting” for concrete
samplesoftherequestmessage.
4.2.1. StructureofReadRequestMessage
S
T
X□□R□ □ □ E
T
X
B
C
C
① ② ③ ④ ⑦ ⑧⑤
□ □
4.2.2. StructureofWriteRequest Message
S
T
X□□W□ □ □ E
T
X
B
C
C
① ② ③ ④ ⑦ ⑧
□□□□□
⑥
□ □
⑤
4.2.3. StructureofSaveRequestMessage
S
T
X□□W S T R E
T
X
B
C
C
① ② ③ ④ ⑦ ⑧

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 6 -
4.3. StructureofResponse Message (DataTransmissionfromThisProductto UpperComputer)
■See “4.4.ExplanationaboutCodes” for codes from ① to ⑪.
■See “4.6.1.SampleCommunicationforReading” and “4.6.2.SampleCommunicationforWriting” for concrete
samplesoftheresponsemessage.
4.3.1. ResponseMessageforReadRequestMessage
S
T
X□ □ A
C
K□ □ □
① ② ⑨ ④
E
T
X
B
C
C
⑦ ⑧
□□□□□
⑥
□ □
⑤
4.3.2. ResponseMessageforWrite/SaveRequestMessage
S
T
X□ □ E
T
X
B
C
C
① ② ⑦ ⑧
A
C
K
⑨
4.3.3. ResponseMessagefortheError
S
T
X□ □ E
T
X
B
C
C
① ② ⑦ ⑧
N
A
K
⑩
□
⑪

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 7 -
4.4. ExplanationaboutCodes
■The following codes other than ⑧BCC will be expressed in ASCII code.
■See “Section7ListofASCII Codes” for the detail about ASCII codes.
■ToconvertintoASCIIcode,see “4.6.SampleTOHOCommunications”
①STX
Itisacodethatisnecessaryforthereceivingsidetodetect thestartofthemessage. It shallbeattachedtothestartofthecharacter
string tobesent.
② Address
Format =Type1
Specifiesthedevice thatwillbecommunicatedbythe uppercomputer.Addresssettingvalueshallserve astheaddressofthis
product.
Format =Type2
Specifiesthechannelofthedevicethatwillbecommunicatedbytheupper computer.Addressofthesubjectedchannelshall
becomputedbythefollowingformula:
Address={(AddressSettingValue-1)x6}+ SubjectedChannel
Example)Addressofchannel4whereaddresssettingvalue= 5
Address={(5-1)x6} +4=28
③ Contents of Request
SetthesymbolRorW.
R:Ifthedataistobereadfromthis product
W:Ifthedataistobewrittenorsavedintothisproduct
④ First Identifier
Itisaclassificationsymbol(identifier)ofthedatatobereadorwrittenthatwillbeexpressedbythe3-digitalphanumericASCIIcode.
See “10. List of Identifiers (Codes).”
⑤ Second Identifier
Format =Type1
Itisusedtospecifythechannelforthedatatobespecifiedbythefirstidentifierthathasbeenallocatedtoeach channel.
Thisisnotnecessaryforthe datathatis notallocatedperchannel.Donotincludeitintherequestmessage.
See “Section6ListofIdentifiers” to check if the second identifier is required or not.
Format =Type2
Thiswillnotbeused.Donotincludeit intherequest message.

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 8 -
⑥ Numerical Data
Uponwriting, 5-digitor6-digitnumericaldatacanbewritten.Uponreading,numericaldatawillbeconvertedinto5-digit or6-digit
numericaldata inaccordancewiththeconfigurationofthisproduct.
Negative data: The symbol “-” is considered one digit to be displayed at the largest digit.
Positionofdecimal point:Decimalpointwillnotbeincluded in thedata.
Example:5-digit numerical data “00010” means thefollowing:
Example
Meaning of Nume
rical Value
If the display unit of the data is wit
hout decimal point
→ 10
If the display unit of the data is up
to the first decimal place
→ 1.0
If the display unit of the data is up
to the second decimal place
→ 0.10
⑦ ETX
Itisacodethatisnecessaryforthereceivingsidetodetect theend of themessage.Itshallbeattached to theend ofthecharacter
string tobesent(exceptforBCC).
⑧ BCC
GetEx-ORofallcharactersfromSTXtoETXwiththecheckcodeforthedetectionof error.
ThiscodeshallnotbeincludedintheresponsemessageifBCCCheckisturnedOFFatthecommunicationsettingofthisproduct.
See “2.6.Settingof BCC”
⑨ ACK
It is an acknowledge code that will be included in the “response message” to be replied by thisproductifnoerrorisfound in the
received message.
⑩ NAK
It is a reject code that will be included in the “response message” to be replied by this product if error is found in the received
message.
If there is an error in the received “request message,” content of error (⑪ Error Code) will also be attached (next to NAK) to the
“response message” that will be returned by this product.

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 9 -
⑪ Error Code
If there is an error in the “request message” that was received by this product, the description of thesaiderror(numberinthetable
shown below) will be attached (next to “⑩ NAK”) to the “response message” that will be returned by this product.
Since error number “0” indicates the breakdown of measuring equipment (memory error or A/D conversion error),itwillbe
included in the “response message” whether or not there is an error in the “request message.”
Formultiple errors,the largesterrornumberwillbeincluded.
Contentsandclassificationoferrorarethefollowing:
ErrorNumber
Description of errors in “Request Message” that was received by this product
0
Malfunctionofmeasuringequipment(memoryerror orA/Dconversionerror)
1
Numerical value data is out of the “setting range that is specified individually by the setting
item”
2
Changingoftherequested itemisprohibitedornoitemtoread
3
ASCII code that is other than numeric value has been set to the portion for the numeric
value
ASCII code that is other than “0” or “-” has been set to the position for the symbol
4
Format Error
5
BCCError
6
OverrunError
7
FramingError
8
Parity Error

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 10 -
4.5. Thingsto BeNotedduringthe Communication
4.5.1. TimingofTransmission
Uponusingthecommunicationfunction,setenoughresponsedelaytimetoensurethecommunication(sending/receiving)withthe
hostcomputer.
See “2.7.SettingofResponseDelayTime”
4.5.2. RequestInterval
If “request message” is to be sent continuously by the upper computer, wait for at least 2msecs from the arrival of the “response
message” from this product before sending the next requestmessage.
4.5.3. ConditionsforResponse
This product will not return the “response message” if STX and ETX (BCC) are not included in the “request message.”
Therefore, although there is an error in the “request message,”“response message” with NAK anderrorcodewillnotbereturnedunless
theaboveconditionismet.
Therefore, the upper computer should resend the necessary “request message” if the “response message” is not returned within
areasonabletime.
OnceSTXisreceived,thisproductclearsallcodesthatwerereceivedpriortothesaid STX.
4.5.4. AddressSpecificationError
This product will not respond to any “request message” that specifies the address that is other than the one that has been settoitself.
Therefore,if there isanerrorintheaddress section of the “request message,” none of the slave stations will return the “response
message.”
Therefore, the upper computer should resend the necessary “request message” if the “response message” is not returned within
areasonabletime.
OnceSTXisreceived,thisproductclearsallcodesthatwerereceivedpriortothesaidSTX.
4.5.5. Number of DigitsofDataandPositionofDecimalPoint
See “4.4. Explanation About Codes ⑥ Numerical Data.”
4.5.6. OperationafterReceivinga SaveRequestMessage
Thisproductstartsthesavingofdataonceitreceivesthesaverequestmessagecorrectlyfromtheuppercomputer.
Onlythedatathatisdifferentfromtheonestoredin EEPROM(changeddata)shallbesaved.Datawillbesaved within6seconds.
Thisproductwillsendtheresponse(ACK)whenthesaverequestmessageisreceived. Somedatamay belost iftheproduct isturnedOFF
whilethesavingprocessisinprogress.Donotturn thepowerofthisproduct OFFforatleast6secondsaftersendingasaverequest
message.
4.5.7. SavingDataOtherthanSaveRequest Message
Thisproductsavestheparameter intoEEPROM even withoutreceivingthesaverequestmessageinthiscase:
・Iftheparameterischangedthroughkeyoperation,it writesonlychanged parameterandotherrelatedparameters.

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 11 -
4.6. SampleTOHO Communications
4.6.1. SampleCommunicationforReading
Example:
Request message: Request this productin which address is set as “10,” to read “Channel 1 Measuring Temperature.”
(Ifformat=Type1)
(Uppercomputer)
Fortheaboverequest,
Response message: Returns the data of “Channel 1 Measuring Temperature” (00100).
(Thisproduct)
ReadRequest Message(tobesentbytheuppercomputer)
S
T
X
1 0 R P V 1
S
T
X
1 0
A
C
K
B
C
C
PV1
E
T
X
00100
① ② ③ |④|
① ② ⑨|④| ⑦ ⑧||⑥||
B
C
C
E
T
X
⑦ ⑧
0 1
⑤
0 1
⑤
Code
symbol and Data
ASCIIcode ※2
① Start Code
STX
02H
② Address
10
31H,30H
③ Contents of Request
R
52H
④ First Identifier ※1
PV1
50H,56H,31H
⑤ Second Identifier ※1
01
30H,31H
⑥ Numerical Data
00100
30H,30H,31H,30H,30H
⑦ End Code
ETX
03H
⑧ BCC Data
Request
Response
64H
01H
⑨ Acknowledgment Code
ACK
06H
※1: See “Section6ListofIdentifiers” for the detail about identifiers.
※2: See “Section7ListofASCIICodes” for the detail about ASCII codes.

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 12 -
4.6.2. SampleCommunicationforWriting
Example:
Request message: To change “Channel 3 Input Type” to “Pt100 (13)” and write it into thisproduct.
(Uppercomputer)
Fortheaboverequest,
Responsemessage:Returnthe messagetotellthattherequestmessage hasbeenreceived.
(Thisproduct) ※Readthedataseparatelytocheckifthedataiswrittencorrectly.
WriteRequestMessage(to besentbytheuppercomputer)
S
T
X
0 1
A
C
K
B
C
C
E
T
X
S
T
X
0 1 W
B
C
C
I N P
E
T
X
0001 3
①②③|④| ⑦ ⑧||⑥||
① ② ⑦ ⑧⑨
03
⑤
Code
symbol and Data
ASCIIcode ※2
① Start Code
STX
02H
② Address
01
30H,31H
③ ContentsofRequest
W
57H
④ First Identifier ※1
INP
49H,4EH,50H
④ Second Identifier ※1
03
30H,33H
⑤ Numerical Data
00013
30H,30H,30H,31H,33H
⑥ End Code
ETX
03H
⑦ BCC Data
Request
Response
31H
06H
⑧ Acknowledgment Code
ACK
06H
※1: See “Section6ListofIdentifiers” for the detail about identifiers.
※2: See “Section7ListofASCIICodes” for the detail about ASCII codes.

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 13 -
Section5Explanation about MODBUS Protocol Communication
5.1. MODBUSRTU
5.1.1. StructureofRequestMessage(DataTransmissionfrom UpperComputertoThisProduct)
5.1.1.1. StructureofReadRequestMessage
a)
SlaveAddress
01H
b)
FunctionCode
03H
c)
RegisterAddress
Upper
00H
Firstregisteraddress
Lower
00H
d)
Number ofRegisters
Upper
00H
2(fixed)
Lower
02H
e)
CRC-16
Lower
C4H
Upper
0BH
5.1.1.2. StructureofWriteRequest Message
a)
SlaveAddress
01H
b)
FunctionCode
10H
c)
RegisterAddress
Upper
01H
Firstregisteraddress
Lower
00H
d)
Number ofRegisters
Upper
00H
2(fixed)
Lower
02H
f)
Number of Bytes
04H
Number ofRegisters x2
g)
Dataforthefirstregister
(Lowerword)
Upper
00H
③
Data structure is ①②③④H.
(① represents 1 byte)
Lower
0DH
④
Dataforthefirstregister
(Upperword)
Upper
00H
①
Lower
00H
②
e)
CRC-16
Lower
6FH
Upper
FCH
5.1.1.3. StructureofSaveRequestMessage
a)
SlaveAddress
01H
b)
FunctionCode
10H
c)
RegisterAddress
Upper
20H
Firstregisteraddress
Lower
0EH
d)
Number ofRegisters
Upper
00H
2(fixed)
Lower
02H
f)
Number of Bytes
04H
Number ofRegisters x2
g)
Dataforthefirstregister
(Lowerword)
Upper
00H
Dataforthesavingofsettingis
optional.
Lower
00H
Dataforthefirstregister
(Upperword)
Upper
00H
Lower
00H
e)
CRC-16
Lower
EBH
Upper
E2H

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 14 -
5.1.2. StructureofResponseMessage(Data TransmissionfromThisProducttoUpperComputer)
5.1.2.1. ResponseMessageforReadRequestMessage
a)
SlaveAddress
01H
b)
FunctionCode
03H
f)
Number of Bytes
04H
Number ofRegisters x2
g)
Dataforthefirstregister
(Lowerword)
Upper
00H
③
Datastructure is ①②③④H.
(① represents 1 byte)
Lower
64H
④
Dataforthefirstregister
(Upperword)
Upper
00H
①
Lower
00H
②
e)
CRC-16
Lower
BBH
Upper
ECH
5.1.2.2. ResponseMessageforWrite/SaveRequestMessage
a)
SlaveAddress
01H
b)
FunctionCode
10H
c)
RegisterAddress
Upper
01H
Firstregisteraddress
Lower
00H
d)
Number ofRegisters
Upper
00H
2(fixed)
Lower
02H
e)
CRC-16
Lower
40H
Upper
34H
5.1.2.3. ResponseMessagefortheError
a)
SlaveAddress
01H
b)
FunctionCode
83H
← In case of error, the value that is consist
offunctioncodeofrequestmessage
+80Hwillbeset.
h)
ErrorNumber
03H
e)
CRC-16
Lower
01H
Upper
31H

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 15 -
5.1.3. ExplanationaboutCodes
■Thefollowing codesfrom(a) SlaveAddress,(b)FunctionCodeupto(h)ErrorNumberwillbeexpressedin8-bitbinarycode:
(a)SlaveAddress
Itisanaddressofthedevicethatwillbecommunicatedbythe uppercomputer(thisproduct).
Address intheresponsemessageformthisproduct indicatesthesourceofresponsemessage.
(b)FunctionCode
Enterthecode03Hor10H.
・03H:Ifthedataistobereadfromthisproduct
・10H:Ifthedataistobewrittenorsavedintothisproduct
(c)RegisterAddress
Specifiesthepositionofdatatobereadorwrittenwith2bytes.
See “Section6ListofIdentifiers” for the address of each command.
(d)NumberofRegisters
Specifiesthenumberofregistersthatwrites.
Since the number of registers of this product is fixed to 2, set it to “0002H.”
(e)CRC-16
Itisanerror-checkingcodeforthedetectionofapossibleerrorinthe message.ItsendsCRC-16(CyclicRedundancyCode).
GeneratingpolyomicalofCRC-16thatisused in thisproductis X16 +X15 +X2+ 1.
Ifitistobeattachedattheendofthemessageasanerrornumber,attachthelowerbyteofCRCbeforetheupperbyte.
(f)NumberofBytes
Specifiesthenumberofregistersthatreadsandwrites x2.
Since the number of registers of this product is 2 (fixed), set “04H.”
(g)DataSection
Specifiesthedatatobewrittenintotheregister.Datais4bytes(fixed).
Ifthedatacontainsa decimalpoint,setthenumeric value thatignoresthedecimalpoint.
Datathatisenclosedinparenthesesisthevaluethatwillbeusedintheactualmessage to be sent. See “5.1.1.
StructureofRequestMessage(DataTransmissionfrom UpperComputertoThisProduct)” for details.
ContentsofCommunication
HEXData
PV=1200.0(℃)
00002EE0h(2EE00000)
PV=-10.00(℃)
FFFFFC18h(FC18FFFF)

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 16 -
(h)ErrorNumber
Ifthereisanerror inthemessage that was sent by the upper computer, the error number will be included in the “response
message” of this product for the reply.
Formultiple errors,the largesterrornumberwillbeincluded.
Contentsand classificationoferrorarethefollowing:
ErrorNumber
Description of errors in “Request Message” that was received by this product
01
Receivedanunsupportedfunctioncode
02
Receivedanunspecifiedaddress
03
Numerical value data is out of the “setting range that is specified individually by the
setting item”
04
Malfunctionofmeasuringequipment(memoryerror orA/Dconversionerror)

Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 17 -
5.1.4. ThingstoBeNotedduringtheCommunication
5.1.4.1. TimingofTransmission
Uponusingthecommunicationfunction,setenoughresponse delaytimeto ensurethecommunication (sending/receiving)withthe
hostcomputer.
See “2.7.SettingofResponseDelayTime”
5.1.4.2. RequestInterval
If “request message” is to be sent continuously by the upper computer, wait for at least 2msecs from the arrival of the “response
message” from this product before sending the next request message.
5.1.4.3. ConditionsforResponse
This product will not return the “response message” if there is a time intervalofmorethan3.5charactersbetween datathatconsistof
the “request message” since it cannot identify these data as one whole “request message.”
Therefore, although there is an error in the “request message,”“response message” with the errornumber(responsefortheerror)will
notbereturnedunlesstheaboveconditionismet.
Therefore, the upper computer should resend the necessary “request message” if the “response message” is not returned within
areasonabletime.
Atatime intervalofmorethan 3.5characters,thisproductclearsallcharactersthatwerereceivedpriortothesaidinterval.
5.1.4.4. AddressSpecificationError
This product will not respond to any “request message” that specifies the address that is other than the one that has beensettoitself.
Therefore, if there is an error in the address section of the “request message,” none of the slave stations will return the “response
message.”
Therefore, the upper computer should resend the necessary “request message” if the “response message” is not returned within
areasonabletime.
Atatime intervalofmorethan3.5 characters,thisproductclearsallcharactersthatwerereceivedpriortothesaidinterval.
5.1.4.5. Number of DigitsofDataandPositionofDecimalPoint
See “5.1.3.ExplanationaboutCodes(g) Data Section.”
5.1.4.6. OperationaftertheReceivingofSaveRequestMessage
Thisproductstartsthesaving ofdataonceitreceivesthesave requestmessagecorrectlyfromtheuppercomputer.
Onlythedatathatisdifferentfromtheonestoredin EEPROM(changeddata)shallbesaved.Datawillbesaved within6seconds.
Thisproductwillsendtheresponse(ACK)whenthesaverequestmessageisreceived. Somedatamaybelost iftheproductisturnedOFF
whilethesavingprocessisinprogress.Donotturn thepowerofthisproduct OFFforatleast6secondsafterthesendingofsaverequest
message.
5.1.4.7. SavingDataOtherthanSaveRequest Message
Thisproductsavestheparameter intoEEPROM even withoutreceivingthesave requestmessageinthiscase:
・Iftheparameterischangedthroughkeyoperation,it writesonlychanged parameterandotherrelatedparameters.
Table of contents