![background image](http://html1.mh-extra.com/html/ifm/al4142/al4142_operating-instructions-manual_3906627035.webp)
Remote I/O module 16 DI
AL4142
35
For the parameters [pin2_function] and [count_direction_selection] all shown parameter values can be
selected. It is not checked whether these make sense. For each counter operating mode (parameter
[mode]), the table below indicates the valid value ranges (
: valid setting;
: invalid setting):
[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
PLC
CTU
CTD
CTUD
CTDIR
CTDIR
Available parameters:
Name
Description
Value range
Access
[mode]
Operating mode of the counter module
• CTU (up counter): up counter
(default)
• CTD (down counter): Down counter
• CTUD (up counter / down counter):
Up and down counter
• CTDIR (direction counter): Up and
down counter with selectable
counting direction
rw
1
[pin2_function]
Pin 2 function of the port (
Ò
Observe
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 Counter):
disable main counter and batch
counter
rw
1
[count_direction_selection]
Control instance for selecting the count-
ing direction (
Ò
Observe note!)
• Pin 2 Count Direction: Pin 2 (default)
• IoT / PLC Count Direction: IoT Core /
Fieldbus PLC
rw
1
[main_threshold]
Main counter threshold (CT)
• 1
…
• 4294967295 (default)
rw
1
[batch_threshold]
Batch counter threshold (CTb)
• 1
…
• 65535 (default)
rw
1
1
The parameter can only be changed if no connection to the fieldbus controller is active
Requirements:
ü
IoT Core Visualizer has been launched.
ü
The [Parameter] menu is active.
u
Select the [io] > [counter[n]] submenu (n: 1...8).
w
The menu page shows the current settings.
u
Set the parameters.
u
Click on
to save the changes.
w
The counter modules are configured.