Setup
10/10 MN05003003Z-EN
12
Example: If you are using input I1 for a high-speed counter (16-
bit), I2 can be used for another high-speed counter (16-bit) but not
for generating an interrupt. Inputs I3 and I4 likewise cannot be
used for generating an interrupt.
Connection description
Function and cursor buttons as inputs
The front plate of the device is provided with the function buttons
DEL, ALT, ESC, OK which are arranged around the rocker switch.
The rocker switch is divided into 4 sections with the cursor button
designations P1 to P4. The function and cursor buttons are
represented in the PLC configuration as inputs. These inputs are
scanned in the program according to general syntax rules. Only
one button can be actuated at a time, otherwise uncontrolled
states may occur when these buttons are scanned.
The GetDisplayInfo function block from the EC_Visu2.lib library
enables you to control the scanning of the buttons according to
the active menu on the controller,
“EC_Visu.lib/EC_Visu2.lib library”, page 62.
Diagnostics inputs
The inputs I13, I14, I15, I16 provide you with additional
information:
The inputs can be scanned in the program with symbolic operands.
Inputs for high-speed counters
You can choose between several different functions:
• 1
x
32-bit counter, for counting pulses (up/down)
• 2
x
16-bit counters, for counting pulses (up/down); the count
direction (up/down) can be set via the DIRECTION operand in
the program.
• 1
x
incremental value counter, 32-bit, for processing the
signals of an incremental encoder; the count direction is set by
the edge sequence of the encoder.
You can select the counter type in the PLC configuration.
The function of the high-speed counter requires the setting of
inputs and the scanning of outputs in a POU, e.g. PLC_PRG.
This POU must not be called by an interrupt generated by a
counter.
For further information see section “High-speed counters
(Counter)”, page 45.
Figure 4:
Function buttons and rocker switch with cursor buttons
P1, P2, P3, P4
Figure 5:
Inputs of the rocker and function buttons
P2
OK
P
3
ALT
P4
ESC
P1
DEL
Input
Function
I13
No function
I14
Expansion device via easyLink (not yet active in the
operating system version 1.x):
0: ok, 1: not ok
I15
Outputs Q1, Q2, Q3, Q4:
0: No short-circuit, 1: Short-circuit
I16
Outputs Q5, Q6, Q7, Q8:
0: No short-circuit, toggle: Short-circuit
Summary of Contents for easyControl EC4-200
Page 4: ...II...
Page 10: ...10 10 MN05003003Z EN 6...
Page 14: ...10 10 MN05003003Z EN 10...
Page 22: ...10 10 MN05003003Z EN 18...
Page 38: ...10 10 MN05003003Z EN 34...
Page 62: ...10 10 MN05003003Z EN 58...
Page 78: ...10 10 MN05003003Z EN 74...
Page 96: ...10 10 MN05003003Z EN 92...