In the case of a cell modem, control is based on time. The modem requires 12 VDC power, so
connect its power wire to a data logger SW12 terminal. The following code snip turns the modem
on for the first ten minutes of every hour using the
TimeIsBetween()
instruction embedded
in an
If/Then
logic statement:
If TimeIsBetween
(0,10,60,Min)
Then
SW12
(SW12_1,1,1)
'Turn phone on.
Else
SW12
(SW12_1,0,1)
'Turn phone off.
EndIf
2. Wiring panel and terminal functions
18