background image

AL4103

Remote I/O module 16 DI

26

9.1.8 Counters: Control 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

[reset]

Reset main counter, batch counter
and CT and CTb thresholds to initial
values

• 0: no action (default)

• 1: reset

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 effective if operating mode of counter module = 

CTDIR

Requirements:

ü

The parameter setting software has been started.

ü

The detailed view of the device is active.

u

Select the menu option [io] > [counter[n]] (n: 1…8).

w

The menu page displays the available parameters.

u

Optional: disable counter module.

u

Optional: reset counter module.

u

Optional: set counting direction of counter module.

u

Write the changed parameter values to the device.

w

Selected actions are executed.

9.1.9 Counters: Read counter values

Available parameters:

Name

Description

Value range

Access

[maincounter_value]

Main counter value

0…4294967294

ro 

1

[batchcounter_value]

Batch counter value

0…65534

ro 

1

1

read only

Requirements:

ü

The parameter setting software has been started.

ü

The detailed view of the device is active.

u

Select the menu option [io] > [port[n]] (n: 1…8).

w

The menu page displays the current counter values of the main and batch counter.

9.1.10 Gateway: Read identification information

Available information:

Name

Description

Value range

Access

[productcode]

Article number

AL4103

ro 

1

[devicefamily]

Device family

Ethernet modules

ro 

1

[vendor]

Manufacturer

ifm electronic gmbh

ro 

1

[swrevision]

Firmware revision

e.g. AL4x0x_fw_pn_v1.4.0.137

ro 

1

[hwrevision]

Hardware revision (status)

e.g. AA

ro 

1

Summary of Contents for AL4103

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

Page 2: ...our 17 6 5 1 1 Derating without daisy chain 17 6 5 1 2 Derating with daisy chain 17 6 6 Voltage output 18 7 Operating and display elements 19 7 1 LEDs 19 7 1 1 Status 19 7 1 2 Ethernet 19 7 1 3 Voltag...

Page 3: ...the ifm IoT Core Visualizer 38 9 2 14 2 Search for elements in the device description 38 9 2 14 3 Configure the device 39 9 2 14 4 Access process data 39 9 2 14 5 Update firmware 39 9 3 PROFINET 41 9...

Page 4: ...stream_set 54 11 2 PROFINET 55 11 2 1 Parameters 55 11 2 1 1 Modules 8x2DI Qualifier 55 11 2 1 2 Modules Counter module 56 11 2 2 Cyclic data 60 11 2 2 1 Modules 8x2DI Qualifier 60 11 2 2 2 Submodule...

Page 5: ...Remote I O module 16 DI AL4103 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: ...I AL4103 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 without a control cabine...

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 AL4103 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: ...ice 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: ...ut 1 DI1 5 functional earth FE 6 5 Voltage supply The device is connected to the supply voltage US via the power IN port The US supply voltage supplies the device and the sensors connected to the port...

Page 17: ...000 m Current A Temperature C 0 5 1 5 2 5 3 5 1 1 IUS at ports X1 X8 6 5 1 2 Derating with daisy chain 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 5 1 5 2...

Page 18: ...current will be available to supply further devices via daisy chain through port XD2 6 6 Voltage output An additional device can be supplied via the power OUT port daisy chain The supply voltages US a...

Page 19: ...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 20: ...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 21: ...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 22: ...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 23: ...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 24: ...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 25: ...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 26: ...meters u Optional disable counter module u Optional reset counter module u Optional set counting direction of counter module u Write the changed parameter values to the device w Selected actions are e...

Page 27: ...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 28: ...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 29: ...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 30: ...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 31: ...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 49 The following services can be applied to the root elemen...

Page 32: ...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 33: ...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 34: ...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 35: ...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 36: ...counter 2 force_counter_value data maincounter_value 100 batchcounter_value 10 Response cid 4711 adr io counter 2 force_counter_value code 200 9 2 10 Gateway Setting the application tag Substructure d...

Page 37: ...25236 ro 1 current_us Present current value of the device sup ply US value in mA e g 82 ro 1 supervisionstatus_us Status of the device supply US 0 no error 1 Error ro 1 1 read only 9 2 13 Gateway Upd...

Page 38: ...ents Search for elements in the device description 38 Parameter Configure the device 39 Processdata Access process data 39 Update Update firmware 39 9 2 14 2 Search for elements in the device descript...

Page 39: ...n started u Click on Processdata w Menu page shows the substructures of the device description that contains the process data w The current process values are displayed u Optional Activate the Polling...

Page 40: ...AL4103 Remote I O module 16 DI 40 w The area shows the progress of the update process w After successful update The device reboots automatically...

Page 41: ...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 42: ...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 43: ...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 44: ...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 45: ...nnect 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 values...

Page 46: ...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 47: ...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 68 The data record I M0 contains ID information The I M0 data record is available for each module s...

Page 48: ...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 49: ...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 50: ...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 51: ...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 52: ...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 53: ...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 54: ...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 55: ...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 56: ...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 57: ...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 58: ...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 59: ...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 60: ...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 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: ...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 63: ...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 64: ...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 65: ...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 66: ...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 67: ...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 68: ...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 69: ...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: