TM5SE4IOL - Tab “TM5 Module I/O Mapping”

Introduction

The tab TM5 Module I/O Mapping is used for I/O mapping. The tab also provides additional information such as addressing data.

Status Bit Mapping

Channel

Data type

Description

ModuleOK

DiagIn

BYTE

State of the module

DcOk

BOOL

Voltage range:

  • 0: Invalid

  • 1: Valid

Reserved

BOOL

Reserved

NetworkOk

BOOL

TM5 bus:

  • 0: Bus error detected

  • 1: OK

I/O data valid

BOOL

Data validity:

  • 0: Valid

  • 1: Invalid

Reserved

BOOL

Reserved

Reserved

BOOL

Reserved

Reserved

BOOL

Reserved

Reserved

BOOL

Reserved

ChannelStatus01...04

The following table explains the states of the IO-Link channels available via ChannelStatus01...04. The data type of ChannelStatus01...04 is USINT:

Value

Description

Additional information

0

Channel INACTIVE

Disabled

1

Channel used as digital output.

Channel used as Standard Input or Output (SIO)

2

Channel used as digital input.

3

Startup of IO-Link device, operating stage PREOPERATIONAL.

Communication is running, but no process data is exchanged. However, acyclic access is possible.

4

IO-Link device in operating stage OPERATIONAL.

Communication is running.

5

IO-Link device parameter server data is OK.

6

Parameter server: Upload ongoing.

Communication is running, process data is being returned, and the data storage feature is used.

7

Parameter server: Download ongoing.

8...20

Reserved

21

Error detected in the parameter server, for example:

  • Parameter server not supported.

  • Error detected: Access to an object that is managed by the parameter server.

  • Internal error detected.

Communication is running. However, an error has been detected in the parameter server.

Acknowledge parameter server errors via the DsControl parameter.

22

Parameter server is locked.

-

23

Parameter server is empty.

Attempt to load data to the IO-Link device even though no data is saved in the nonvolatile memory.

24

New serial number detected.

User input required via the parameter DsControl: uploading, downloading, or restoring default parameters.

25...29

Reserved

30

Invalid process data

Communication is running. However, invalid process data has been detected by the IO-Link device.

31...39

Reserved

40

No connection established.

No communication is running.

41

Reserved

42

The DeviceID and VendorID of the connected IO-Link device do not match the defined IDs.

Communication is running, but no process data is exchanged. However, acyclic access is possible.

43...44

Reserved

45

An error has been detected during startup of the IO-Link device.

No communication is running.

46...255

Reserved

DsControl01...04

The following table explains the values of DsControl01...04. The data type of DsControl01...04 is USINT:

Value

Description

0

Parameter server inactive.

1

Parameter server automatic upload/download.

2

Upload if data storage parameters are available on the device.

3

Download if data storage parameters are available in the memory of the IO-Link master and the device can process them.

4

Parameter server error state acknowledged.

5

Data storage parameters on the memory of the IO-Link master removed.

6

Dummy upload started.

7...255

Reserved

Input/Output Mapping

Channel

Data type

Description

DigitalInputs

BYTE

Bits 0...3: Physical state of the channel.

DigitalOutputs

BYTE

  • Bits 0...3: Physical state of digital output if channel is configured as SIO output.

  • Bits 4...7: Disable supply of SIO channels 1...4.

Under Sercos, the outputs of the bus coupler TM5NS31 need to be explicitly activated. Refer to the user guide of the bus coupler TM5NS31 for details on activating the outputs via ActivateOutputs.