X20 system modules • Other functions • X20CM8323
2234
X20 system User's Manual 3.10
4.26.4.9.5 Communication registers
4.26.4.9.5.1 Uploading the current curves (function models 0 and 1)
A current curve with 200 values is recorded for each channel. The interval between measurement points is equal
to a quarter of the defined X2X Link cycle.
The following registers are used to read the current curve recorded by the module:
•
•
Set the channel number and line index
Name:
AnalogInput01
If this register contains a valid value (i.e. index is in the valid range) then registers AnalogInput02 to AnalogInput09
provide a block of 8 current values for Channel X.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Channel 1
...
0 - 2
Channel number
7
Channel 8
3 - 7
Index
0 to 24
Line index
The index specifies which part of the current curve is represented by the block of 8 values:
Value X of the current curve
Index
Register
1
AnalogInput02
2
AnalogInput03
...
...
8
0
AnalogInput09
9
1
AnalogInput02
...
:
...
193
AnalogInput02
...
...
200
24
AnalogInput09
Table 780: Relationship between index, channel and AnalogInput02 - AnalogInput09
Examples
The 200th value of the curve contains the switching point of the connected valve/relay found by the module.
•
Value 200 = 78: The 78th measurement point corresponds to the switching point of the valve/relay.
•
Value 200 = 255: No switching point was found.
Analog input values
Name:
AnalogInput02 to AnalogInput09
A current curve with 200 values is recorded for each channel. These registers provide a block of 8 current values
from Channel X.
The following register is required for configuration:
•
The AnalogInput01 register defines the channel used and the block index.
•
The interval between measurement points is equal to a quarter of the defined X2X Link cycle.
Data type
Value
USINT
0 to 255
Summary of Contents for X20 System
Page 2: ......