Leuze electronic MD 748i Connecting And Operating Instructions page 30

Profinet io-link master
Table of Contents

Advertisement

attached.
A bit one in IO-Link PDI Valid status byte (offset 1) means the PDI data from the corresponding IO-Link
port is valid. PDI Valid is only applicable to IO-Link port modules that have input data.
 If there are any errors detected when communicating with the IO-Link device, the corresponding
bit in the IO-Link Error status byte (offset 2) will be set to 1.
 If a high voltage is detected on the auxiliary input of an IO-Link port, the corresponding bit in the
IO- Link Auxiliary Input status byte (offset 3) will be set to 1.
See the following table for the description of each byte of the IO-Link Status module.
Status Byte
IO-Link Active
IO-Link PDI
Valid
IO-Link
Auxiliary Input
IO-Link Error
3.7.2.2
Digital I/O Module
Digital I/O module has 1-byte input and 1-byte output. There are a total of four digital I/O ports: DIO 1-4
on applicable models (MD 248i-12-8K/L4-2R2K).
DIO 2 and DIO 4 can be configured as outputs. Use the following table to map DIO pins into bits of Digital
IO module.
For input, a bit one means that high voltage is detected on that DIO pin. A zero means low voltage is
detected on the DIO pin. Bits 4-7 are not in use and always return as zeros.
DIO Input
DIO Output
To use DIO 2 and DIO 4 as outputs, first they need to be configured as digital output. Use the following
procedure to configure digital output.
1. Double-lick the Digital I/O module to open up the
figure.
2. Change the parameter Mode of DIO 2 and DIO 4 to Digital Output.
Once configured, writing a one to Bit 1 and Bit 3 of the Digital I/O module output sets DIO 2 and DIO
4 pins to high. Clearing Bit 1 and Bit 3 to zero sets DIO 2 and DIO 4 pins to low.
Note: Only Bit 1 and Bit 3 of the Digital I/O module output are in use. Changing the value of other bits has
no effects.
Leuze electronic
0: IO-Link port is not active, no IO-Link device is detected.
1: IO-Link port is active, an IO-Link device is detected and operational.
0: IO-Link port PDI data is not valid.
1: IO-Link port PDI data is valid.
0: Low voltage detected on the auxiliary pin of an IO-Link port.
1: High voltage detected on the auxiliary pin of an IO-Link port.
0: No error detected
1: An error detected. The further information about the error is available in
PROFINET IO channel diagnostics.
Digital I/O Module Bit Map
Bit 7 Bit 6
0
0
-
-
3 Configuring the IO-Link Master with STEP 7
Status Bit Description
Bit 5
Bit 4
Bit 3
0
0
DIO 4
-
-
DIO 4
Parameters
MD 748i / MD 248i
Bit 2
Bit 1
Bit 0
DIO 3 DIO 2
DIO 1
-
DIO 2
-
window, as shown in the following
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Md 248i

Table of Contents