Chino LE5000 Series User manual

INST.No.INE-367B
Please make sure that this manual is handed to the final user of the instrument.
LE5000 SERIES
HYBRID RECORDER
COMMUNICATION
INTERFACE
Retain this manual apart from the
instrument and in an easily accessible.

Contents
Introduction...........................................................................................................1
1 Overview ..........................................................................................................2
1.1 RS-422A/485 communication interface....................................................................................... 2
1.2 Communication protocol ................................................................................................................. 2
2 Communication specifications .....................................................................2
3 Confirmation of communication specifications, and setting method ....3
4 Connection .......................................................................................................4
4.1 Precautions while doing the connections ................................................................................... 4
4.2 Cable for communication................................................................................................................ 5
4.3 RS-422A/485 connection................................................................................................................ 7
5 MODBUS protocol ...........................................................................................8
5.1 Message transmission mode......................................................................................................... 9
5.2 Data time interval ........................................................................................................................... 10
5.3 Message configuration.................................................................................................................. 10
5.4 Method of creating a message.................................................................................................... 16
5.5 Function code.................................................................................................................................. 17
5.6 Process during abnormality ......................................................................................................... 21
5.7 Print message function ................................................................................................................. 23
5.8 Reference table .............................................................................................................................. 24
6 Before connecting to the network ............................................................. 81
6.1 Allocation of IP address ................................................................................................................ 82
6.2 Communication error of Ethernet ............................................................................................... 83

-1-
Introduction
This instruction manual explains the handling and specifications about 4 communication interfaces
(RS-422A, RS-485, USB, Ethernet) in the common communication interface edition of Hybrid
recorder LE5000 series. Each individual part is divided into “RS-422A/485”, “USB”, “Ethernet” and
common part is collectively explained. Hence read the part that is required.
Confirm the communication interface of the purchased LE5000 series by model code.
LE5000 series
LE5-
Communication interface
N: None
1: Either of RS-422A/RS-485+USB+Ethernet
+Contact point 1 output (Contact point 1 output mechanical relay
‘a’ contact point output)
1. Other instruction manuals to be referred to
As this manual gives a limited explanation about the communication interface, refer to the instruction
manual of this instrument itself for the operation methods etc.
1) LE5200 operation type intelligent recorder (Instruction manual No. LE5-11-□)
2) Line converter SC8-10 (Instruction manual No. SC8-10-□)
For the PC to be used refer to the instruction manual of that PC.
2. Precaution table Precautions
In between the sentences in this instruction manual there are explanations. It is the description of
things that are to be observed during operation and at the time of handling the communication
interface. If these things are not followed the device may be damaged and the performance will drop
remarkably or operation may not run properly.
(1) The contents of this document may be changed without notice in the
future.
(2) All the possible care has been taken while creating this manual.
However if you come across any mistake, or have any doubts or if you
notice any description leakage etc. contact the shop from where you
purchased the product or contact our company's nearest branch office.
(3) Please note that irrespective of (2) we will not be responsible for the
effect of operation result.
Precautions

-2-
1Overview
In communication interface of LE5000 there are 4 types viz. RS-422A, RS-485, USB, Ethernet
available and are used for communicating with the personal computer (Hereafter referred to as PC).
PC can receive measurement data from LE5000, various parameters can be set and operation
commands can be executed.
Connection count of LE5000 is 1 USB and maximum 31 RS-422A/485.
1.1 RS-422A/485 communication interface
RS-422A/485 communication interface can communicate by connecting in series multiple (maximum
31) LE5000 series machines through the signal that conforms to RS-422A/485.
Although the number of PCs having RS-422A/485is less, it can be easily connected by using
RS-232C RS-422A/485 signal converter, as it is a serial communication.
As this company also has line converters for RS-232C RS-422A/485 signal conversion, you can
place an order for them.
The difference between RS-422A and RS-485 is that, the former uses 4 signal lines whereas the later
uses 2 signal lines only.
1.2 Communication protocol
LE5000 series uses MODBUS protocol (MODBUS is a registered trademark of SCHNEIDER Company)
as communication protocol
MODBUS protocol has 2 modes viz. RTU mode and ASCII mode and they can be toggled using key
settings. MODBUS protocol has operation function and, settings and send function of measurement
data.
2Communication specifications
・Asynchronous method
・Half duplex communication method (Polling selecting method)
・Protocol: MODBUS protocol/usual protocol (Compatible with LE1000)
・Transmission speed:19200, 9600, 4800, 2400, 1200 bps switching possible (differs depending on
the protocol)
・Start bit:1 bit
・Data length: 7 bits/8 bits switching is possible
・Parity bit: Even (even parity)/Odd (odd parity)/Non (No parity) switching is possible
・Stop bit: 1 bit/2 bits switching over is possible
・Transmission code: Binary/ASCII (Differs depending on the protocol)
・Error check: Differs depending on the protocol
・External instrument priority communication method
・Data transmission procedure: No procedure
・Usage signal name: Send and receive data only (Without using control signal)

-3-
3Confirmation of communication
specifications, and setting method
Go to the settings display mode by clicking the Menu key. A window opens and a list of setting items is
displayed, select COM. and click the Enter key. The following settings screen is displayed. Confirm the
specifications and do the settings as per the requirement.
・Instrument address: Setting range from 1-99 can be entered directly using the number keys.
・Transmission speed: Select either of 9600,19200bps.
・Character: Select from the code given in the table below.
Code Length of data Parity Stop bit
7E1
7 bits
Even 1
7E2 2
701 Odd 1
702 2
8N1
8 bits
None 1
8N2 2
8E1 Even 1
8E2 2
801 Odd 1
802 2
RTU mode is 8 bits only
・RTU/ASCII: Select either of RTU, ASCII, PRIVATE.
Confirm all the settings or finish all the setting changes then take the cursor to Set button and
end after clicking the Enter key.
Note) PRIVATE protocol is compatible with the communication protocol of old model LE1000. Select at
the time of using the high order application that was used in the old model, as it is.
MODBUS protocol does not exist. In the corresponding application CISAS or Torwin of our
company exist.
In case of using any other application, refer to the communication interface instruction manual of
old LE1000 model. However the corresponding message has limitations hence please take care.

-4-
4Connection
4.1 Precautions while doing the connections
4.1.1 Communication terminal
Terminal layout differs depending on the communication interface that is specified.
4.1.2 Total extension of RS-422A/485 communication cable is less than 1.2km
Wiring interval between each instrument can be anything but the total extension distance of the cable
is within 1.2 kms.
(Line converter LE5000 of the farthest terminal)
4.1.3 Take prevention measures to prevent noise mixing.
In order to avoid the effect of noise keep a distance of minimum 50cm or more between the power
line and other communication lines.
4.1.4 Always do crimp style terminal processing.
Due to one of the causes of communication defect
the connection is lost. Always process the
communication cable of the terminal using crimp
style terminal with insulated sleeve of Otype or Y
type. (Terminal screws of LE5000 line converter are
M3.5mm)
4.1.5 Apply terminating resistance.
In case of using RS-422A/485 communication, apply a resistance of 100to LE5000 to be placed in
the last terminal. (For details refer to 4.3)
(General metal coating resistance will do. It is available in this company, place an order with us.)
4.1.6 Number of connection machines of LE5000
For RS-422A/485 :Maximum 31
Total length of cable less than 1.2 km
Line converter LE5000
Otype crimp style terminal
3.7 or more
Less than 8
3.7 or mor
e
Less than 8
Ytype crimp style terminal
Insulated sleeve
Insulated sleeve
(㎜)
RS-422 communication terminal
RDA
SDA
SDB
RS-422A
RDB
SG
Short circuit SDA and RDA
Short circuit SDA and RDB
RS-485 communication terminal
SB
SA
RS-485
SG

-5-
4.2 Cable for communication
Before connecting be prepared with cable exclusively for communication. It is available in our company
also; hence you may place an order with us.
4.2.1 Communication cable for RS-422A
①Connection between line converter and LE5000
Cable Otype crimp style terminal Otype crimp style terminal RS-422A cable
(For line converter)
Form
It is a 2 core CVVS wire that is twisted and it is further twisted to 4 core cable and
SG (Signal Grand) wire is available on both sides. As there is no SG converter on
line converter side, use it after disconnecting.
Internal
connection
Format code
RZ-CRA2□□
Cable length 1-99m (specified)
②Connection between LE5000s
Cable Otype crimp style terminal Otype crimp style terminal RS-422A cable
(For series)
Form
It is a 2 core VCTF wire that is twisted and it is further twisted to 4 core cable and
SG (Signal Grand) wire is available on both sides.
Internal
connection
Format code
RZ-CRA1□□
Cablelength01-99m(specified)
Line converter side LE5000 side
RDA
RDB
SDA
SDB
SDB
SG SG
RDA
RDB
SDA
RD
B
RD
A
SD
A
SDB
SG
SDB
SDA
RDA
RDB
SG
(Black) SDA
LE5000 side LE5000 side
(Green) RDB
(White) SDB
RDA (Red) (Red) RDA
RDB (Green)
SDB (White)
SG (Blue) (Blue) SG
SDA (Black)
RD
B
RD
A
SD
A
SDB
SG
RDB
RDA
SDA
SDB
SG

-6-
4.2.2 Communication cable for RS-485
①Connection between line converter and LE5000
Cable Otype crimp style terminal Otype crimp style terminalRS-485 cable
(For line converter)
Form
It is a CVVS wire that is twisted to 2 core cable and SG (Signal Grand) wire is
available in both the terminals. As there is no SG converter on line converter
side, use it after disconnecting.
Internal
connection
Format code
RZ-LEC□□□ (For line converter)
Cable length 1-200m (specified)
②Connection between LE5000s
Cable Otype crimp style terminal Otype crimp style terminalRS-485 cable
(For series)
Form
It is a CVVS wire that is twisted to 2 core cable and SG (Signal Grand) wire is
available in both the terminals.
Internal
connection
Format code
RZ-LEC□□□ (For series)
Cable length 1-200m (specified)
SA
SG
SG
SA
SB SB
RD
A
RD
B
SG
SA
SB
SG
SA
SB
SG
LE5000 side
S
G
Line converter side
R
D
A
RD
B
LE5000 side
SA
SB
SG
LE5000 side
SA
SB
SG

-7-
4.3 RS-422A/485 connection
Connect RS-422A/485 communication interface to PC using line converter (Our company’s model:
SC8-10). As the line converter and PC use only 3 signals viz. send, receive and signal grand and no
other control signal is used, wiring process in the connector needs to be similar to that of RS-232C
connection. (For details refer to line converter instruction manual.)
1 23 4 5
6 78 9
SDA SDB RDA RDB SG
SDA SDB RDA RDB SG
SDA SDB RDA RDB SG
LE5000
LE5000
LE5000
Line converter
9 pin connecter for PC
(Wiring process is necessary.)
Terminal resistance 100Ω
RS-422A connection
Communication cable
RZ-CRA1□□
Communication cable
RZ-CRS6□□ Communication cable
RZ-CRA2□□
RD
SD
SG
RDA
RDB
SDA
SDB
1
2
3
4
5
6
7
8
Send
data
SDA
SDB
Receive
data
RDA
RDB
Internal circuit
Do not connect the SG
wire to the earthing
terminal or FG terminal
of the instrument.
Caution
Send
data
SA
SB
Receive
data
Internal circuit
Communication cable
RZ-CRS6□□
9 pin connecter for PC
(Wiring process is necessary.)
LE5000
LE5000
LE5000
Line converter
Terminal resistance 100Ω
Communication cable
RZ-LEC□□□
RS-485 connection
Do not connect the SG
wire to the earthing
terminal or FG terminal
of the instrument.
Caution
1 2 3 4 5
6 7 89
SDASDBRDB
SDASDBRDB
SDASDBRDB
Communication cable
RZ-LEC□□□
RD
SD
SG
RDA
RDB
SDA
SDB
1
2
3
4
5
6
7
8
RDA
RDA
RDA

-8-
5MODBUS protocol
Precautions and basic procedure of communication
Caution
1. Error occurs if data is requested immediately after starting the power supply.
LE5000 can be communicated with, any time. Response is output anytime for the data request
from PC.
However at the time of starting the power supply, response is not output normally, until the data of
the channel is gathered. For example, time necessary to gather data of LE5000 36 point analyzer,
is around 20 seconds. If data is requested in that time Error No. 12 (Setting mode error) is
returned.
2. As the control signal wire is not used, consider resending the command.
Serial interface of LE5000 communicates without using control wire. Hence consider resending the
command as reception defect may occur depending on LE5000 status.
3. Do not remove any device or communication cable and do not ON-OFF the
power supply during communication.
If device or cable that makes up the serial interface is removed in between or if power is switched
ON or OFF, operation may stop and error may occur. If this happens reset all the devices that
make up the serial interface and do the process all over again.
4. Send the next command after confirming that the communication drive is
switched OFF.
In RS-422A/485, if multiple instruments are connected in same communication line, then only 1
machine in which instrument numbers are specified from the PC, drives the communication line. At
that time in order to receive all the characters in the PC for sure, let some time lapse after the last
character is sent and then switch OFF the drive of communication line. If PC sends a command for
the next device before it becomes OFF, then the signal crashes and normal communication is not
done hence take care in case of high speed PCs. This interval is around 5ms.

-9-
5.1 Message transmission mode
There are 2 types of modes viz. RTU (Remote Terminal Unit) mode and ASCII mode and they can be
selected by key settings.
(Table 1. Comparison of RTU mode and ASCII mode)
Items RTU mode ASCII mode
Interface RS-422A, RS-485
Communication method 0 {Half duplex asynchronous method
Communication speed 9600,19200bps
Transmission code Binary ASCII
Error detection
(Error check)
Vertical direction Parity
Average direction CRC-16 LRC
Character
configuration
Start bit 1 bit
Data bit 8 bits 7 bits, 8 bits
Parity bit None, odd, even None (Note), odd, even
Stop bit 1, 2 bits
Message start code None :(Colon)
Message end code None CR, LF
Data time interval Less than 28 bit hours Less than 1 second
(Note) When data bit is 7 bits, “Parity bit None” is not applicable.
5.1.1 Transmission data
RTU mode is binary transmission. ASCII mode divides 8 bit binary of RTU into high order low order 4
bits and does the respective character conversion (0-9, A-F).
Example) RTU mode ASCII mode
67H 36H (“6”)
89H 37H (“7”)
ABH 38H (“*”)
39H (“9”)
41H (“A”)
42H (“B”)
The message length of the RTU mode is half as compared to the ASCII mode hence the transmission
efficiency is better.
5.1.2 Message frame configuration
RTU mode is made up of message part only.
ASCII mode is made up of beginning character “: (colon, 3AH)”, message and end character “CR
(carriage return, ODH) + LF (Line feed, OAH)”.
RTU mode ASCII
Message
:Message CR LF
For the message of ASCII mode, as the beginning character is “ : ”, trouble shooting is easy. This is
an added advantage.

-10-
5.2 Data time interval
RTU mode time: Less than 28 bit hours (9600bps time: 2.8msec, 19200nps time: 1.4msec)
ASCII mode time: Less than 1 second
At the time of sending the message, see to it that the time interval of the data that consists of one
message does not exceed the time interval mentioned above. If the time interval mentioned above is
exceeded, the receiving side (this instrument), in order to judge that the sending is finished from the
send side, processes an abnormal message as received data.
In RTU mode message characters should be continuously send however in ASCII mode, as the interval
between the characters is maximum 1 second, even though the process speed of the master (PC) is
comparatively slow, it can be used.
5.3 Message configuration
MODBUS message along with RTU and ASCII mode has the following configuration.
Slave address
Function code
Data
Error check
5.3.1 Slave address
Slave address is set in advance in a range of 1-31 using the key settings. Master usually
communicates with 1 slave. All the devices that are connected receive the message from the master in
common however, only the slave that matches with the slave address in the command message
responds to that message.
Slave address “0” is used in the messages (Broadcast) for all the slaves from the master. In this case
slave does not return response.
5.3.2 Function code
Function code is the code to be executed in the slave and each data is roughly categorized as follows.
For details refer to the reference table.
①Digital settings value: Recording ON/OFF, data print execution etc. and mainly function
change parameters
②Digital input data: Parameters of external contact point input status, input data status,
alarm activation status etc.
③Analog settings value: Various setting information. Numeric value range is a numeric value
within a range of 16 bits.
-32763 to 32767 (For details refer to reference table).
④Analog input data: Measurement data, instrument specification information etc. Numeric
value range outputs a numeric value within a range of 16 bits.

-11-
(Table 2. Function code table)
Code Function Unit MODBUS original function
(Reference)
01 Reading digital (ON/OFF) settings
value 1 bit Reading the status of coil
02 Reading the digital input data 1 bit Reading the input relay status
03
60
62
Reading the analog setting value 16 bits Reading the contents of
maintenance register
04 Reading the analog input data 16 bits Reading the contents of input
register
05 Writing digital setting value 1 bit Changing the status of single coil
06 Writing analog setting value 16 bits Writing to single maintenance
register
08 Sending the reception data (For
examination) Loop back test
16
61
63
Writing multiple analog setting value Writing to multiple maintenance
register
5.3.3 Data part
Data structure differs depending on the function code. In case of requests from the master, it is made
up of, code number (Relative number calculated from reference number mentioned hereafter) of the
target data to be read and data count etc. Response from the slave consists of data etc. that is
requested.
Basic data of MODBUS is on a whole an integer of 16 bits and existence of a mark is decided for each
data. Hence put the decimal point at a different place and make it an integer value or keep the position
of the decimal fixed, and display formally using the upper and lower limit of the scale. In LE5000 there
is a method of assigning a decimal point at a different position.
5.3.4 Reference number
There is a number called “Reference number” assigned to the data in LE5000, and this number is
necessary for reading and writing the data. Data in LE5000 is categorized as “Digital setting value”,
“Digital input data”, “Analog input data” and “Analog setting value” depending on its type. Number
specification in the message is done by “Relative number” that corresponds to the respective reference
number.
(Table 3. Reference number and relative number)
Data type Reference number Relative number MODBUS original
(Reference)
Digital setting value 1 to 1000 Reference number-1 Coil
Digital input data 10001 to 20000 Reference number-10001 Input relay
Analog input data 30001 to 40000 Reference number-30001 Input register
Analog setting value 40001 to 50000 Reference number-40001 Maintenance register
Example) “100”becomes the relative number of channel 1 data of “Reference number 30101”.
In the data part, specific numeric value such as input data is assigned as the error data.
When using this data, first does error decision for the data, then combine the decimal point data.
If you combine the decimal point data first, the error data is mistaken as the normal data.
Caution

-12-
(Table 4. Reference number)
Data type Parameter Reference
number
Corresponding
function code
Reference
table
Digital setting value
Key lock
Recording ON/OFF
Feed
Print list
Print message
Data print
1 to 50 01 (READ)
05 (WRITE) 5.8.1 Clause
Digital input data
External drive status (Contact
point input)
Measurement data status
Alarm status
10001 to 11500 02 (READ) 5.8.2 Clause
Analog input data Function information
Measurement data
30001 to 30050
30101 to 30300 04 (READ) 5.8.3 Clause
Analog setting value
Channel common setting 1
Clock setting
External drive functional
settings
Arbitrary intermittent period
setting
Channel speed setting
Data interval recording
setting
Logging recording setting
Data print setting
Select recording format
Parallel pointer scale setting
Alarm dead band setting
Setting for each channel
Range number setting
RJ internal/external setting
Range setting
Scale setting
Burn out setting
Sensor correction
Digital filter
Unit settings
Tag settings
Alarm settings
Calculation settings
Recording scale settings
Calculation constant setting
Difference calculation setting
Partial reduction
magnification recording
Parallel pointer scale
settings
Auto range settings
Each channel settings
Memory card settings
Print communication
Setting for each intermittent
number
Data communications input
Setting common to channels
40001 to 40200
40001 to 40008
40009 to 40017
40018
40019 to 40027
40033 to 40037
40038 to 40042
40043
40049
40050 to 40075
40081
40102 to 47300
40102
40103
40104 to 40106
40107 to 40109
40110
40111
40112
40119 to 40122
40125 to 40128
40133 to 40163
40165
40166 to 40168
40169 to 40176
40177 to 40180
40181 to 40187
40188
40189 to 40194
40202 to 47300
47906 to 47920
48003 to 48050
48101 to 48850
49001 to 49100
49101 to 49150
03 (READ)
06 (WRITE)
16 (WRITE)
5.8.4 Clause

-13-
(Table 4. Reference number for LE5200/LE5300)
Data type Parameter Reference
number
Corresponding
function code
Reference
table
Analog input setting
value
Calculation character string
(LE5200 only)
LE5300 responds with option
23720 to 27250 62 (READ)
63 (WRITE)
5.8.5 ClauseChannel parameter of CH101
to CH599 (LE5300 only) 40101 to 47300 60 (READ)
61 (WRITE)
Analog input data CH73 to CH599
Reading measurement data 30245 to 31300 04 (READ)

-14-
5.3.5 Error check
Error check of transmission frame differs depending on the mode.
RTU mode: CRC-16
ASCII mode: LRC
5.3.5.1 Calculation of CRC-16
CRC method divides using generating polynomials, the information to be sent and sends the rest of the
information by attaching it. Generating polynomials are as follows.
1+X
2 + X15 + X16
Calculate to the target from slave data up to the end of the data by the following procedure.
1) Initialization (=FFFFH) of data of CRC-16 (consider as X)
2) Exclusive logical OR of data 1 and X (EX-OR) →X
3) Shift X 1 bit to the right →X
4) If there is a carry, get A001H and EX-OR else go to 5). →X
5) Repeat 3) and 4) until it shifts 8 times.
6) Following data and EX-OR of X.→X
7) Same as 3) - 5).
8) Repeat till the last data.
9) Create message in the order, low order and high order of calculated 16 bit data (X).
Example) When data is 02H 07H , CRC becomes 1241H
hence error check data becomes 41H 12H .
Reference: CRC-16 calculation program
10 D(1) = &H2 : D(2) = &H7 : N = 2
20 GOSUB *CRCMAKE
30 END
40
100 *CRCMAKE
110 CRC = &HFFFF
120 FOR I = 1 TO N
130 CRC = CRC XOR D(I)
140 FOR J = 1 TO 8
150 CY = CRC AND &H1
160 IF CRC < 0 THEN P = &H4000 ELSE
P=0:GOTO180
170 CRC = CRC AND &H7FFF
180 CRC = CRC ¥ 2
190 CRC = CRC OR P
200 IF CY = 1 THEN CRC = CRC XOR
&HA001
210 NEXT J
220 NEXT I
230 IF CRC < 0 THEN P = &H80 ELSE
P=0:GOTO250
240 CRC = CRC AND &H7FFF
250 C1 = CRC AND &HFF
260 C2 = ( CRC AND &H7F00 ) ¥ 256
270 C2 = C2 OR P
280 D (N+1) = C1 : D(N+2) = C2
290 RETURN

-15-
5.3.5.2 LRC calculation method
Calculate to the target from slave data up to the end of the data by the following procedure.
1) Create message in RTU mode.
2) Add from the beginning (slave address) of the data to the end. →X
3) Get the complement (Bit inversion) of X. →X
4) Subtract 1. (X=X+1)
5) Attach X as LRC at the end of the message.
6) Convert everything into ASCII character.
Example) When data is 02H 07H ; LRC becomes F7H hence binary message becomes
02H 07H F7H and ASCII message becomes
30H 32H 30H 37H 46H 37H .
5.3.6 Precautions at the time of data processing
① As the measurement data and decimal point position are assigned to different numbers, it is
necessary to use the information of both at the time of replaying the data.
② As each 1 data can be accessed (changed), precautions are necessary at the time of setting the
associated data. For example, Initialization process etc. of the associated data due to change in
range number. Process contents are mentioned in reference number table.
③ At the time of executing settings by key (in case of setting status by Enter key), settings by
communication cannot be received. To avoid this first do the key lock and then do the settings by
communication.
④ Read and write the data in the range stipulated by the reference number. In case of reading and
writing for reference number that is other than stipulated reference number, instrument operation
may be affected
⑤ Reading and writing to multiple reference numbers that are not in series is also possible but if
reference number that is not stipulated is the starting number then an error (error 02H) occurs.
⑥ At the time of reading multiple reference numbers, the data of the reference number that is not
stipulated becomes “0”.
⑦ In case of writing to multiple reference numbers, if error is detected, all the settings become
disabled.

-16-
5.4 Method of creating a message
Message consists of ①Step address, ②Function code, ③Data part, and ④Error check code. (Refer to
5.3)
Message that can be read or write once is within the following range.
Data count
RTU mode 120 units
ASCII mode 60 unit
Method of creating a message is explained in the following example.
Example) Reading the measurement data of LE5000 “Channel 1” of “Slave address 02”
5.4.1 RTU mode message
① Slave address: 02 ( 02H )
② Function code: 04 ( 04H )
It is “Reads the analog input data (Reading the contents of input register)”. When function code is
“04”; specify the “relative number of data 2 bytes” to be read in data part and “data count 2 byte” to be
read. (Refer to 5.3. Refer to 5.3.2 for “Function code: 04”)
It is necessary to confirm the number of bytes of data.
③Data part: Relative number 100 ( 00H 64H ) at the beginning,
count 2 ( 00H 02H )
Measurement data (analog input data) is stored in reference number “30001 to 40000” (Refer to 5.3.4
Table 3). As per the reference table it is understood that integer part of CH1 is stored in “30101”and
decimal point position is stored in "30102". (For reading the measurement data, refer to 5.5.4.)
Relative number of beginning “reference number 30101” is 30101-30001=100, if it is expressed in 2
bytes it becomes
“ 00H 64H ” (Refer to 5.3.4).
Count of data to be read is the integer part CH. 1 and decimal point position “2” and if it is to be
expressed in 2 bytes it becomes “ 00H 02H ”.
④ Error check: Calculated by CRC-16 2730H ( 30H 27H )
Error check in RTU mode is done by CRC-16. (Refer to 5.3.5.1)
Data of basic part of message is 02H 04H 00H 64H 00H 02H as per ①-③, and
CRC-16 is 2730H.
Thus the error check data is 30H 27H
⑤ Message: Message is created with the configuration
02H 04H 00H 64H 00H 02H 30H 27H . (Refer to 5.3)

-17-
5.4.2 ASCII mode message
Error check LRC is calculated from basic part of the message. LRC is 94H. (Refer to 5.3.5.2). Convert
every data of basic part to ASCII code, also convert LRC to ASCII code and attach it to the basic part.
Add the starting character " : " of the message and, “CR”, “LF” at the end.
3AH 30H 32H 30H 34H 30H 30H 36H 34H
30H 30H 30H 32H 39H 34H 0DH 0AH
5.5 Function code
Response for each function is given below. (Refer to <Table 2 Function code table> in 5.3.2)
Note) Refer to 5.6 for responses at the time of abnormality.
5.5.1 Reading digital settings value (Reading coil status)
[Function code:01 (01H)]
Only the specified count reads “digital (ON/OFF) settings value of series of numbers”, from specified
number. ON/OFF data consists of reply message data wherein 8 units are arranged in numerical order
in 1 data (1 byte). LSB (DO side) of each data is the digital data of young number. When the read count
is not in multiples of 8, the unnecessary bits become 0.
Example) Reading 10 units from digital setting value reference number 17 to 26 of slave 2.
Reference
number 17 18 19 20 21 22 23 24 25 26
Data ON OFF ON OFF OFF - - - - -
Recording
ON
Feed
OFF
List
Execute
Title
OFF
Data print
OFF
(RTU mode)
Master Instrument Instrument Master (Normal)
Slave address 02H Slave address 02H
Function code 01H Function code 01H
Starting number (H) 00H Data count 02H
Starting number (L) 10H Initial 8 data 05H
Count (H) 00H Next 8 data 02H
Count (L) 0AH CRC (L) 7FH
CRC (L) BDH CRC (H) 6DH
CRC (H) FBH
LRC E3H
LRC F4H
Note) Starting number (Relative number) is “Reference number -1”. (Decimal 16 (=17-1) →
Hexadecimal 10H)
Note) Data count is number of bytes of data.
(It differs from request count. In the example request count is 10 units and data count is 2)
02H 04H 00H 64H
[:]
00H 02H 94H
LRC
C
R
LF
〈ASCII mode error check〉
Error check CRC (L), CRC (H) parts are as follows.
000 0
0 1 00 (02H)
Next 8 data
Reference number 26 25
000 1
0 0 1
0 (05H)
First 8 data
Reference number
24 17

-18-
5.5.2 Reading the digital input data (Reading the status of input relay)
[Function code: 02(02H)]
Only the specified count reads “digital (ON/OFF) input data of series of numbers”, from specified
number. ON/OFF data consists of reply message data where in 8 units are arranged in numerical order
in 1 data (1 byte). LSB (DO side) of each data is the digital data of the young number. When the read
count is not in multiples of 8, the unnecessary bits become 0.Response example is similar to “Function
code 01”. However starting number (Relative number) is “Reference number - 10001”.
5.5.3 Reading analog settings value (Reading the contents of maintenance
register)
[Function code: 03 (03H)/60 (3CH)/62 (3EH)]
Only the specified count reads “analog settings value (2 bytes:16 bits) data” of series of numbers, from
specified numbers. Data consists of response message data, arranged in numeric order and split into
high order 8 bits and low order 8 bits.
Example) Reading the clock information “Year month date” of slave 2.
(Reading of 3 analog settings value reference number from 40001 to 40003 of slave 2.)
Reference
number 40001 40002 40003
Data 98
(3938H)
12
(3132H)
25
(3235H)
(RTU mode)
Master →Instrument Instrument →Master (Normal)
Slave address 02H Slave address 02H
Function code 03H Function code 03H
Starting number (H) 00H Data count 06H
Starting number (L) 00H Data of Year(H) 39H
Count (H) 00H
Data of Year (L) 38H
Count (L) 03H Data of Month (H) 31H
CRC (L) 05H Data of Month (L) 32H
CRC (H) F8H Data of Date(H) 32H
Data of Date (L) 35H
CRC (L) EBH
CRC (H) 6DH
LRC F8H
LRC BAH
Note) Starting number (Relative number) is “Reference number - 40001”. (Decimal 0 (=40001-40001)
→Hexadecimal 00H)
Note) When function code is 62, “Reference number - 20001”
Note) Data count is number of bytes of data.
(It differs from request count. In the example Request count is 3 and data count is 6)
Note) There is a limitation on the data count of the message (that this instrument can send) that can
be received at a time.
(Refer to 5.4)
5.5.4 Reading the analog input data (Reading the contents of input register)
[Function code: 04 (04H)]
Only the specified count reads “analog settings value (2 bytes: 16 bits) data” of series of numbers, from
specified numbers. Data consists of response message data arranged in numeric order and split into
high order 8 bits and low order 8 bits. Response example is similar to “Function code 03”. However
starting number (Relative number) is "Reference number - 30001".
〈ASCII mode error check〉
Example)
Data of December 25, 1998
Table of contents
Other Chino Recording Equipment manuals
Popular Recording Equipment manuals by other brands

Bosch
Bosch FLM-420-RHV-S Product description/Installation manual

Rockwell Automation
Rockwell Automation AllenBradley 432ES-IG3 user manual

TerraTec
TerraTec PHASE 88 Rack manual

Rossum Electro-Music
Rossum Electro-Music LINNAEUS manual

Lectrosonics
Lectrosonics DM1612 Reference manual

Omnitronic
Omnitronic DDI 4x4 user manual