93
ifm
Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940)
05 / 2018
Appendix
Modbus
>
Command 0x30 – Set fail-safe data pattern
23464
The command sets the behaviour of the outputs when the Modbus connection and the corresponding
fail-safe values are interrupted.
Corresponding parameter: [Fail-safe Mode] (
→
Mapping: port configuration
(
The number of the required fail-safe values results from the size of the output data
(
→
Configuration Area
(
>
Command request
11016
Register
Contents
Bits 8-15
Bits 0-7
500
Port No.
501
reserved
502
reserved
503
0x30
User ID
504
Byte Length N
505
Failsafe Mode
506
reserved / Failsafe Data (Byte 1)
reserved / Failsafe Data (Byte 0)
...
...
...
521
reserved / Failsafe Data (Byte 31)
reserved / Failsafe data (Byte 30)
Legend:
[Port No.]
Number of the IO-Link port
1 word
0x0001
Port X01
0x0002
Port X02
...
...
0x0008
Port X08
[User ID]
ID to identify the command
1 byte
0x00 .. 0xFF
[Data Length
(Number of
Bytes)]
Number of bytes that contain relevant user data
(is only evaluated for Command = 0x02)
1 word
0x0002
2 bytes
...
...
0x0022
34 bytes
[Failsafe Mode]
Fail-safe mode for the outputs of the IO-Link
ports in case of an interruption of the Modbus
connection
1 word
0x0000
No Failsafe
0x0001
Failsafe: Reset Value
0x0002
Failsafe: Old Value
0x0003
Failsafe: with Pattern
[Failsafe Data
(Byte n)]
Fail-safe values for the outputs (only with
fail-safe mode = 0x0003)
1 byte
0x00 .. 0xFF