I/O Data Mapping - Siemens SIMATIC 6ES7158-3MU10-0XA0 Hardware Installation And Operating Manual

Bus couplers pn/mf coupler
Table of Contents

Advertisement

6.2.3.6

I/O data mapping

I/O data mapping
During parameter assignment of the MF device (Page 69), you can choose between two
formats for the I/O data mapping:
• With the "Byte" format, the input or output data of the modules of an I/O connection are
lined up by increasing slot number (Slot.Subslot).
• With the "Word" format, the input or output data of the modules of an I/O connection are
lined up by increasing slot number (Slot.Subslot). If the submodule has an odd data
length, a fill byte (content 0x00) is inserted after the submodule. This aligns the following
data status bytes (IDS, ODS) to word limits. A padding byte (content 0x00) is also inserted
after the data status byte (IDS, ODS). Subsequent submodules will then also start at an
even byte offset.
The image of the outputs contains only the output data (with padding bytes if necessary),
while the input image also supplies additional status bytes together with the input data (with
padding bytes if necessary).
An Output Data Status Byte (ODS) is available for each output submodule in the image of the
inputs.
There is an Input Data Status Byte (IDS) for each input submodule that follows the respective
input data of the submodule in the input image.
Submodules with a data length of 0 for input and output data are treated as input
submodules. Only an Input Data Status Byte (IDS) is entered in the input image.
Note
You can find the I/O data mapping for your configuration in the exported CSV file (Page 70).
I/O data status
The following table shows the coding of the status bytes for IDS and ODS:
Field
IOValid
Problem
Reserved
Diagnostics
* With the PN/MF Coupler, output data is always displayed as valid (ODS = 0x80).
PN/MF Coupler
Hardware Installation and Operating Manual, 07/2020, A5E50018670-AA
Bit num-
Bit
De-
ber
mask
fault
7
0x80
0
6
0x40
0
5...1
0x2E
00000
0
0x01
0
6.2 Integration into the automation system
Bit value = '0'
Bit value = '1'
I/O data invalid
I/O data valid*
Initialstatus
Module problem:
Module not plugged
Incorrect module plugged
Module with incorrect
I/O data temporarily inva-
-
No diagnostics
Diagnostics available
EtherNet/IP
parameter assignment
lid after station startup
75

Advertisement

Table of Contents
loading

Table of Contents