Enable IO-Link Ports on Balluff Modbus TCP IO-Link Master
IO-Link Port Configuration on a Balluff Modbus TCP IO-Link master module is located in specific Modbus register for each M12 port. There are 6 Modbus registers for each M12 port on the Balluff IO-Link master, starting at the following Modbus registers:
9100-9105 for Port X01
9200-9205 for Port X02
9300-9305 for Port X03
9400-9405 for Port X04
9500-9505 for Port X05
9600-9605 for Port X06
9700-9705 for Port X07
9800-9805 for Port X08
The Modbus registers are broken down to the following. The 'n' represents each port on the IO-Link Modbus TCP master.
9n00 Byte 0 is the Master Cycle Time, Byte 1 is reserved
9n01 Byte 0 configures Pin 2 Port Mode. A value of 0 deactivates the port. A value of 1 sets up Pin 2 as a Digital Input. A value of 2 sets up Pin 2 as a Digital Output.
9n01 Byte 1 configures Pin 4 Port Mode. A value of 0 deactivates the port. A value of 1 sets up Pin 4 as IO-Link manual. A value of 2 sets up Pin 4 as IO-Link autostart. A value of 3 sets up Pin 4 as a Digital Input. A value of 4 sets up Pin 4 as a Digital Output.
9n02 Byte 0 configures the Validation ID Type on the Port. A value of 0 sets up No Device Check. A value of 1 sets up the port to be Compatible V1.0 IO-Link device. A value of 2 sets up the port to be Compatible V1.1 IO-Link device. A value of 3 sets up the Port for Backup and Restore. A value of 4 sets up the Port for Restore.
9n03 is the Vendor ID of the IO-Link device. This is used when Validation ID is setup for a device check and backup and restore features of the IO-Link device.
9n04 Byte 0 is used for the most significant byte (MSB) of the Device ID of the IO-Link device.
9n04 Byte 1 is the second byte of the Device ID of the IO-Link device.
9n05 is used for the least significant byte (LSB) of the Device ID of the IO-Link device.