background image

Operating instructions

Remote I/O module 16 DI

PROFINET

IP65 / IP66 / IP67

AL4002

11425600 / 00   04 / 2022

GB

Summary of Contents for AL4002

Page 1: ...Operating instructions Remote I O module 16 DI PROFINET IP65 IP66 IP67 AL4002 11425600 00 04 2022 GB...

Page 2: ...aviour 17 7 Operating and display elements 18 7 1 LEDs 18 7 1 1 Status 18 7 1 2 Ethernet 18 7 1 3 Voltage supply 19 7 1 4 Process connections 19 8 Set up 20 9 Settings 21 9 1 Parameter setting softwar...

Page 3: ...14 3 Configure the device 38 9 2 14 4 Access process data 38 9 2 14 5 Update firmware 38 9 3 PROFINET 40 9 3 1 Install the GSD file 40 9 3 2 Integrate the device into a PROFINET project 40 9 3 2 1 Use...

Page 4: ...ters 54 11 2 1 1 Modules 8x2DI Qualifier 54 11 2 1 2 Modules Counter module 55 11 2 2 Cyclic data 59 11 2 2 1 Modules 8x2DI Qualifier 59 11 2 2 2 Submodule CTU 60 11 2 2 3 Submodule CTD 61 11 2 2 4 Su...

Page 5: ...Remote I O module 16 DI AL4002 5 1 Preliminary note You will find instructions technical data approvals and further information using the QR code on the unit packaging or at www ifm com...

Page 6: ...ications and environmental conditions without any restrictions Only use the product for its intended purpose Intended use If the operating instructions or the technical data are not adhered to persona...

Page 7: ...dule 16 DI AL4002 7 3 Intended use The unit may only be used for the following purposes Gateway between digital sensors and a higher level control system The device is designed for use outside of a co...

Page 8: ...REST API IoT Core Visualizer PROFINET projection software 4 3 Inputs The device has 8 ports Each port has 2 digital inputs 4 3 1 Sensor supply The device has a total of 8 sensor supplies 1 sensor supp...

Page 9: ...ut 1 debounce time 2 cycle time 4 4 2 Holding The filter prolongs short input pulses Level changes that occur during a holding period are ignored The filter is configured via the following parameters...

Page 10: ...ed by a threshold value If the value range of the main counter is exceeded or not reached an overflow or underflow signal is sent to the batch counter Batch counter The batch counter counts the overfl...

Page 11: ...m CT 1 At the same time the value of the batch counter is set to the threshold value CTb 1 b CTb 1 If the counter module detects a positive edge at pin 4 of the port the value of the main counter is d...

Page 12: ...e initial value of the batch counter is b 0 The main counter has a threshold value CT The batch counter has a threshold value CTb The user can determine the counting direction The counter module initi...

Page 13: ...le 16 DI AL4002 13 Device profile PROFINET IO device Fast Startup FSU Prioritized Startup Participation in network with activated IRT protocol System redundancy S2 Dynamic reconfiguration Device descr...

Page 14: ...l device u Disconnect the power of the machine before installation u Use a flat mounting surface for installation u Please observe the maximum tightening torque u Fasten the module onto the mounting s...

Page 15: ...ce with basic insulation according to EN 61010 1 The communication interfaces are insulated from each other and from touchable surfaces of the device with basic insulation according to EN 61010 1 6 2...

Page 16: ...ble plug using 1 3 0 1 Nm Wiring 3 1 2 4 5 1 sensor supply L US 2 digital output 2 DI2 3 sensor supply L US 4 digital output 1 DI1 5 functional earth FE 6 5 Voltage supply The device is connected to t...

Page 17: ...Derating behaviour The current IUS available at ports X01 X08 depends on the ambient temperature of the device 40 30 20 10 0 10 20 30 40 50 60 70 1 2 3 4 2000 m 3000 m 4000 m Current A Temperature C 0...

Page 18: ...Hz Error Flashes 200 ms on 800 ms off Firmware update running On OK Red On Error during firmware update e g firmware not compatible BF PROFINET connec tion status bus fail ure Red Off No error Flashes...

Page 19: ...r State Description US Voltage supply sta tus Off No supply voltage is applied or the applied supply voltage is too low Green On Supply voltage applied Red On Overvoltage undervoltage short circuit at...

Page 20: ...ll the unit correctly u Establish a correct electrical connection with the device w Once connected to the supply voltage the unit will start w The LEDs show status and error conditions w The unit is r...

Page 21: ...a free Ethernet port of the device u Start the parameter setting software u Scan the network for devices w The parameter setting software recognises the device u Optional Configure the PROFINET interf...

Page 22: ...n started The detailed view of the device is active u Select the fieldbussetup network menu w The menu page displays the current configuration of the PROFINET interface 9 1 4 Fieldbus Read the connect...

Page 23: ...the available parameters u Set the parameters u Write the changed parameter values to the device w The digital input filters have been configured 9 1 6 Ports Read digital input data Available informat...

Page 24: ...bserve note N C no function default Counter Edge Input 2 counting pulse rising edge Count Direction counting direction Reset Main Batch Counter reset main counter and batch counter Disable Main Batch...

Page 25: ...eset rw 1 direction 2 Set counting direction for main and batch counter 0 up default 1 down rw 1 1 read and write can only be changed if no connection to the fieldbus controller is active 2 only effec...

Page 26: ...mV 0 40000 ro 1 supervisionstatus_us Status of the device supply US 0 no error 1 error ro 1 current_us Present current value of the device supply US value in mA 0 40000 ro 1 1 read only Requirements T...

Page 27: ...re version of the device 9 1 14 Firmware Reset the device Requirements The parameter setting software has been started The detailed view of the device is active u Select the Firmware menu u Click on f...

Page 28: ...in2 The address is composed of the path leading to the element root port1 and the identifier of the element pin2 The user can access the ifm IoT Core via HTTP requests The following methods are suppor...

Page 29: ...ervice to access the data point data 1 req_data Data sent to the ifm IoT Core e g new values syntax depending on the service 1 optional only required for services that send data to the ifm IoT Core e...

Page 30: ...ritten when a connection is established between the device and the fieldbus PLC 9 2 3 General functions The device has the type device Types 48 The following services can be applied to the root elemen...

Page 31: ...on encoding UTF 8 identifier factoryreset type service identifier install type service identifier signal type service identifier container type data profiles blob format type binary namespace json enc...

Page 32: ...ion uptime newvalue Do not use Response cid 4711 adr devicetag applicationtag setdata code 200 9 2 4 Fieldbus Read the interface configuration Substructure fieldbussetup Available data points Name Des...

Page 33: ...nvert Pin 4 inversion 0 do not invert default 1 invert rw 1 1 read and write can only be changed if no connection to the fieldbus controller is active 9 2 6 Ports Read digital input data Substructure...

Page 34: ...instance for selecting the counting direction Observe note 0 Pin 2 default 1 Fieldbus PLC rw 1 main_threshold Main counter threshold CT 1 4294967295 default rw 1 batch_threshold Batch counter threshol...

Page 35: ...with the service force_counter_value Request code request cid 4711 adr io counter 2 force_counter_value data maincounter_value 100 batchcounter_value 10 Response cid 4711 adr io counter 2 force_count...

Page 36: ...iontag parameter If the memory range is exceeded the device will abort the write process diagnostic code 400 u When writing the applicationtag parameter note the different memory requirements of the i...

Page 37: ...the IoT Core Visualiser The navigation menu gives the user access to the following functions Notification no function Elements Search for elements in the device description 37 Parameter Configure the...

Page 38: ...Access process data The Processdata menu page makes it possible to read and write the process data of the device and the connected sensors Requirements The ifm IoT Core Visualizer has been started u...

Page 39: ...rent firmware version u Click on Load software file and select a new firmware file bin u Click on Update to start the update process w The firmware of the device is updated w The area shows the progre...

Page 40: ...tion network e g PROFINET PLC u Select the device in the hardware catalogue and add it to the network using drag drop u Establish a logical PROFINET IO connection between the device and the PROFINET P...

Page 41: ...eters w The device has been configured 9 3 3 1 Use Prioritized Startup The device supports the Prioritized Startup function To activate the Prioritized Startup function Requirements Device is integrat...

Page 42: ...on is activated for PROFINET IO ports 9 3 4 Configure input filters u Observe the notes on input filters Digital input filters 8 The input filters are configured via the following module Modules 8x2DI...

Page 43: ...d separately Available parameters of the counter submodules event messages of the main counter event messages of the batch counter threshold CT of the main counter threshold CTb of the batch counter f...

Page 44: ...onnect the IEC addresses of the subslots with symbols in the global variable list w The user can access the digital input data of the ports via symbol names in the application 9 3 7 Read counter value...

Page 45: ...lock RDREC Specific parameters Input ID HW_ID of the subslot project specific properties of the subslot Input INDEX index of the data record 9 3 10 Read counter events The counter modules generate eve...

Page 46: ...AINFO array 9 3 11 Use I M data records The unit supports the I M data records I M0 to I M3 I M data 67 The data record I M0 contains ID information The I M0 data record is available for each module s...

Page 47: ...ional regulations when it is no longer used 10 1 Cleaning u Disconnect the unit from the voltage supply u Clean the device from dirt using a soft chemically untreated and dry cloth u In case of severe...

Page 48: ...ce that can be addressed from the network event An event that can be started by the firmware and sends messages data Data point device Root element a device represents 11 1 3 Services 11 1 3 1 Service...

Page 49: ...3 4 Service getdata Name getdata Description The service reads the value of a data point and outputs it Request data field none Return data data field Parameter Mandatory field Data type Description...

Page 50: ...ity Name getidentity Description The service reads device information and outputs it Request field data none Response field data Parameter Mandatory field Data type Description iot device Device descr...

Page 51: ...ay Sub elements hash Optional STRING adr Mandatory STRING Root element of the subtree 11 1 3 9 Service install Name install Description The service installs the firmware stored in a memory area of the...

Page 52: ...ue of the data point Request data field Parameter Mandatory field Data type Description newvalue mandatory STRING New value of the data point duration optional STRING Duration of value storage lifetim...

Page 53: ...6 Service stream_set Name stream_set Description The service transfers a data segment Request data field Parameter Mandatory field Data type Description value mandatory BIN BASE64 Segment of the binar...

Page 54: ...ounce Time Debounce time value 0 1 ms 0 0 ms default 500 50 ms rw 1 Hold time Hold time value 0 1 ms 0 0 ms default 60000 6000 ms rw 1 Hold level Hold level 0 Low hold LOW 1 High hold HIGH default rw...

Page 55: ...otifications for batch counter disable enable default rw 1 Pin 2 function function of pin 2 of the port Not used no function default Reset main batch counter Reset main counter and batch counter Disab...

Page 56: ...batch counter disable enable default rw 1 Pin 2 function function of pin 2 of the port Not used no function default Reset main batch counter Reset main counter and batch counter Disable main batch co...

Page 57: ...default rw 1 Enable Main counter event Notifications for batch counter disable enable default rw 1 Pin 2 function function of pin 2 of the port Counter edge input 2 counting input default rw 1 Main T...

Page 58: ...Count direction signal at pin 2 controls counting direction Pin2 Not used Count Direction by PLC pin 2 without function selection of counting direction via PLC Pin2 Reset Counter Count Direction by PL...

Page 59: ...pin 4 DI X7 pin 2 DI X7 pin 4 DI X6 pin 2 DI X6 pin 4 DI X5 pin 2 DI X5 pin 4 DI n 2 X4 pin 2 QDI X4 pin 4 DQI X3 pin 2 QDI X3 pin 4 DQI X2 pin 2 QDI X2 pin 4 DQI X1 pin 2 QDI X1 pin 4 DQI n 3 X8 pin...

Page 60: ...56 Main Counter Value 3 0x78 UINT32 0x00000000 0 0xFFFFFFFE 4294967294 Batch Counter Value Current batch counter value Batch Counter Value 0x1234 Batch Counter Value 0 0x12 Batch Counter Value 1 0x34...

Page 61: ...56 Main Counter Value 3 0x78 UINT32 0x00000000 0 0xFFFFFFFE 4294967294 Batch Counter Value Current batch counter value Batch Counter Value 0x1234 Batch Counter Value 0 0x12 Batch Counter Value 1 0x34...

Page 62: ...x56 Main Counter Value 3 0x78 UINT32 0x00000000 0 0xFFFFFFFE 4294967294 Batch Counter Value Current batch counter value Batch Counter Value 0x1234 Batch Counter Value 0 0x12 Batch Counter Value 1 0x34...

Page 63: ...4 Batch Counter Value Current batch counter value Batch Counter Value 0x1234 Batch Counter Value 0 0x12 Batch Counter Value 1 0x34 UINT16 0x0000 0 0xFFFE 65534 Output data 1 byte Byte off set Bit 7 6...

Page 64: ...2 1 0 0 1 Debounce Time 2 3 Hold Time 4 res res res res res res Hold Level Input Invert er Legend Debounce Time Debounce time value 0 1 ms Debounce Time 0x0123 Debounce time 0 0x01 Debounce time 1 0x2...

Page 65: ...able counter module For CTUD 0x01 count input Pin 2 function Count direction Pin 2 function of the port and desired counting direction 4 bits rc 0x02 pin 2 determines counting direction 0x08 pin 2 not...

Page 66: ...501 Byte off set Bit 7 6 5 4 3 2 1 0 0 3 Main Counter value 4 5 Batch Counter value Legend Main Counter value Counter value of the main counter UINT32 rw 0x00000000 0 0xFFFFFFFE 4294967294 Batch Count...

Page 67: ...Profile ID 0x0000 unspecific 0x0000 2 PROFILE_SPECIFIC_TYPE Profile type 0x0000 unused 0x0000 2 IM_VERSION I M version 0x0101 V1 1 0x0101 2 IM_SUPPORTED Supported I M data records 0x000 I M0 is suppor...

Page 68: ...n Value Bytes API API of the submodule 4 SLOT Slot of the submodule 2 SUBSLOT Subslot of the submodule 2 FLAGS Flags 0x01 submodule has own I M data 0x02 I M data of the submodule represent I M data o...

Reviews: