background image

AL4043

Remote I/O module 16 DI

52

Mapping: Output Counter

Register

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

n

reserved

res.

res.

res.

res.

res.

res.

res.

DIS

n+1

reserved

res.

res.

res.

res.

res.

res.

res.

DIR

n+2

reserved

res.

res.

res.

res.

res.

res.

res.

RST

MC

OV

n+3

reserved

res.

res.

res.

res.

res.

res.

res.

RST

MC

UV

n+4

reserved

res.

res.

res.

res.

res.

res.

res.

RST

BC
OV

n+5

reserved

res.

res.

res.

res.

res.

res.

res.

RST

BC
UV

n+6

reserved

res.

res.

res.

res.

res.

res.

res.

RST

CT

Legend:

• DIS

Disable Counter: disable main c batch
counter

1 BIT

• 0x0: no action

• 0x1: disable main and batch counter

• DIR

Counter Direction: Set counting direction (valid
only for counter mode CTDIR)

1 BIT

• 0x0: up

• 0x1: down

• RST MC OV

Reset Main Counter Overflow: Reset counter
event overflow of the main counter

1 BIT

• 0x0: no action

• 0x1: Rest overflow event

• RST MC UV

Reset Main Counter Underflow: Reset counter
event underflow of the main counter

1 BIT

• 0x0: no action

• 0x1: Reset underflow event

• RST BC OV

Reset Batch Counter Overflow: Reset counter
event overflow of the batch counter

1 BIT

• 0x0: no action

• 0x1: Rest overflow event

• RST BC UV

Reset Batch Counter Underflow: Reset counter
event underflow of the batch counter

1 BIT

• 0x0: no action

• 0x1: Reset underflow event

• RST CT

Reset main counter and batch counter to initial
value

1 BIT

• 0x0: no action

• 0x1: reset main + batch counter and

counter events to overflow/underflow

Summary of Contents for AL4043

Page 1: ...Operating instructions Remote I O module 16 DI ModbusTCP IP65 IP66 IP67 IP69K AL4043 11489160 01 04 2023 GB...

Page 2: ...nection 15 6 1 Overview 15 6 2 General wiring information 15 6 2 1 Connection technology 15 6 3 Ethernet 16 6 4 Process connections 16 6 5 Voltage supply 16 6 5 1 Derating behaviour 17 7 Operating and...

Page 3: ...ion 37 9 2 5 Update firmware 38 9 3 ModbusTCP 39 9 3 1 Integrating a device into a Modbus TCP project 39 9 3 1 1 Example Integrating a device into a CODESYS project 39 9 3 2 Device specific notes 40 9...

Page 4: ...r pages are the property of the respective rights owners 1 2 Symbols used Requirement Instructions Reaction result Designation of keys buttons or indications Cross reference Important note Non complia...

Page 5: ...Remote I O module 16 DI AL4043 5 1 5 Change history Issue Subject Date 00 New creation of the document 11 2022 01 Corrected Chapter DI Channel Mapping 550 56 04 2023...

Page 6: ...vironmental 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 personal injury and or...

Page 7: ...AL4043 7 3 Intended use The device may only be used for the following purposes Gateway between digital sensors and a higher level control system The device is designed for use without a control cabin...

Page 8: ...IoT Core IoT Core Visualizer ModbusTCP 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 su...

Page 9: ...bounce time 2 Cycle time 4 4 2 Stretching The filter stretches short input pulses Level changes that occur during a stretching period are ignored The filter is configured via the following parameters...

Page 10: ...d 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 overflo...

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: ...ue 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 initially operates...

Page 13: ...Remote I O module 16 DI AL4043 13 Device profile Modbus TCP Server message mode 2 port switch for access to Modbus TCP interface X21 X22...

Page 14: ...ounting lugs lug 5 2 Install 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 Fasten the d...

Page 15: ...discharge ESD u Please observe the required precautions against electrostatic discharge The circuits are insulated from each other and from touchable surfaces of the device with basic insulation acco...

Page 16: ...ure short circuit overload detection u Connect the sensors to ports X01 X08 u For connection use M12 connectors with at least protection rating IP65 IP66 IP67 IP69K max cable length 30 m u Tighten the...

Page 17: ...US 2 not used 3 GND US 4 not used 6 5 1 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...

Page 18: ...alling service initiated via fieldbus Flashes 5 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 ERR Error indication...

Page 19: ...LED Description Colour 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 undervol...

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: ...ed for operation w Parameter setting software can be used for parameter setting of the device 9 1 2 Getting started Requirements The parameter setting software is correctly installed on the laptop PC...

Page 22: ...ss MAC address of the Ethernet inter face e g 00 02 01 0E 10 7F ro 2 hostname Name of the device in the Mod busTCP network e g al4x4x ro 2 connectiontimeout Set timeout for interruption of the fieldbu...

Page 23: ...14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n X08 pin 2 X07 pin 2 X06 pin 2 X05 pin 2 X04 pin 2 X03 pin 2 X02 pin 2 X01 pin 2 X08 pin 4 X07 pin 4 X06 pin 4 X05 pin 4 X04 pin 4 X03 pin 4 X02 pin 4 X01 pin 4 Po...

Page 24: ...IGH default rw 1 pin4 invert Pin 4 Inversion 0 do not invert default 1 invert rw 1 1 The parameter can only be changed if no connection to the fieldbus controller is active u Select the menu option io...

Page 25: ...cription Value range Access mode Operating mode of the counter mod ule CTU up counter up counter default CTD down counter Down counter CTUD up counter down counter up and down counter CTDIR direction...

Page 26: ...ing counter modules Available parameters Name Description Value range Access disable Disable main counter and batch coun ter 0 counter module is active default 1 counter module is not active rw 1 rese...

Page 27: ...formation of the device 9 1 12 Gateway Reading status and diagnostic information Available information Parameter Description Value range Access temperature Temperature of the device value in C 30 80 r...

Page 28: ...ed The detailed view of the device is active u Select the Firmware menu w The menu page displays the firmware version of the device 9 1 15 Firmware Resetting the device Requirements The parameter sett...

Page 29: ...net interface of the device Ethernet interface has been configured correctly u Go to the following URL http ip address e g http 192 168 0 10 w The web browser displays the start page of the IoT Core V...

Page 30: ...searched for identifier Name of the element profile Element profile type Type of the element Requirements IoT Core Visualizer has been launched Menu Elements is active u Select the search criteria for...

Page 31: ...anges to the byteswap data point will only take effect after the device has been restarted Available parameters Name Description Value range Access network dhcp Status of the DHCP client Static IP Sta...

Page 32: ...rs u Observe the notes on input filters Digital input filters 8 Available parameters Name Description Value range Access pin2 debounce_time Pin 2 debounce time value 0 1 milisec onds 0 0 ms default 50...

Page 33: ...ting mode pin2_function count_direction_selection No function Counting pulse Counting di rection Reset main counter and batch coun ter Disable main counter and batch coun ter Pin 2 IoT Core Fieldbus P...

Page 34: ...ns Pin based Word Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n X08 pin 2 X07 pin 2 X06 pin 2 X05 pin 2 X04 pin 2 X03 pin 2 X02 pin 2 X01 pin 2 X08 pin 4 X07 pin 4 X06 pin 4 X05 pin 4 X04 pin 4 X03 pin...

Page 35: ...information Name Description Value range Access version Firmware version AL4x4x_fw_md_1 4 0 142 ro 1 type Type firmware Firmware type ro 1 1 read only Requirements IoT Core Visualizer has been launch...

Page 36: ...menu page shows the substructures of the device description containing process data w The current process values are displayed u Optional In the header activate the option Polling and set the update i...

Page 37: ...er module reset counter and threshold values to default values inactive no action default active reset rw 1 disable Disable counter module inactive enable counter default active disable counter rw 1 d...

Page 38: ...has been launched The Processdata menu is active u Select the submenu Processdatamaster w Menu page shows status and diagnostic information 9 2 5 Update firmware The Update menu page allows you to upd...

Page 39: ...er Requirements CODESYS project with AC14 DL was created u In the device tree Right click on the node X8 Ethernet w The context menu appears u Select the menu item Add device w A dialogue window appea...

Page 40: ...10 Write Multiple Registers Writing several contiguous registers FC23 0x17 Read Write Multiple Registers Read write several contiguous registers FC43 0x2B Read Device Identification Reading device inf...

Page 41: ...2 and 4 of the ports Port Configuration Digital Inputs 100 163 47 The following parameters can be configured for each digital input channel Inversion Hold level Debounce time Hold time 9 3 5 Configur...

Page 42: ...nal inversion pin 2 pin 4 Signal level pin 2 pin 4 Disable counter module Set the direction Reset overflow underflow event of the main counter Reset overflow underflow event of the batch counter Count...

Page 43: ...Regular Device Identification 0x02 Object ID Name Data type Value range 0x00 Vendor name ASCII string ifm electronic 0x01 Product Code ASCII string AL4043 0x02 Major Minor Revision ASCII string e g 1...

Page 44: ...cable national 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...

Page 45: ...Counter Data and Status 46 7 10 Port X02 Mapping Counter Data and Status 46 11 14 Port X03 Mapping Counter Data and Status 46 15 18 Port X04 Mapping Counter Data and Status 46 19 22 Port X05 Mapping...

Page 46: ...n Counter Value Current main counter value of the port 2 WORD 0x0000 0000 0 0xFFFF FFFE 4294967294 Batch Counter Value Current batch counter value of the port 1 WORD 0x0000 0 0xFFFE 65534 MCT OV Overf...

Page 47: ...ter Settings Mapping Filter Settings 48 124 127 Port X04 DI1 Filter Settings Mapping Filter Settings 48 128 131 Port X04 DI2 Filter Settings Mapping Filter Settings 48 132 135 Port X05 DI1 Filter Sett...

Page 48: ...s res res res HL n 2 Debounce Time n 3 Hold Time Legend INV Invert signal inversion 1 BIT 0x0 do not invert default 0x1 invert HL Hold Level Signal level to be maintained 1 BIT 0x0 LOW 0x1 HIGH defaul...

Page 49: ...ter Configuration 50 218 226 Port X03 Counter Configuration Mapping Counter Configuration 50 227 235 Port X04 Counter Configuration Mapping Counter Configuration 50 236 244 Port X05 Counter Configurat...

Page 50: ...nting input 0x0002 Count direction select counting direction 0x0003 Reset Main Batch Counter reset counter module 0x0004 Disable Main Batch Counter disable counter module Counter Direction Select Inst...

Page 51: ...X02 Output Counter Mapping Output Counter 52 314 320 Port X03 Output Counter Mapping Output Counter 52 321 327 Port X04 Output Counter Mapping Output Counter 52 328 334 Port X05 Output Counter Mapping...

Page 52: ...Direction Set counting direction valid only for counter mode CTDIR 1 BIT 0x0 up 0x1 down RST MC OV Reset Main Counter Overflow Reset counter event overflow of the main counter 1 BIT 0x0 no action 0x1...

Page 53: ...reserved X08 RST CT X07 RST CT X06 RST CT X05 RST CT X04 RST CT X03 RST CT X02 RST CT X01 RST CT Legend DI1 INV Pin 4 signal inversion 1 BIT 0x0 do not invert default 0x1 invert DI2 INV Pin 2 signal...

Page 54: ...module 16 DI 54 11 1 1 6 Byte Swap 500 Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 500 Byte Swap Legend Byte Swap Arrangement of the bytes in the data tables 1 WORD 0x0000 Big Endian default 0x...

Page 55: ...11 1 1 7 Connection Timeout 510 Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 510 Connection Timeout Legend Connection Timeout Max value for connection timeouts value in milliseconds 1 WORD 20 20...

Page 56: ...0x1 Port based Mapping pin based Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n X08 Pin 2 X07 Pin 2 X06 Pin 2 X05 Pin 2 X04 Pin 2 X03 Pin 2 X02 Pin 2 X01 Pin 2 X08 Pin 4 X07 Pin 4 X06 Pin 4 X05...

Page 57: ...16 DI AL4043 57 11 1 1 9 System Command 600 Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 600 Command ID Legend Command ID Identifier of the command 1 WORD 0x0040 Restarting the device 0x0050 Res...

Page 58: ...Power Status Error Status of the voltage supply 1 BIT 0x0 No error 0x1 Error Uptime Time since the last start of the device value in minutes 1 WORD 0x0000 0 min 0xFFFF 65535 min Disconnectio n Counter...

Reviews: