10bit RS232 Constant Current Controllers Instructions
10bit RS232 Constant Current Controllers Instructions
The manual knob (INS) or external RS232 program control (EXT) can be switched via the switch on the LED dimmer control panel.
In order to prevent the occurrence of "overlap" of RS232 character data transmission, after transmitting a set of control codes, it should wait for the controller to reply the handshake code, and then transmit the next group of control codes.
RS232 terminal pin description
Connector Type -
LED Controller: SUB 9 pin connector (female)
RS232 cable: SUB 9 pin connector (male)
Pinout Description:
Please note that the controller and the computer between the RS232 signal transmission line does not require jumper, please point to point connection can be directly
RS232 terminal pin description
Pin
Controller side
Computer-side
1
None
None
2
Data reception
Data reception
3
Data transmission
Data transmission
4
None
None
5
GND
GND
6~9
None
None
Code writing instructions
※ Device administrator and AccessPort:10bit Baud Rate 115200bps
Communication protocol:
Buad Rate:115200bps
Data bits:8
Parity check:None
Stop bits:1
Flow Control:None
The format of the data transferred from the computer to the controller is as follows.
The data format transferred from the computer to the controller is as follows:
Controller to string mode control channel + ”,” + brightness value + newline symbol
PS:Note that the brightness value range is 0 ~ 1023, input greater than 1023 will be regarded as 1023
(a).When the controller receives the first character, the user must send the next character within 0.2 seconds,
otherwise it will returnE[0x0d][0x0a]
(b).When the controller receives the end character[0x0a]
If the instruction is correct, the controller will return the user into the string, for example:
Set the CH1 LED to the brightest and the command in RS232
[Computer -> Controller]:1,1023[0x0d][0x0a]
[Controller -> Computer]:1,1023[0x0d][0x0a]
The CH1 LED to the darkest, the command in the RS232
[Computer -> Controller]:1,0[0x0d][0x0a]
[Controller -> Computer]:1,0[0x0d][0x0a]
Set CH1 to 100, CH2 to 150, CH3 to 200, and CH4 to 255
[Computer -> Controller]:1,100,2,150,3,200,4,255[0x0d][0x0a]
[Controller -> Computer]:1,100,2,150,3,200,4,255[0x0d][0x0a]
The CH10 LED to the darkest, the command in the RS232
[Computer -> Controller]:10,0[0x0d][0x0a]
[Controller -> Computer]:CH not Available![0x0d][0x0a]
Communication error or character timeout
[Computer -> Controller]:10[0x0d]0x0a]
[Controller -> Computer]:E[0x0d][0x0a]