EasyManua.ls Logo

TECO SG2-12HT-D - Page 120

TECO SG2-12HT-D
270 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5 Relay Ladder Logic Programming 112
-
MU mode3: Write Multiple Registers
Set parameter , address, to be constant:
Function parameter display:
Set a constant address, 0003.
Data length is fixed at 1word, means writing single register.
Set data DRE0=1234 (hex: 04D2) as the content which would be
written into other register.
When enable the MU function, the sending out Modbus command
will be
01 10 00 03 00 01 02 04 D2 CRC16;
Received response from slaver:
01 10 00 03 00 01 CRC16;
Set parameter , address, refer to data register DR:
Function parameter display:
Set DR03=0001 for address
Set DR04=0002 for data length
(means how many data will be written)
Set data DRE0=1234 (hex: 04D2),
Set data DRE1=5678 (hex: 162E),
When enable the MU function, the sending out Modbus command will
be:
01 10 00 01 00 02 04 04 D2 16 2E CRC16;
Received response from slaver:
01 10 00 01 00 02 CRC16
the max length of data is 25.
The above example shows how to write two data into two different (but continuous) registers/addresses. For
more information, see the SG2 Modbus protocol manual.
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor

Table of Contents

Related product manuals