Author Topic: DF1 AB protocol  (Read 17119 times)

hidroela

  • Newbie
  • Posts: 1
  • I'm a llama!
    • View Profile
DF1 AB protocol
« on: June 07, 2005, 06:18:07 PM »
Need help
I trying to read on the binary file B3/10 in a plc5 when I send this command (typed read (read block)) using Checksum=CRC
Command send
|16|2|0|0|15|0|58|0|104|0|0|1|0|15|0|3|10|0|1|0|16|3|137|126

The respond from the plc is

DLE|STX| SRC|DST| CM|STS| TNN | A | B |DLE|ETX |CRC|
|16 | 2 | 0 | 0 | 79 | 0 | 58 | 0 |153|9|3|66|16|16|0 | 16 | 3 |87|88



The first byte of the type/data parameter is the flag byte,

According to my finding 153 the flag byte

153 Dec converter to binary =10011001

1 Id Format Field
001 Id Value Filed
1 Size Format Field
001 Size Value Field
My problem is that I can not figure it out how to read the B part 9|3|66|16|16|0

Any body help my out how to interpreter this enigma
And by the way if any body is interesting in some Visual basic code to read and write to the (for now) PLC5 SCL 500 AB family processor go to http://forum.mrplc.com/index.php?showtopic=4529&st=15
Best regard Hidroilio P?rez  ???