Chapter 6 FBD Block Diagram Programming
184
MU mode1: Read Registers
Setting communication address is constant:
Mode1
FBD display
Parameter display
Enable Input
→
←
Slaver ID
←
Register address
Parameter
→
←
Saving data address
Setting communication address is data register DR:
Mode1
FBD display
Parameter display
Enable Input
→
←
Slaver ID
←
Register address
Parameter
→
←
Saving data address
Address is constant 0003,
Data length is fixed at 1word,
Send data:
01 03 00 03 00 01 CRC16;
Received response form slave1:
01 03 02 data1 data2 CRC16;
Saving date to DRE0: DRE0 = data1~2
Setting address DR03=0001,
Setting data length DR04=0002,
Send data:
01 03 00 01 00 02 CRC16;
Received response from slave1:
01 03 04 data1 data2 data3 data4 CRC16;
Saving data to DRE0~DRE1:
DRE0 = data1~2, DRE1 = data3~4
※
the max length of data is 25.
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor