![DSC Misterhouse PC5401 User Manual Download Page 13](http://html1.mh-extra.com/html/dsc/misterhouse-pc5401/misterhouse-pc5401_user-manual_2534351013.webp)
DSC Alarm PC5401 Serial Module
/8
3.2.2
Variables Values Access
A variable can be used to get access to DSC values, which are not available by using a function.
Syntax:
$DSC->{
VariableName
}{
optional
}
Examples:
$DSC->{zone_now}
$DSC->{status_zone}{1}
Notes:
A DSC variables and its optional information must use with an opening and closing
brace in the command syntax.
The PC5401.pm module working with two (2) types of variables:
¾
The fist, we call then Now_Variables contains actual value before the MH pass is finish.
¾
The second is Status Variables; these will contains the value after the MH Pass is finished.
How it’s work:
¾
$DSC->{zone_now} ==> $DSC->{zone}{3}
¾
$DSC->{zone_now_msg} ==> $DSC->{zone_msg}{3}
¾
$DSC->{zone_now_status} ==> $DSC->{zone_status }{3}
After these variables are reset to Null Value:
¾
Unset $DSC->{zone_now}
¾
Unset $DSC->{zone_now_msg}
¾
Unset $DSC->{zone_now_status}
If you query the Now_Variable in the second pass they will return empty space or nothing, except if something
new append and so fort.
The following tables show all
Variables_Names
can be query in your code:
Variables
Short Description
$DSC->{zone_now}
$DSC ->{zone_now_msg}
$DSC ->{zone_now_status}
$DSC ->{zone_now_alarm}
$DSC ->{zone_now_fault}
$DSC ->{zone_now_fault_restore}