Command: 01 05 30 A4 FF 00 C2 D9
Reply: 01 05 30 A4 FF 00 C2 D9
Mandatory M100 OFF
Command: 01 05 30 A4 00 00 83 29
Reply: 01 05 30 A4 00 00 83 29
Analysis: Write the value 0XFF00, that is, the status of the bit soft device operated by the command is ON, that is,
the value is 1. Write a value of 0X0000, and the command operated is that the state of the software device is OFF,
that is, the value is 0.
Example 3: Read the value of D20
Enquiry: 01 03 20 88 00 01 0F E0
Reply: 01 03 02 17 70 B6 50
Example 4: Read the value of D0~D10
Enquiry: 01 03 20 74 00 0B 4F D7
Reply: 01 03 16 00 19 01 E8 00 10 17 70 13 88 07 DA 00 00 10 00 12 00 21 03 FF FF 06 6A
Example 5: Write 3000 to D20
Command: 01 06 20 88 0B B8 05 62
Reply: 01 06 20 88 0B B8 05 62
Example 6: Write values to D2~D6
Command: 01 10 20 76 00 05 0A 13 88 07 D0 17 70 10 68 0A 28 F0 AF
Reply: 01 10 20 76 00 05 EA 10