13. Every command should be on its own line.
Not recommended:
OFF [RELAY,1]
WAIT 30 'STOP DECK'
Standard:
OFF [SYS_PWR,1]
OFF [AMP,AMP_PWR]
WAIT 30 'STOP DECK'
OFF [VCR,VCR_STOP]
14. Braces should get their own line.
Not recommended:
IF(TEMPERATURE>COOLING_SET_POINT)
ON [RELAY,5]
ON [RELAY,6]
Standard:
IF(TEMPERATURE>COOLING_SET_POINT)
{
ON [FAN,FAN_ON]
ON [COMPRES,COMPRES_ON]
}
15. Braces should be aligned with the commands for which they are used.
Not recommended:
IF(TEMPERATURE>COOLING_SET_POINT)
{
ON [RELAY,5]
ON [RELAY,6]
}
Standard:
IF(TEMPERATURE>COOLING_SET_POINT)
{
ON [FAN,FAN_ON]
ON [COMPRES,COMPRES_ON]
}
Axcess Programming Language
OFF [RELAY,2]
OFF [RELAY,3]
(* SYSTEM POWER OFF *)
(* AMP POWER OFF
{
(* TURN ON FAN *)
}
(* TURN ON COMPRESSOR *)
(* TURN ON FAN *)
(* TURN ON COMPRESSOR *)
(* TURN ON FAN *)
(* TURN ON COMPRESSOR *)
(* TURN ON FAN *)
(* TURN ON COMPRESSOR *)
Appendix
*)
121
Need help?
Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?