Ocelot Secu 16i/Secu16 I/O states
Posted: Sun Mar 14, 2010 5:22 pm
After a few tries I still don't understand, how can I get Adicon Secu 16i input states from 8 to 15? The same is about secu16 relay states. The maximum input number I can set is 7...
This is the Ocelot protocol according to ADI manual.
Get Latched I/O
->Send 8 binary bytes: <200> <50> <0> <0> <0> <0> <0> <250>
<-Receive 3 byte header: <6> <0> <6>
<-Receive 256 bytes data: <unit 1 Data1> <unit 1 Data2> <unit 2 Data1> <unit 2 Data2> etc…
Data Explanation:
SECU 16, Type 11 Data1 = Latched Input Bits 0-7
Data2 = Latched Relay Bits 0-7
SECU 16I, Type 12 Data1 = Latched Input Bits 0-7
Data2 = Latched Input Bits 8-15
I think that Ocelot plugin just not reading the second byte of data. How can I correct this? Help me, please!
This is the Ocelot protocol according to ADI manual.
Get Latched I/O
->Send 8 binary bytes: <200> <50> <0> <0> <0> <0> <0> <250>
<-Receive 3 byte header: <6> <0> <6>
<-Receive 256 bytes data: <unit 1 Data1> <unit 1 Data2> <unit 2 Data1> <unit 2 Data2> etc…
Data Explanation:
SECU 16, Type 11 Data1 = Latched Input Bits 0-7
Data2 = Latched Relay Bits 0-7
SECU 16I, Type 12 Data1 = Latched Input Bits 0-7
Data2 = Latched Input Bits 8-15
I think that Ocelot plugin just not reading the second byte of data. How can I correct this? Help me, please!