Jetter AG
Programming | 8
User Manual – JetControl 365MC
85 / 148
8.2.9 Special registers
Special registers let you control OS functions and retrieve status information.
Properties
■
Global variables with dedicated addresses (%VL)
■
When the operating system is launched, special registers are initialized using
their default values
■
Register numbers: 100000 ... 999999
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 contents of the special register containing the posi-
tion of mode selector S11 is copied to the special register that can be used to
trigger LEDs U1 through U4.
Var
UserLeds: Int At %VL 108008;
RSLswitch: Int At %VL 108015;
End_Var
;
Task
UserLedDemo
Autorun
Loop
UserLeds := RSLswitch;
End_Loop
;
End_Task
;
8.2.10 Inputs and outputs
Inputs and outputs are 1-bit variables. This means they can either have the value
TRUE or FALSE. Inputs and outputs are addressed in immediate read/write cy-
cles.
Properties of virtual
inputs/outputs
■
Global variables assigned to permanent addresses (%IX, %QX)
■
Used for RemoteScan via Modbus/TCP
■
Quantity: 16000
■
I/O numbers: 20001 ... 36000
Properties of digital
inputs/outputs
■
Global variables assigned to permanent addresses (%IX, %QX)
■
Located on modules connected to the JX2 or JX3 system bus
■
I/O numbers on the JX2 system bus: 200000201 … 200002416
■
I/O numbers on the JX3 system bus: 100000201 ... 100001716
■
I/O numbers of remote devices connected to a JX3-BN-ETH: 1nnn010201 ...
1nnn011716 (nnn = GNN)