20
Extended commands of Optional Software
Commands to get Camera status information
There are four kinds of commands to get Camera status
information from CNS Master device. Each kind has request
command and reply command.
Commands to get RCP status information
There are four kinds of commands to get RCP status
information from CNS Master device. Each kind has request
command and reply command.
Commands to change RCP assignment status
There are three kinds of commands to change RCP
assignment status. All kinds only have request command.
Reply for these commands is PARAM0: 0x8d which is same
as the reply of command “Get RCP status info”
Commands to get Camera status information
Get Camera number range info
”
Parameters:
CAM No. Min:
Minimal value of Camera number,
“01”-“60” (1-96 in Decimal)
CAM No. Max:
Maximal value of Camera number,
“01”-“60” (1-96 in Decimal)
Example:
Send: “6d,48,01,fe\n”
Receive: “6d,88,03,fe,01,0c\n”
Reply from Master is:
Available Cameras on the CNS has the number in range
from 1 to 12.
Get Camera status info
”
Parameters:
DLEN:
Data length after “[DLEN]”
“fe”:
Fixed value. No other value is permitted.
NUM:
Number of parameters on this
command.
when Request, this means number of
“[CAM No.]”, range is “01”-“33”(1-51 in
Decimal)
when Reply, this means number of
“[CAM No.],00,[CAM Status]”
CAM No.:
“01”-“60” (1-96 in Decimal)
“00”:
Fixed value. No other value is permitted.
CAM status:
“00” = not Available, “01” = Available
Camera is recognized as available
when it is turned on and is connected to
the CNS.
Example:
1. Request status of Camera No.1.
Send: “6d,49,03,fe,01,01\n”
Receive: “6d,89,05,fe,01,01,00,01\n”
Reply from Master is: Camera No.1 is available.
2. Request status of Camera No.1, Camera No.2 and Camera
No.4.
Send: “6d,49,05,fe,03,01,02,04\n”
Receive: “6d,89,0b,fe,03,01,00,01,02,00,00,04,00,01\n”
Reply from Master is:
Camera No.1 is available
Camera No.2 is not available
Camera No.4 is available
Get Available Camera status info list
”
Parameters:
DLEN:
Data length after “[DLEN]”
“fe”:
Fixed value. No other value is permitted.
NUM:
Number of parameters on this
command.
when Reply, this means number of
“[CAM No.],00,[CAM Status]”
CAM No.:
“01”-“60” (1-96 in Decimal)
“00”:
Fixed value. No other value is permitted.
CAM status:
“00” = not Available, “01” = Available
Camera is recognized as available
when it is turned on and is connected to
the CNS.
Example:
Send: “6d,4a,01,fe\n”
Receive: “6d,8a,08,fe,02,01,00,01,04,00,01\n”
Reply from Master is:
There are two cameras available on the CNS, the number
of which is 1 and 4.
Get All Camera status info list
”
Parameters:
DLEN:
Data length after “[DLEN]”
“fe”:
Fixed value. No other value is permitted.
NUM:
Number of parameters on this
command.
when Reply, this means number of
“[CAM No],00,[CAM Status]”
CAM No.:
“01”-“60” (1-96 in Decimal)
“00”:
Fixed value. No other value is permitted.
CAM status:
“00” = not Available, “01” = Available
Camera is recognized as available
when it is turned on and is connected to
the CNS.
Example:
Send: “6d,4b,01,fe\n”
Type
Format
Request
6d,48,01,fe\n
Reply
6d,88,03,fe,[CAM No. Min],[CAM No. Max]\n
Type
Format
Request
6d,49,[DLEN],fe,[NUM],[CAM No.]…\n
Reply
6d,89,[DLEN],fe,[NUM],([CAM No.],00,[CAM
Status])…\n
Type
Format
Request
6d,4a,01,fe\n
Reply
6d,8a,[DLEN],fe,[NUM],([CAM No.],00,[CAM
Status])…\n
Type
Format
Request
6d,4b,01,fe\n
Reply
6d,8b,[DLEN],fe,[NUM],([CAM No.],00,[CAM
Status])…\n