User Manual
Logical I/O blocks
Addressing entries for PXC…-U, PTM and P-Bus
19
282 | 353 CM110664en_07
Addressing multistate I/Os with PTM
The multistate value is made up of several separate binary measured values.
Addressing is via the input/output address [IOAddr]. In both the modular and
the compact series, the logical and physical I/O must be located in the same
automation station, but they do not need to be contiguous. The addressing
cannot extend across automation stations. The addresses must be on the same
module for TX-I/O.
Syntax: P=Module.Channel;Module.Channel;Module.Channel;Module.Channel
(Signal type)
Examples:
● P=1.1 (D20)
● P=1.1;1.2 (D20)
● P=1.1;1.2;1.3 (D20)
● P=1.1;1.2;1.3;1.4 (D20)
● P=10.3 (DIS)
Up to four binary status values (e.g., Off/St1/St2/St3/St4) can be registered.
The signals to be registered, which are addressed via Module.Channel, must
always be of the same hardware signal type. With the simple mapping
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: P=Module.Channel;Module.Channel;Module.Channel;Module.Channel
(signal type, parameter)
Examples:
● P=1.1 (Q250)
● P=1.1;1.2 (Q250)
● P=1.1;1.2;1.3 (Q250)
● P=1.1;1.2;1.3;1.4 (Q250)
● P=10.1 (Q250-P3,120)
● P=24.7 (DOS)
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.
Advanced mapping (Multistate Input)
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)
To 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:
Multistate input
Simple mapping
Multistate output
Error handling