Appendix
123
Axcess Programming Language
Not recommended:
PUSH[TP,25]
TO [RELAY,3] (* LIGHTS OFF *)
[TP,25]=[RELAY,3]
SYSTEM_CALL [1] 'VCR1' (VHS,TP,1,2,3,4,5,6,7,0,0)
PUSH[TP,26]
TO [RELAY,4] (* LIGHTS ON *)
[TP,26]=[RELAY,4]
Standard:
(* TRANSPORT CONTROL ***************************)
SYSTEM_CALL 'VCR1' [1] (VHS,TP,1,2,3,4,5,6,7,0,0)
(* LIGHTING CONTROL ****************************)
PUSH[TP,26]
TO [RELAY,4] (* LIGHTS ON *)
[TP,26]=[RELAY,4]
PUSH[TP,25]
TO [RELAY,3] (* LIGHTS OFF *)
[TP,25]=[RELAY,3]
22.
There should be no space between a PUSH (and a RELEASE) statement and its opening
bracket. Conversely, there should always be a space for TO, MIN_TO, ON, OFF, and PULSE
statements; there should be no spaces within the brackets for any case.
Not recommended:
PUSH [TP, 25]
TO[RELAY, 3] (* LIGHTS OFF *)
[TP,25] =[RELAY, 3]
Standard:
PUSH[TP,25]
TO [LIGHTS,LIGHTS_OFF] (* LIGHTS OFF *)
[TP,25]=[RELAY,3]
23.
Feedback for buttons should follow the PUSH statements with which they are associated.
Not recommended:
(* FEEDBACK SECTION ****************************)
[TP,25]=[RELAY,3]
[TP,26]=[RELAY,4]
Summary of Contents for Axcess
Page 1: ...instruction manual Software Axcess Programming Language ...
Page 8: ...vi Axcess Programming Language Table of Contents ...
Page 12: ...Introduction 4 Axcess Programming Language ...
Page 22: ...Axcess Basics 14 Axcess Programming Language ...
Page 38: ...Channel Characteristics 30 Axcess Programming Language ...
Page 54: ...Levels 46 Axcess Programming Language ...
Page 62: ...Operators 54 Axcess Programming Language ...
Page 66: ...Variable Types and Conversions 58 Axcess Programming Language ...
Page 70: ...Two Dimensional Arrays 62 Axcess Programming Language ...
Page 80: ...While Keywords 72 Axcess Programming Language ...
Page 86: ...Using Buffers 78 Axcess Programming Language ...
Page 94: ...Waits and Timer Keywords 86 Axcess Programming Language ...
Page 102: ...Using Subroutines 94 Axcess Programming Language ...
Page 108: ...Include Files and System_Calls 100 Axcess Programming Language ...
Page 120: ...Compiler Error Messages 112 Axcess Programming Language ...
Page 124: ...The External_Control Protocol 116 Axcess Programming Language ...