DNF Controls GC-32 GPIO Controller User Manual
Page 7

Page 7 of 14
GPI Status, All GPIs Request status for all GPIs
Command= 0x51
Data:
0x01
The GC-32 will respond with 44.4E.46.51.cc.gg1.ss1.gg2.ss2…..ggN, ssN
where cc is the number of GPIs included in the response
gg1 is the GPI number and ss1 is its current status
gg2 is the next GPI number and ss2 is its status
ggN is the last GPI number and ssN is its status
For Mode 1, the GC returns GPI numbers 1 – 32
For Mode 2, on port 50001 and port 50002, the GC return GPI number 1 – 16
On port 50002, GPIs 1 – 16 are physical GPIs 17 – 32
GPI Change of State Notification Automatically sent when one or more GPIs change
state and a client is connected.
Command= 0x52
The GC-32 will send 44.4E.46.52.cc.gg1.ss1.gg2.ss2…..ggN, ssN
where cc is the number of GPIs included in the response
gg1 is the GPI number and ss1 is its current status
gg2 is the next GPI number and ss2 is its status
ggN is the last GPI number and ssN is its status
For Mode 1, the GC returns GPI numbers 1 – 32
For Mode 2, on port 50001 and port 50002, the GC return GPI number 1 – 16
On port 50002, GPIs 1 – 16 are physical GPIs 17 – 32