5.2 Registers of the JX2-IA4 Module
JetWeb
22
Jetter AG
For communication with the CPU, 5 registers have been provided by the JX2-IA4
module. The operating system version number of the module can always be read
from register 9. The other module registers are being defined by the function of the
module. The registers are addressed as follows:
xx = Module number
YY = Module number -2
Example: Configuring and Evaluating Measurements
Task definitions for the first expansion module:
1. A unipolar input voltage ranging from 0 to 10 V is to be measured using channel
1. Register 3yy0 contains the input voltage.
2. A bipolar input voltage ranging from -10 V to +10 V is to be measured using
channel 2. Register 3yy1 contains the input voltage.
3. An input current ranging from 0 to 20 mA is to be measured using channel 3.
Register 3yy2 contains the input voltage.
4. A unipolar input voltage ranging from 0 to 10 V is to be measured using channel
4. Register 3yy3 contains the input voltage.
Comments on the approach for task # 1:
Configuring Inputs and Outputs
JX2-IA4
Inputs
A/D Value
Voltage
Current
Register
Unipolar
Bipolar
Channel # 1
3yy0
xxx0xxx0
xxx1xxx0
xxxxxxx1
Channel # 2
3yy1
xx0xxx0x
xx1xxx0x
xxxxxx1x
Channel # 3
3yy2
x0xxx0xx
x1xxx0xx
xxxxx1xx
Channel # 4
3yy3
0xxx0xxx
1xxx0xxx
xxxx1xxx
Output
↑↑↑↑↑↑↑↑
↑↑↑↑↑↑↑↑
↑↑↑↑↑↑↑↑
Configuring
Virtual
Outputs
xx01
through
xx08
87654321
87654321
87654321
Output numbers
Note!
To carry out measurements, the virtual outputs for the respective measuring
method (unipolar, bipolar, current) have to be set in the program.
The assignment can be seen from table "Configuring Inputs and Outputs" on
page 22.