
6-132
IM 05P07A01-01EN
6.4 UT55A/UT52A/UP55A D Registers
Writing Pattern Data (D8001 to D8100)
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.”
Writing start segment data
Example: Writing “2” to start code (STC) for pattern 2
(1) Write pattern number “2” to D8001 (PTNO._C), and segment number “0” to D8002
(SEGNO._C).
(2) Write “2” to D8005 (STC).
(3) Read from D8042 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the write was successful.
(1) 01 10 1F40 0002 04 0002 0000 [CRC]
(2) 01 10 1F44 0001 02 0002 [CRC]
(3) 01 03 1F69 0001 [CRC]
Example: Batch writing start segment data for pattern 2
(1) Write to 41 registers continuously: pattern number “2” to D8001 (PTNO._C), segment
number “0” to D8002 (SEGNO._C), and data to D8003 (SSP_L1) to D8041 (P.NAME).
If “PTN.ERR” in the response is other than zero, an error occurred. If zero, the write
was successful.
(1) 01 46 1F40 0029 52 0002 0000 **03 **04 ... **40 **41 [CRC]
PC link communication
The example for the communication command is a PC link without a checksum. The
device address is “1.”
Writing start segment data
Example: Writing “2” to start code (STC) for pattern 2
(1) Write pattern number “2” to D8001 (PTNO._C), and segment number “0” to D8002
(SEGNO._C).
(2) Write “2” to D8005 (STC).
(3) Read from D8042 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the write was successful.
(1) 01010WWRD8001,02,00020000
(2) 01010WWRD8005,01,0002
(3) 01010WRDD8042,01
Example: Batch writing start segment data for pattern 2
(1) Write to 41 registers continuously: pattern number “2” to D8001 (PTNO._C), segment
number “0” to D8002 (SEGNO._C), and data to D8003 (SSP_L1) to D8041 (P.NAME).
(2) Read from D8042 (PTN.ERR).
If the result is other than zero, an error occurred. If zero, the write was successful.
(1) 01010WWRD8001,41,0002 0000 **03 **04 ... **40 **41
(2) 01010WRDD8042,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...