
8-113
IM 05P07A01-01EN
Functions and
Applications of D Registers (for UT35A/UT32A/UT32A-D/UP35A/UP32A)
8
8.4 UT35A/UT32A/UT32A-D/UP35A/UP32A D Registers
Writing Segment Data (D8101 to D8200)
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: Writing final target setpoint (TSP_L1) of segment 5 for pattern 1
(1) Write pattern number “1” to D8101 (PTNO._C), and segment number “5” to D8102
(SEGNO._C).
(2) Write “50” to D8103 (TSP_L1).
(3) Read from D8173 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the write was successful.
(1) 01 10 1FA4 0002 04 0001 0005 [CRC]
(2) 01 10 1FA6 0001 02 0032 [CRC]
(3) 01 03 1FEC 0001 [CRC]
Example: Batch writing segment data of segment 5 for pattern 1
(1) Write to 36 registers continuously: pattern number “1” to D8101 (PTNO._C), segment
number “5” to D8102 (SEGNO._C), and data to D8103 (TSP_L1) to D8136 (T.OF4).
If reading PTN.ERR results in other than zero, an error occurred. If zero, the write
was successful.
(1) 01 46 1FA4 0024 48 0001 0005 **03 **04 ... **35 **36 [CRC]
PC link communication
The example for the communication command is a PC link without a checksum. The
device address is “1.”
Example: Writing final target setpoint (TSP_L1) of segment 5 for pattern 1
(1) Write pattern number “1” to D8101 (PTNO._C), and segment number “5” to D8102
(SEGNO._C).
(2) Read from D8103 (TSP_L1).
(3) Read from D8173 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the write was successful.
(1) 01010WWRD8101,02,00010005
(2) 01010WWRD8103,01,0032
(3) 01010WRDD8173,01
Example: Batch writing segment data of segment 5 for pattern 1
(1) Write to 36 registers continuously: pattern number “1” to D8101 (PTNO._C), segment
number “5” to D8102 (SEGNO._C), and data to D8103 (TSP_L1) to D8136 (T.OF4).
(2) Read from D8173 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the write was successful.
(1) 01010WWRD8101,36,0001 0005 **03 **04 ... **35 **36
(2) 01010WRDD8173,01
Summary of Contents for UTAdvanced Series
Page 17: ...Blank Page...
Page 77: ...Blank Page...
Page 285: ...Blank Page...
Page 325: ...Blank Page...
Page 467: ...Blank Page...
Page 557: ...Blank Page...
Page 825: ...Blank Page...
Page 861: ...Blank Page...
Page 863: ...Blank Page...
Page 865: ...Blank Page...