7.2.3 Communication Protocol
Writing on Digital Input
Sent one byte in 0x0N hexadecimal format where N is the number of input followed by a second byte with value 0x00 for disable or 0x01 for enable.
Example to turn on the input 2:
Reading Digital Output
Sent one byte in 0x1N hexadecimal format where N is the number of output and read one byte. The byte readed have value 0x00 for disable or 0x01 for enable.
Example to read output 3:
Writing on Analog Input
Sent one byte in 0x2N hexadecimal format where N is the number of input followed by two bytes with the 16 bits value.
Example to write the value 230 on analog input 1:
Reading Analog Output
Sent one byte in 0x3N hexadecimal format where N is the number of output and read two bytes to form the 16 bits value.
Example to read analog output 2: