(48/56)
14. Control Commands for Automatic ID Assignment function
You can set sequential Monitor ID automatically for daisy chained monitors.
This function is executed by following 2 steps.
NOTE: This function is only applicable for RS232C based daisy chained connection, but not applicable
CAT5(RS485) based daisy chained connection.
Step1: Change the communication mode to “ID assignment mode” by Mode change command.
Step2: Apply Monitor ID by Automatic ID assignment Command.
14.1 Mode Change Command
Change the RS232C communication mode to “ID assignment Mode”.
NOTE: This command is only applicable for RS232C based daisy chained connection, but not applicable
CAT5(RS485) based daisy chained connection. If you send this command to Monitor with RS485 connection,
communication control problem will be occurred.
1)
Write Parameters from PC to Monitors.
Header Message
Check
code
Delimiter
SOH-'0'-'*'-'0'-'A'-'0'-'4' STX-'0'-'E'–ETX
BCC
CR
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
'*' (2Ah): Monitor ID
(Use ‘*’ as “ALL” for Broadcasting of parameter)
'0' (30h): Message sender is the controller
'A' (41h): Message type is "Command"
'0'-'4'(30h, 34h): Message length is 4 bytes.
Message
STX (02h): Start of Message
'0' -'E' (30h,45h): Command code is 0Eh as "Force Mode Change"
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
2)
Reply from Monitor to Host.
Basically, No need reply because it is broadcasting request.
[only for reference if the write command is done with certain destination ID]
Header Message
Check
code
Delimiter
SOH-'0'-'0'-SRC-'B'-'0' -'6'
STX- [RES]-[RES]- '0'-'E'
-ETX
BCC
CR
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
'0' (30h): Message receiver is the controller
SRC: Monitor ID
This portion should depend on the monitor ID of Monitor.( ’A’(41h)-‘Z’(5Ah))
'B' (42h): Message type is "Command reply "
'0' -'6' (30h, 36h): Message length is 6 bytes.
Message
STX (02h): Start of Message
RES: Result code('0'(30h)-'0'(30h):Normal,
、
'0'(30h)-'1'(31h):Abnormal)
'0'-'E' (30h, 45h): Force Change Mode reply command
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet