Jetter AG
Programming | 8
User Manual – JetControl 365MC
86 / 148
Types of access
■
By JetSym
■
By the email client
■
Via a browser (via the HTTP server)
■
From HMIs
■
From within the application program
JetSym STX
Program
In the following example, moving lights are triggered on a digital output module
connected to the JX3 system bus. The duration for how long an output is acti-
vated can be selected through a digital input on the JX2 system bus:
Var
Lights:
Array
[
8
]
Of
Bool
At
%QX
100000309
;
HighSpeed: Bool
At
%IX
200000601
;
End_Var
;
Task
RunningLight
Autorun
Var
Idx: Int;
End_Var
;
Loop
For
Idx :=
0
To
7
Do
Lights[Idx] :=
True
;
If
HighSpeed
Then
Delay(
T#100ms
);
Else
Delay(
T#300ms
);
End_If
;
Lights[Idx] :=
False
;
End_For
;
End_Loop
;
End_Task
;
Setup pane
The JetSym setup pane displays the state of inputs and outputs.
Number
Element
Description
1
Present state of out-
puts
The outputs are set and reset one after an-
other.
2
Present content of
the input
When the input is set, the corresponding out-
put is activated for 100 ms.