X20 system modules • Other functions • X20CM8323
X20 system User's Manual 3.10
2237
Reading the line index
Name:
LineID_Act
Reads the LineID_Set register. This register allows you to determine which line is providing the current values in
registers AnalogInput01 to AnalogInput04. If the selected channel or line does not exist, then this register returns
the value 255.
If the channel number and index are in the valid range, then registers AnalogInput01 to AnalogInput04 provide a
block of 4 current values for Channel X.
The index specifies which part of the current curve is represented by the block of 4 values:
Data type
Value
Information
Value X of the current curve
Index
Register
1
AnalogInput01
...
...
4
0
AnalogInput04
5
AnalogInput01
...
1
...
197
AnalogInput01
...
...
200
49
AnalogInput04
USINT
255
Invalid selection
Analog input values - CAN I/O
Name:
AnalogInput01 to AnalogInput04
A current curve with 200 values is recorded for each channel. These registers provide a block of 4 current values
from Channel X.
The following registers are required for configuration:
•
The BlockID_Set register defines the channel used.
•
The LineID_Set register defines the block index within the channel.
•
The interval between measurement points is equal to the value set in the TimeBase register.
Data type
Value
USINT
0 to 255
4.26.4.9.5.3 Digital outputs
Name:
DigitalOutput
DigitalOutput01 to DigitalOutput08
Registers "DigitalOutput01" to "DigitalOutput08" set the output value of Channels 1 to 8.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
DigitalOutput01
0 or 1
Output value of digital output 01
...
...
7
DigitalOutput08
0 or 1
Output value of digital output 08