xLadder user manual-V2.0.0.6

byte 5: length field (lower byte) = number of bytes following byte 6: unit identifier (previously ‘ slave address ’ ) byte 7: MODBUS function code

byte 8: Register of the slave start address byte 9: Register of the slave start address

byte 10: number of registers byte 11: number of registers byte 12: data length field (lower byte) = number of bytes following

So, AF1 = 00 64 (DECIMAL 100) AF2 =03 E8 (DECIMAL 1000) AF3 = 27 10 (DECIMAL 10000)

The server end(slave1) responds 00 01 00 00 00 06 01 10 00 00 00 03 So, if the "Trg" input remains high, then the output will be high also after the CPU gets the above, correct response.

292

Made with FlippingBook - Online magazine maker