Reading Data (Multiple Segment Data) (D8201 To D8953) - YOKOGAWA UTAdvanced Series User Manual

Communication interface (rs-485, ethernet)
Table of Contents

Advertisement

6.4 UT55A/UT52A/UP55A D Registers

Reading Data (Multiple Segment Data) (D8201 to D8953)

6-146
 Modbus communication
The example for the communication command is Modbus/RTU. For easy understanding,
space is added but it is not present in the actual command. The device address is "1."
Example: Batch reading SSP_L1 and target setpoints in segments 1 to 5
(TSP_L1_S1 to TSP_L1_S5) for pattern 3
(1) Write pattern number "3" to D8201 (PTNO._C).
(2) Read from 6 registers continuously: D8203 (SSP_L1) and D8204 (TSP_L1_S1) to
D8208 (TSP_L1_S5).
(3) Read from D8253 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the read was successful.
(1) 01 10 2008 0001 02 0003 [CRC]
(2) 01 03 200A 0006 [CRC]
(3) 01 03 203C 0001 [CRC]
Example: Batch reading SSP_L1 and target setpoints in segments 1 to 49
(TSP_L1_S1 to TSP_L1_S49) for pattern 3
(1) Write pattern number "3" to D8201 (PTNO._C).
(2) Read from 51 registers continuously: D8204 (TSP_L1_S1) to D8252 (TSP_L1_S49)
and D8253 (PTN.ERR).
If reading PTN.ERR results in other than zero, an error occurred. If zero, the read
was successful.
(1) 01 10 2008 0001 02 0003 [CRC]
(2) 01 03 200A 0033 [CRC]
 PC link communication
The example for the communication command is a PC link without a checksum. The
device address is "1."
Example: Batch reading SSP_L1 and target setpoints in segments 1 to 5
(TSP_L1_S1 to TSP_L1_S5) for pattern 3
(1) Write pattern number "3" to D8201 (PTNO._C).
(2) Read from 6 registers continuously: D8203 (SSP_L1) and D8204 (TSP_L1_S1) to
D8208 (TSP_L1_S5).
(3) Read from D8253 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the read was successful.
(1) 01010WWRD8201,01,0003
(2) 01010WRDD8203,06
(3) 01010WRDD8253,01
Example: Batch reading SSP_L1 and target setpoints in segments 1 to 49
(TSP_L1_S1 to TSP_L1_S49) for pattern 3
(1) Write pattern number "3" to D8201 (PTNO._C).
(2) Read from 51 registers continuously: D8203 (SSP_L1), D8204 (TSP_L1_S1) to
D8252 (TSP_L1_S49) and D8253 (PTN.ERR).
If reading PTN.ERR results in other than zero, an error occurred. If zero, the read
was successful.
(1) 01010WWRD8201,01,0003
(2) 01010WRDD8203,51
IM 05P07A01-01EN

Advertisement

Table of Contents
loading

Table of Contents