
CPX200N ALARM CONTROL UNIT – INSTALLER MANUAL
97 / 106
10.1.4.
Commands for managing the partitions, zones and outputs
10.1.4.1.
CPGETSTATUS
Format:
CPGETSTATUS[=password]
Limitations:
You must know the administrator or user password. Can be executed by
ATS, administrator or user. If the command comes from ATS and was not
authorized with a code, enter the password
Description
password is the system administrator or user password. The command
returns:
CPGETSTATUS:Ready,CurrentPartitionAlarms,alarmHistory,zoneTampers,
keypadTampers,zones,zonesLock,partitions,outputs,batteryVoltage,
powerSupplyVoltage,silentAlarms,zonesComFailures,zonesPowerFailures
Where:
Ready takes the value 1 if the system is ready for arming , 0 if it is not
ready.
CurrentPartitionAlarms is a bit-vector determining whether the current
partitions are in alarm condition. Bit 0 corresponds to the first partition,
bit 1 corresponds to the second partition.
alarmHistory a bit-vector indicating the alarm memory from the last
arming. Bit 1 (counting from 0), corresponding to the zone 1,... bit 7
corresponds to the zone 7, bit 10 is the alarm from the keypad tampering.
zoneTampers is a bit-vector indicating the zone tampering. Bit 1 (counting
from 0) means the zone 1.
keypadTampers is the alarm from the keypads tampering. Bit 0 means the
keypad 1.
zones – means the current status of the zones. It is a bit-vector, where
the bit 1 (counting from 0) means the zone 1, bit 2 means the zone 2,
etc. If the zone is impaired, the bit is set.
zonesLock – means the current status of the zone blockade. It is a bit-
vector, where bit 1 (counting from 0) means the zone 1, bit 2 means the
zone 2, etc. If the zone is blocked, the bit is set.
partitions – means the current status of the partitions. It is a bit-vector,
where bit 0 means the partition 1, the bit 1 the partition 2 (otherwise
than for the zones and outputs where bit 1 means the zone/output 1). If
the partition is armed or counts down, the time to output the
corresponding bit is set.
outputs – means the current status of outputs. It is a bit-vector, where bit
1 (counting from 0) means the output 1, bit 2 means the output 2 and bit
3 means the output 3. If the output is enabled, the bit is set.
batteryVoltage – battery voltage in mV (12000 = 12V). If the battery is
not connected, the readings may be incorrect, and be around 9V (9000)