Beruflich Dokumente
Kultur Dokumente
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
Declare the type of unit for the module Balluff DNT IOL
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
Create the station based on the type of unit created for the BNI005A Module
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
It is necessary to restart the driver (Warmstart), so the settings take effect on the controller.
So far we have declared the BNI005A module in the DeviceNet network in their basic
configuration. There are no ports activated as IO-Link therefore the Process Data of the module is
8 bytes of input and 6 bytes of outputs as we declared in the Unit Type. This data can be declared
as Signal and use as I/O in the programming.
To declare a port as IO-Link it is necessary to follow the following steps:
-
The configuration of the IOL Ports is done though the parameters in the EDS, which in RobotStudio
are composed into two parts.
-
Declaration
Modification
It is necessary to declare each of the parameters and then used them to modify the parameters
within the BNI005A module.
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
The process data for each IO-Link port are selected from the following table:
4,"Input 1 [byte]",
5,"Input 2 [bytes]",
6,"Input 4 [bytes]",
7,"Input 6 [bytes]",
8,"Input 8 [bytes]",
9,"Input 10 [bytes]",
10,"Input 16 [bytes]",
11,"Input 24 [bytes]",
12,"Input 32 [bytes]",
13,"Output 1 [byte]",
14,"Output 2 [bytes]",
15,"Output 4 [bytes]",
16,"Output 6 [bytes]",
17,"Output 8 [bytes]",
18,"Output 10 [bytes]",
19,"Output 16 [bytes]",
20,"Output 24 [bytes]",
21,"Output 32 [bytes]",
00000000
If you want to enable the port 2 and 6 as IO-Link, 0 0 0 0 0 1 0 1 equals 5, therefore in the
parameter IOL Port Enable the value which is to be modified will be 5.
In order to the module accepts the settings and restarts, it is necessary a change of State False=0
to True=1, so in the parameter Settings Done, the change would be from 0 to 1.
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
Declare the parameters that will be used to enable the ports as IO-Link.
Path, default value and name values are obtained from the EDS of the BNI005A module. The unit
type is selected. The service is Set Attribute Single; this will modify the values of the parameters
within the BNI005A module.
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
It is necessary to restart the driver (Warmstart), so the settings take effect on the controller.
Considering all the declared parameters, we will create the each command to modify the
parameter value within the BNI005A module. We will only create the necessary commands.
For example. To enable the Port 2 as IO-Link.
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
Select the module, parameter and the value to modify the parameter within the BNI005A module.
So the values are sent to the BNI005A module, it is necessary to restart the driver (Warmstart).
With this we enable the Port 2 as IO-Link and assign a length of 4 bytes input and 4 bytes output to
the IO-Link port.
In order to the module accepts the settings and restarts, it is necessary a change of State from
False=0 to True=1.
So the only thing that we will modify next its going to be the value of the command Settings
Done to 1 and then restart the driver (Warmstart).
With this the BNI005A module must restart and take the stated configuration.
By enable the Port 2 as IO-Link we declared additional process data to the module, the process
data declared in the Port 2 as IO-Link adds to the default process data of the BNI005A module.
So the total process data declared in the module would be 12 bytes input and 10 bytes output.
balluff.mexico@balluff.com
www.balluff.com
Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416
It is necessary modify the amount of process data has been declared on the Type of Unit so that it
matches the declared process data in the BNI005A module.
It is necessary to restart the driver (Warmstart), so the settings take effect on the controller.
In order to enable more ports as IO-Link, we only need to create the commands to declare the
length of process data, enable the port as IO-Link and to make the change of state in the
parameter Settings Done.
Then match the Process Data declare in the module and in the Unit Type.
balluff.mexico@balluff.com
www.balluff.com