32
Detail Programming Macro Commands Continued
The macro commands are not designed to be fool proof as no computer language is truly fool
proof. You might issue a macro command that has a strange effect. For example; you might
request a command to clear the display and install it as a condition of a time zone. When
the time zone becomes valid, the display could become useless, as it is continuously
cleared until the time zone ends. This could be difficult to fix as you would be working
blind without the display. This is a form of programming and as such can be a bit tricky
to obtain the desired results. Trigon will always be happy to help by answering questions
and perhaps making suggestions to assist your needs if the occasion arises.
The following are the current Macro Commands you have to work with:
Note: These commands support three "3" general purpose system switches. These are internal
to the units program and used for enabling or connecting procedures together. In general
programming jargon they are typically called bit flags.
Note: The "And" function (60 to 81) allows for conditional processing. When an "And" Macro
Command is encountered and tests false, then any following instruction(s) are blocked.
Each Event from Page 31 is a line on a lookup table which is 10 elements wide.
Thus the table is 26 lines high (Events) by 10 elements wide (Macro Commands).
To View the Event Table using command *#8:
*#8 Displays table from top down and left to right.
Use the "*" key to proceed down the table to each event with wrapping at the bottom.
Use the "0" key to proceed right on the table to each next command with wrapping at end.
Use the "#" to exit this viewer mode.
00= Resume Event
01= Discontinue Event
02= Pause on Timer
03= Pause on Playback
04= Clear Timer
05= Set Timer +2 Seconds
06= Set Timer +30 Seconds
07= Force Restart
08= Clear Display
09= Latch Relay 1
10= Latch Relay 2
11= Latch Relay 3
12= Unlatch Relay 1
13= Unlatch Relay 2
14= Unlatch Relay 3
15= Cycle Relay 1
16= Cycle Relay 2
17= Cycle Relay 3
18= Set Switch 1
19= Set Switch 2
20= Set Switch 3
21= Clear Switch 1
22= Clear Switch 2
23= Clear Switch 3
24= Toggle Switch 1
25= Toggle Switch 2
26= Toggle Switch 3
27= Alarm Cycle Switch 1
28= Alarm Cycle Switch 2
29= Alarm C
cle Switch 3
30= Turn Off Dialer
31= Turn On Dialer
32= Turn Off Hook Switch
33= Turn On Hook Switch
34= Turn Off Postal
35= Turn On Postal
36= Turn Off Ajar1
37= Turn On Ajar1
38= Turn Off Ajar2
39= Turn On Ajar2
40= Turn Off Reader #1
41= Turn On Reader #1
42= Turn Off Reader #2
43= Turn On Reader #2
44= Play Message #1
45= Play Message #2
46= Play Message #3
47= Play Message #4
48= Play Message #5
49= Play Message #6
50= Play Message #7
51= Play Message #8
52= Display Message #1
53= Display Message #2
54= Display Message #3
55= Display Message #4
56= Display Message #5
57= Display Message #6
58= Display Message #7
59= Displa
Messa
e #8
60= And Hook is True
61= And Postal is True
62= And Ajar1 is True
63= And Ajar2 is True
64= And Switch 1 is On
65= And Switch 2 is On
66= And Switch 3 is On
67= And Timer is Active
68= And Zone 22 is Open
69= And Zone 23 is Open
70= And Zone 24 is Open
71= And Hook is False
72= And Postal is False
73= And Ajar1 is False
74= And Ajar2 is False
75= And Switch 1 is Off
76= And Switch 2 is Off
77= And Switch 3 is Off
78= And Timer is Clear
79= And Zone 22 is Closed
80= And Zone 23 is Closed
81= And Zone 24 is Closed
82= Dialout from List
83= Restrict to List-A
84= Restrict to List-B
85= Enable Local Audio
86= Disable Speaker
87= Disable Microphone
88= Turn On Ted Mode
89= Turn Off Ted Mode
90= Instruction Screen Off
91= Full Duplex Mode Off
92= Undefined
93= Undefined
94= Undefined
95= Undefined
96= Undefined
97= Undefined
98= Undefined
99= Undefined