![DSC Misterhouse PC5401 User Manual Download Page 15](http://html1.mh-extra.com/html/dsc/misterhouse-pc5401/misterhouse-pc5401_user-manual_2534351015.webp)
DSC Alarm PC5401 Serial Module
/10
$DSC->cmd("PartitionArmControl",1)
$DSC->cmd("PartitionArmControlWithCode","1","9999")
(9999 - must be replace by an active Alarm Access Code)
Notes:
Is some case the Alarm Access Code must be supply with the desired command.
For more description about all commands refer to DSC PC5401 Developer’s Guide.
Name
Number
Data Length
Data Format
Poll 000
0
StatusReport 001
0
SetDateTime 010
10
hhmmMMDDYY
CommandOutputControl 020
2
?
PartitionArmControl 030
1
Partition
(1-8)
PartitionArmControlStayArm 031
1
Partition
(1-8)
PartitionArmControlZeroEntryDelay 032
1
Partition
(1-8)
PartitionArmControlWithCode
033
7
Partition (1-8)+Code(6 digit)
PartitionDisarmControl
040
7
Partition (1-8)+Code(6 digit)
VerboseArmingControl 050
1
On/Off
(1,0)
TimeStampControl 055
1
On/Off
(1,0)
TimeBroadcastControl 056
1
On/Off
(1,0)
TemperatureBroadcastControl 057
1
On/Off
(1,0)
TriggerPanicAlarm 060
1
Fire (1)
Ambulance (2)
Police (3)
CodeSend
200
6
Access Code(6 digit)
Table 5 - Command List and Format
3.3
Perl Programming
3.3.1
Basic Example
Code Example
Descriptions
If ( my $ZoneEvent = $DSC->zone_now ) {
print_log "DSC->zone_now $ZoneEvent";
}
This will be trigger the zone status