Jetter AG
Programming | 8
User Manual – JetControl 365MC
83 / 148
8.2.7 Registers on I/O modules
These registers are located on modules connected to the JX2 or JX3 system bus.
Properties
■
Global variables with dedicated addresses (%VL)
■
Volatile
■
The type is depending on the module.
■
Register numbers on JX2 system bus: 200020000 … 2000299999
■
Register numbers on JX3 system bus: 100020000 ... 100179999
■
Register numbers of remote devices connected to the JX3-BN-ETH:
1nnn020000 ... 1nnn179999 (nnn = GNN)
Types of access
■
By JetSym
■
By the email client
■
Via a browser (via the HTTP server)
■
From HMIs
■
From within the application program
■
From other JC controllers via NET_COPY commands
JetSym STX
Program
In the following program the set speed of a servo axis on the JX2 system bus
(AxSpeed) is calculated. This calculation is based on an analog value measured
by a module on the JX3 system bus (SpeedIn).
Var
AxSpeed: Float
At
%VL
200012103;
SpeedIn: Int
At
%VL
100030002;
End_Var
;
Task
SetSpeed
Autorun
Loop
If
SpeedIn >
100
Then
AxSpeed := SpeedIn *
0.35
;
End_If
;
Delay(
T#100ms
);
End_Loop
;
End_Task
;
Setup pane
The JetSym setup pane displays the content of the register variable.