Appendix
Standard:
(* LIGHTING CONTROL ****************************)
PUSH[TP,25]
TO [LIGHTS,LIGHTS_ON]
PUSH[TP,26]
TO [LIGHTS,LIGHTS_OFF]
[TP,25]=[LIGHTS,LIGHTS_ON]
[TP,26]=[LIGHTS,LIGHTS_OFF]
Also acceptable:
(* LIGHTING CONTROL ****************************)
PUSH[TP,25]
TO [RELAY,3]
[TP,25]=[RELAY,3]
PUSH[TP,26]
TO [RELAY,4]
[TP,26]=[RELAY,4]
24. Do not use constants or variables for PUSH statements in mainline (except for AXC-INP8
cards and similar devices).
Not recommended:
PUSH[TP,VCR_SELECT]
CURRENT=VCR
Standard:
PUSH[TP,86]
CURRENT=VCR
25. Use descriptive names for all DEFINE_CALLs and their parameters.
Not recommended:
DEFINE_CALL 'MACRO 1' (P1,P2)
{
ON [P1,P2]
WAIT 50 'WAITING'
}
Standard:
DEFINE_CALL 'OPEN_BLINDS' (CARD,RELAY)
{
ON [CARD,RELAY]
WAIT 50 'OPENING_BLINDS'
}
124
OFF [P1,P2]
OFF [CARD,RELAY]
(* LIGHTS OFF *)
(* LIGHTS ON
*)
(* LIGHTS OFF *)
(* LIGHTS ON
*)
(* VCR SELECT *)
Axcess Programming Language
Need help?
Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?