background image

  

  

  

  

  

   

 

 

 

(800) 543-8390       FAX (859) 727-8506       www.balluff.com

 

AOI_BNI006A_50_31_040 User Guide 

Page 14 of  26 

 

4.5 

The Configuration UDT (UDT_BNI004A_Configuration_40_27_041) consists of all IO-Link data 
associated with each port for the BNI004A block.  A description of this UDT and its function is included 
here: 

 

4.5.1 

Port_x_Function – (x = 1, 2, 3, or 4) this SINT value determines whether the indicated Port (1-4) 
will function in Standard Input/Output (=0) mode or IO-Link (=1) mode.  It is important to note 
that after changing the value for any Port_x_Function registers, power must be cycled to the 
BNI004A block for the change to take effect. (Note: values of 2 or higher will adjust port into 
Fallback mode, which ceases all process data flow) 

4.5.2 

Port_x_Cycle_Time –(x = 1, 2, 3, or 4)  this SINT value holds the cycle time for the indicated 
Port (1-4).  Bits 0-6 hold the cycle time value while bits 7-8 represent the time base. 

4.5.3 

Port_x_Validation_Type –(x = 1, 2, 3, or 4)  this SINT value determines the type of validation 
used for each Port (1-4).  If this value is 0, then no validation is used – this is the default setting.  
If this value is 1, then a compatible device (matching Vendor ID and Device ID) must be 
connected to the port.  If this value is 2, then the exact device (matching Vendor ID, Device ID 
and Serial Number). (Note: The connected IO-Link device must support this feature) 

4.5.4 

Port_x_Vendor_ID – (x = 1, 2, 3, or 4) this SINT value indicates the Vendor ID of the device 
connected to the Port.  For any Balluff device, this value will be 0378hex. 

4.5.5 

Port_x_Device_ID – (x = 1, 2, 3, or 4) this SINT value indicates the Device ID of the device 

Summary of Contents for BNI006A

Page 1: ...AOI_BNI006A_50_31_040 Add On Instruction User Guide December 2 2013 Balluff Inc 8125 Holton Drive Florence KY 41042 1 800 543 8390 www balluff com...

Page 2: ...006A_50_31_040 User Guide Page 2 of 26 Table of Contents 1 0 Scope 3 2 0 Products 3 3 0 Instructions 4 4 0 User Defined Data Type UDT 11 5 0 Software Validation 17 6 0 Troubleshooting Tips 22 7 0 Defi...

Page 3: ...uide was developed for use with the software module AOI_BNI004A_40_27_041 L5X This software module is available for download at the web site www Balluff com AOI 2 2 This software module was developed...

Page 4: ...three step process that must be followed sequentially hardware configuration import AOI module along with all associated UDTs and create new ladder logic with AOI modules 3 2 Hardware Configuration 3...

Page 5: ..._040 User Guide Page 5 of 26 3 2 2 Configuring the BNI EIP 508 105 Z015 in RSLogix5000 3 2 2 1 Establish 1756 ENxx communication module in I O Configuration 3 2 2 2 Right click 1756 ENxx and choose Ne...

Page 6: ...Format Data SINT Input Size 392 bytes Assembly Instance 100 Output Size 262 bytes Assembly Instance 101 Configuration Size 194 bytes Assembly Instance 102 5 2 2 5 Depending on the application and netw...

Page 7: ...f 26 3 3 Import AOI 3 3 1 Right click on the Add On Instructions element of the Controller Organizer to view a menu that includes Import Add On Instruction as shown below Locate your folder containing...

Page 8: ...is can be verified by checking the User Defined element under Data Types in the Controller Organizer 3 4 Create logic using RSLogix5000 3 4 1 Once an AOI has been imported it can be used in the same m...

Page 9: ...d Tags SINT 392 Module_Name I Data BNI_EIP_508_Raw_Output Data 262 byte array of raw data from Hardware Module Defined Tags SINT 262 Module_Name I Data BNI_EIP_508_Raw_Config_Data 194 byte array of ra...

Page 10: ...t_7_Data All I O Data Associated with IO Link Port 7 IO_Link_Port_Data Port7_Data BNI_EIP_508_Port_8_Data All I O Data Associated with IO Link Port 8 IO_Link_Port_Data Port8_Data Mapped_BNI_EIP_508_Da...

Page 11: ...e AOI and the user s project For AOI_BNI006A_50_31_040 the highest level UDT UDT_BNI006A_50_31_040 is comprised of three sub UDT components Input I Output O and Configuration C One additional UDT is d...

Page 12: ...occurred on the indicated port and pin number Note that these bits will only function if the port is configured as an output 4 3 4 UA_Fault this Boolean value indicates whether auxiliary power is cur...

Page 13: ...t data bits 4 4 2 Restart this is a single 16 bit INT register that contains all discrete Restart bits A Restart bit must be toggled following a detected short circuit event 4 4 3 Display_RED this Boo...

Page 14: ...process data flow 4 5 2 Port_x_Cycle_Time x 1 2 3 or 4 this SINT value holds the cycle time for the indicated Port 1 4 Bits 0 6 hold the cycle time value while bits 7 8 represent the time base 4 5 3...

Page 15: ...4 this Boolean value must be set high or ON to perform an upload of the current parameter set Note The connected IO Link device must support this feature 4 5 8 Port_x_Parameter_Download_Enable x 1 2 3...

Page 16: ...the user to access the data directly without mapping each of the four port s data into the master s single data buffer This UDT is used for both the IO Link master AOI as well as each IO Link slave A...

Page 17: ...oller scoped input tag 5 2 1 This example uses Port 6 Pin 4 Input buffer byte 0 bit 6 although any input bit will suffice Note that all I O points are freely configurable as either inputs or outputs a...

Page 18: ...other discrete output device between pins 1 and 4 on Port 4 then transition the output bit to ON or high This bit can be viewed in the Controller scope tags as shown below Note that when the AOI modul...

Page 19: ...rly this example will include a two step process 1 Configure Port 1 to IO Link mode 2 Observe Balluff s Vendor ID 5 4 1 1 To configure Port 1 to IO Link mode set the value of the Port_1_Function tag e...

Page 20: ...ort is in IO Link mode the displayed Vendor ID should be 0378h or in decimal of 3 120 These values bit can be viewed in the Controller scope tags as shown below the two screen shots are identical exce...

Page 21: ...lluff IO Link device is connected to Port 1 in IO Link mode these values will be displayed When the IO Link slave is disconnected from Port 1 these values will return to 0 If this is not the case plea...

Page 22: ...Software configurations RSLogix5000 version 18 01 or higher must be used with this Add On Instruction 6 1 3 Revision levels 6 2 After confirming the revision levels of all system components the next s...

Page 23: ...To validate the software configuration 6 3 1 1 Ensure that the Balluff hardware is communicating properly with the Logix processor A communication error is easily identified when RSLogix5000 is onlin...

Page 24: ...with RSLogix5000 Balluff s AOI modules are composed of UDTs and associated logic to implement control algorithms This module is hardware specific All AOI modules contained in a project will be located...

Page 25: ...r UDTs All UDTs contained in a project will be located in the Controller Organizer as shown below 7 1 6 I O Configuration Tree the area of RSLogix5000 where all physical or real world Inputs and Outpu...

Page 26: ...cuments can be obtained by contacting Balluff Technical Support at technicalsupport balluff com 8 1 1 BNI EIP 508 105 Z015 User s Guide 8 2 Other documents Each Balluff IO Link device that may be conn...

Reviews: