Sie sind auf Seite 1von 9

Balluff de Mxico

Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

Originator: Ricardo Reveles


Product Specialist

BNI005A DNT IOL Module Configuration in an ABB Controller


Software RobotStudio

Add the driver, along with the DeviceNet master

balluff.mexico@balluff.com

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

Verify that the DeviceNet network is declared

Declare the type of unit for the module Balluff DNT IOL

balluff.mexico@balluff.com

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

We take the values from the EDS of the module BNI005A

Create the station based on the type of unit created for the BNI005A Module

balluff.mexico@balluff.com

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

Name the module; select the type


of unit, the BUS and the number of
node of the module in the
DeviceNet Network.

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:
-

Assign the length of data to be used in the IO-Link port.


Declare the port as IO-Link.
Restart the BNI005A Module, so that the settings take effect on the module.

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

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

The Parameters that are required to declare a port as IO-Link are:


CH1 Port Mode parameter 304. It declares the length of data to be used in the IOL Port 1.
CH2 Port Mode parameter 404. It declares the length of data to be used in the IOL Port 2.
CH3 Port Mode parameter 504. It declares the length of data to be used in the IOL Port 3.
CH4 Port Mode parameter 604. It declares the length of data to be used in the IOL Port 4.
IOL Port Enable parameter 107. It enables the IO-Link ports.
Settings Done parameter 108. Restarts the BNI005A module.

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]",

22,"In/Out 1/1 [byte]",


23,"In/Out 2/2 [bytes]",
24,"In/Out 2/4 [bytes]",
25,"In/Out 4/4 [bytes]",
26,"In/Out 4/2 [bytes]",
27,"In/Out 2/8 [bytes]",
28,"In/Out 4/8 [bytes]",
29,"In/Out 8/2 [bytes]",
30,"In/Out 8/4 [bytes]",
31,"In/Out 8/8 [bytes]",
32,"In/Out 4/32 [bytes]",
33,"In/Out 32/4 [bytes]",
34,"In/Out 16/16 [bytes]",
35,"In/Out 24/24 [bytes]",
36,"In/Out 32/32 [bytes]";

To enable a por as IO-Link is done in the following way:


Port# 7 6 3 2

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

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

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

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

The required parameters are declared.

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

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

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

(442) 212-4882 ext. 167

www.balluff.com

Balluff de Mxico
Anillo vial II Fray Junpero Serra no. 4416

Col. la Vista Residencial


Quertaro, Qro. C.P. 76232
Mxico

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

(442) 212-4882 ext. 167

www.balluff.com

Das könnte Ihnen auch gefallen