IO-Link Master Entry Line Integration with Rockwell without ADD-ON INSTRUCTION
1. Introduction
In this application we will integrate the new IO-Link Master Entry Line (BNI00HP) with a Rockwell PLC via Ethernet/IP without Add-On Instruction.
2. Configuring a Port on IO-Link
The bits refer to the pins of each port, that is, bit 0 – pin 4 and bit 1 – pin 2, bit 2 – pin 4 and bit 3 – pin 2 and so on...
If I want its port 0 to be IO-Link, I'll throw the "0" bit (pin 4) of 0 byte to 1
If I want its port 0 and its port 4 to be IO-Link, I'm going to throw the "0" bit (pin 4) of byte 0 and byte 1 to 1.
3. IO-Link configurations on ports
The example above would be for the IO-Link configurations on port 1, where it is separated from byte 2 to byte 25, as mapped:
If we were to configure port 3, for example, we would use byte 50 to byte 73
4. Process Data Input
To visualize the output state of the discrete sensor, we must enter the input data and track the bytes from 0 to 7.
In these 8 bytes (0 to 7), we will have the information below:
Plugging a sensor, for example, into port 6, we will see bits 4 and 5 of byte 1
Inside Rockwell, we would have the following visualization:
-Sensor Disabled (Pin 2 Enabled ):
-Sensor actuated (Pin 4 Enabled)
The data of the IO-Link ports is separated from byte 8, in this case it will depend on which port we would like to view and which information.
The information would be in the following structure:
5. Process Data Output
To view the output information, we track bytes from 0 to 5. In these 6 bytes, we will have the information below:
If we want to force an output on port 1, we'll see bits 2 and 3 of my byte 0.
Since in this master pin 2 cannot be configured as output, we will only look at bit 2
Inside Rockwell, we will see as follows
The data from the IO-Link ports is separated from byte 6, in this case it will depend on which port we would like to view.