operation manual (communication edition) (toho protocol

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

Upload: others

Post on 28-Mar-2022

6 views

Category:

Documents


0 download

TRANSCRIPT

Kindly read this operation manual for proper usage.
Table of Contents
About the Operation Manual ··················································································································································· - 1 -
Requirements for Communication··········································································································································· - 1 -
Things Communication Function Can Do ································································································································· - 1 -
Position (Priority) of Communication ······································································································································· - 1 -
Settings to Be Made Prior to the Communication ··················································································································· - 1 -
Section Communication Settings·································································································································································· - 2 -
Outline························································································································································································ - 2 -
Master / slave settings ················································································································································· - 3 -
Setting of Communication Protocol ··························································································································· - 3 -
Setting of Format ························································································································································· - 3 -
Setting of Device Address ············································································································································ - 3 -
Setting of Communication Speed, Data Length, Stop Bit, and Parity ········································································ - 3 -
Setting of BCC ······························································································································································· - 3 -
Setting of Response Delay Time ·································································································································· - 3 -
Time-out Time Setting ················································································································································· - 3 -
Setting the number of retries ······································································································································ - 4 -
Acquisition Cycle Setting ········································································································································· - 4 -
Input settings Input ··································································································································································· - 4 -
Slave device address ···················································································································································· - 4 -
Command selection ····················································································································································· - 4 -
Setting the number of registers ·································································································································· - 4 -
Endian settings ····························································································································································· - 4 -
Register address setting··············································································································································· - 4 -
Section Communication Outline ·································································································································································· - 5 -
Slave Function ······························································································································································ - 5 -
Master function (Only RS-485 communication is supported) ··················································································· - 5 -
Kinds of Message ······································································································································································· - 6 -
Slave Function ······························································································································································ - 6 -
Master function (Only RS-485 communication is supported) ··················································································· - 6 -
Section Explanation about TOHO Protocol Communication ······················································································································ - 7 -
About the Format ······································································································································································ - 7 -
Structure of Request Message (Data Transmission from Upper Computer to This Product) ··············································· - 7 -
Structure of Read Request Message ·························································································································· - 7 -
Structure of Write Request Message ························································································································· - 7 -
Structure of Save Request Message ··························································································································· - 7 -
Structure of Response Message (Data Transmission from This Product to Upper Computer) ············································ - 8 -
Response Message for Read Request Message ········································································································ - 8 -
Response Message for Write/Save Request Message ······························································································ - 8 -
Response Message for the Error ································································································································· - 8 -
Explanation about Codes ·························································································································································· - 9 -
DWG.No. 4B-6829-E
Things to Be Noted during the Communication ··················································································································· - 12 -
Timing of Transmission ············································································································································· - 12 -
Request Interval ························································································································································ - 12 -
Conditions for Response ·········································································································································· - 12 -
Address Specification Error ······································································································································ - 12 -
Number of Digits of Data and Position of Decimal Point ························································································ - 12 -
Operation after Receiving a Save Request Message ······························································································ - 12 -
Saving Data Other than Save Request Message ····································································································· - 12 -
Sample TOHO Communications ············································································································································ - 13 -
Sample Communication for Reading ······················································································································· - 13 -
Sample Communication for Writing ························································································································ - 14 -
Section TOHO protocol communication explanation (Master function) ································································································ - 15 -
Configuration of request message (sending from this unit to an external device) ····························································· - 15 -
Read request message configuration ······················································································································ - 15 -
Configuration of response message (sending from external device to this unit)································································ - 15 -
Response message to read request message ········································································································· - 15 -
Response message when there is an error ············································································································· - 15 -
Explanation about Codes ······················································································································································· - 16 -
Precautions for communication ············································································································································ - 17 -
Transmission / reception timing ······························································································································ - 17 -
Number of digits in data and position of decimal point ························································································· - 17 -
TOHO communication example ············································································································································ - 18 -
Communication example to read ···························································································································· - 18 -
Section Explanation about MODBUS Protocol Communication ············································································································· - 19 -
MODBUS RTU ········································································································································································· - 19 -
Structure of Request Message (Data Transmission from Upper Computer to This Product) ······························ - 19 -
Structure of Response Message (Data Transmission from This Product to Upper Computer) ···························· - 20 -
Explanation about Codes ········································································································································· - 21 -
Things to Be Noted during the Communication ····································································································· - 23 -
MODBUS ASCII ······································································································································································· - 24 -
Structure of Request Message (Data Transmission from Upper Computer to This Product) ······························ - 24 -
Structure of Response Message (Data Transmission from This product to Upper Computer) ···························· - 25 -
Explanation About Codes ········································································································································· - 26 -
Things to Be Noted during the Communication ····································································································· - 28 -
Section Explanation about MODBUS Protocol Communication ············································································································· - 29 -
MODBUS RTU ········································································································································································· - 29 -
Read request message (sending from this unit to an external device) ·································································· - 29 -
Response Message to read Request Message (sending from external device to this unit) ································· - 29 -
Response message when there is an error ············································································································· - 29 -
Code description ······················································································································································· - 30 -
Precautions for communication ······························································································································ - 31 -
MODBUS ASCII ······································································································································································· - 32 -
Read request message (sending from this unit to an external device) ·································································· - 32 -
Response message to read request message (sending from external device to this unit) ··································· - 32 -
Response message when there is an error ······················································································································· - 32 -
Code description ······················································································································································· - 33 -
Precautions for communication ······························································································································ - 34 -
Section List of Identifiers ············································································································································································ - 35 -
Other Commands ···························································································&mid