Chapter 6 FBD Block Diagram Programming
186
MU mode3: Write Multiple Registers
Setting communication address is constant:
Mode3
FBD display
Parameter display
Enable Input
→
←
Slaver ID
←
Register address
Parameter
→
←
Source data address
Setting communication address is data register DR:
Mode3
FBD display
Parameter display
Enable Input
→
←
Slaver ID
←
Register address
Parameter
→
←
Source data address
Address is constant 0003,
Data length is fixed at 1word,
Setting data DRE0=1234 (hex: 04D2),
Send data:
01 10 00 03 00 01 02 04 D2 CRC16;
Received response from slave1:
01 10 00 03 00 01 CRC16;
Setting address DR03=0001,
Setting data length DR04=0002,
Setting data DRE0=1234 (hex: 04D2),
Setting data DRE1=5678 (hex: 162E),
Send data:
01 10 00 01 00 02 04 04 D2 16 2E CRC16;
Received response from slave1:
01 10 00 01 00 02 CRC16;
※
the max length of data is 25.
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor