AshleyParr
Member
Hi guys,
I have been playing around with an ethernet ip device, it send me data in bytes (12xSINT). This is no problem in logix 5000 as i have used BTD instruction & then played around with the COP as the bits were sent in the correct order.
Now how ever i am trying to do the same with logic 500 and experiencing some difficulties. Mainly the bytes appear to be retrieve in the opposite order and then:
Is there a way to replicate what i did in 5000 in 500?
Thanks in advance,
Ash
I have been playing around with an ethernet ip device, it send me data in bytes (12xSINT). This is no problem in logix 5000 as i have used BTD instruction & then played around with the COP as the bits were sent in the correct order.
Now how ever i am trying to do the same with logic 500 and experiencing some difficulties. Mainly the bytes appear to be retrieve in the opposite order and then:
- The first four bytes should be a DINT but are split into N7:0 & N7:1
- The Second four bytes should be a DINT but are split into N7:2 & N7:3
- The two bytes after that should be an INT, so this works ok into N7:4
- The byte after that needs to be a byte, in N7:5
- The byte after that needs to be a byte, in N7:6
Is there a way to replicate what i did in 5000 in 500?
Thanks in advance,
Ash