How to Verify That IO-Link Communications is Established and a Valid IO-Link Device is Connected on a Balluff IO-Link Master Module Running Modbus TCP Protocol?
To verify that IO-Link communications is established on each port of the Balluff IO-Link master module in Modbus TCP protocol mode, send a Reading Holding Register command to Modbus register 3001. The lower byte of register 3001 has a bit that represents each of the 8 IO-Link ports on the Balluff IO-Link master module. Bit 0 represents port 1, Bit 1 represents port 2 and so on with Bit 7 representing port 8. These bit will go high when IO-Link communications is established between the IO-Link device and the Port on the Balluff IO-Link master module. The upper byte will represent when there is valid input data coming from the IO-Link device. Bit 8 of Modbus register 3001 shows there is valid IO-Link input data from port 1, Bit 9 shows valid IO-Link input data from port 2 and so on with Bit 15 showing valid IO-Link input data from port 8 IO-Link device.
Modbus register 3002 will show when a valid IO-Link device is connected to the Balluff IO-Link master module. Bit 0 in register 3002 shows a valid IO-Link device is connected in port 1. Bit 1 shows a valid IO-Link device is connected in port 2. Bit 2 shows a valid IO-Link device is connectd in port 3. Bit 7 shows a valid IO-Link device is connected in port 8. A valid device connected depends on how the IO-Link port configuration and validataion is setup on the Balluff IO-Link master module.