User Manual

Logical I/O blocks
Addressing the I/O blocks
19
CM110664en_07 265 | 353
procedure, to enable the multistate input to interpret the current binary signals
correctly, only one binary signal may be present at any one time. If several
binary signals are present at once, this is displayed as an error at the [Rlb] pin.
The examples below show a possible application for multistate input blocks in
conjunction with the physical I/O modules. The example on the left of the
diagram is a multiple I/O module, while the one on the right shows the mapping
of several individual I/O modules in one multistate input block.
The multistate value from the program is converted in the Multistate Output
block into a switching command. Addressing is via [IOAddr]. For PX modular,
the syntax is as follows:
Syntax: T=Module.channel
Examples:
Q-M1: T=1.1
Q-M2: T=1.1
Q-M3: T=1.1
Q-M4: T=1.1
Q250-P3: T=10.1
DOS: T=24.7
Values with up to four stages can be processed. The signals to be registered,
which are addressed via Module.Channel, must always be of the same
hardware signal type. In the case of a multistate output on the hardware side,
there is one address only (this is only possible with PXC modular automation
stations).
If an automation station does not support a given address (e.g., incorrect
syntax) or a given I/O system, this will lead to a reliability error, which will be
displayed at the [Rlb] pin.
The manual switch can be encoded on the PX Compact in various ways, e.g.:
(Auto/Off/On) or (Off/Auto/On)
(Auto/Off/S1/S2) or (Off/Auto/S1/S2)
So avoid having to keep adapting the data types and text groups in the system,
the manual switch must always be represented in the same way within the
system:
(Auto/Off/On)
(Auto/Off/S1/S2)
A prerequisite for this approach is that it must be possible in the multistate
input block to configure the hardware coding and mapping to the standardized
manual switch. This is made possible with parameters in the address.
Syntax:
T = Module.channel
C=Module.channel;Module.channel;Module.channel;Module.channel (signal
type, a,b,c,d,e)
a represents [PrVal] for HW-I/O (0,0,0,0)
b represents [PrVal] for HW-I/O (1,0,0,0)
c represents [PrVal] for HW-I/O (0,1,0,0)
d represents [PrVal] for HW-I/O (0,0,1,0)
e represents [PrVal] for HW-I/O (0,0,0,1)
Example: T=2.1
For the TX I/O addressing no additional information in the address string is
added. All information (signal type, mapping table, mapping rules, e.g., up-
down, etc.) is configured in the I/O Address Editor and loaded in the
automation station with the IOC file.
Example: C=2.1;2.2;2.3;2.4 (D20,
2
,
1
,
3
,
4
,
5
)
Multistate output
Error handling
Advanced mapping
(Multistate Input)
1_n-Mapping
(Multistate Input and
Output)