CPX230NWB ALARM CONTROL PANEL – INSTALLER MANUAL
135 / 144
EN
9.1.4.3.
CPSETPARTITIONS
Format:
CPSETPARTITIONS=[STAY/SLEEP]partitions[,delay][,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
Arms the specified partitions. Partitions a bit-vector indicating which
partition one wants to arm. Bit 0 is the partition 1 , bit 1 is the partition
2. Bit setting means that one wants to arm the partition. Sending a
command with the
partitions
argument equal to zero, has no sense, since
it does not change anything – if the partitions is 0, the user’s password is
not checked and the status returned by the command is equal to EOK.
Delay can take on value:
NOW
– arms immediately the defined partition
without counting down the time for exit,
DEFAULT
– arms the partition
with default time for exit. Password is the code of the user who performs
arming. The specified partitions will be armed from the user’s id to which
the code belongs.
STAY
and
SLEEP
statement before the partitions vector
is optional.
STAY
means that selected partitions will be armed in stay
mode, while
SLEEP
- in sleep mode. It is possible to change arm mode
but it is not possible to arm in stay mode the partition that has no
perimeter zones assigned.
The command returns:
CPSETPARTITIONS=[STAY,SLEEP]partitionList: EOK
If the command is sent with NOW and executed
CPSETPARTITIONS=[STAY,SLEEP]partitionList: EOK,x,y
If the command is sent with DEFAULT and executed; x,y – time for exit
(in seconds)for the partition 1 (x) and 2 (y)
partitionList
is the list of partitions which has been armed (note that
partitionList
may be different from partitions, if the user does not have
permissions to desired partitions).
If you send a command to arm both partitions (CPSETPARTITIONS=3),
regardless of whether or not a partition (or partitions) is armed, you will
receive a message about arming both partitions
(CPSETPARTITIONS=3:EOK - only if a command sent by a user who has
permissions to both partitions).
CPSETPARTITIONS=[STAY,]partitions:ENOT_ALLOWED
If at least one of the partitions does not have any perimeter zones
assigned to it or if an attempt to arm during the alarm.
CPSETPARTITIONS=[STAY/SLEEP]partitions,password:EFORMAT
If the data format is incorrect (partitions,password are the command
arguments)
CPSETPARTITIONS=[STAY/SLEEP]partitions:EPERMISIONS
If the user with the specified password does not exist