134
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
RESOLUTION = 1
In the case of normal resolution only the falling
edge of the B-signal is evaluated.
RESOLUTION = 2
In the case of double resolution the falling and the
rising edges of the B-signal are evaluated.
RESOLUTION = 4
In the case of 4-fold resolution the falling and the
rising edges of the A-signal and the B-signal are
evaluated.
>
Parameters of the inputs
17822
Parameter
Data type
Description
INIT
BOOL
TRUE (only for 1 cycle):
Function block is initialised
FALSE:
during further processing of the program
CHANNEL
BYTE
Number of the input channel pair
0 = channel pair 0 = inputs IN08 + IN09
1 = channel pair 1 = inputs IN10 + IN11
PRESET_VALUE
DINT
counter start value
PRESET
BOOL
FALSE
TRUE (edge):
PRESET_VALUE is loaded to COUNTER
TRUE:
Counter ignores the input pulses
FALSE:
Counter counts the input pulses
RESOLUTION
BYTE
evaluation of the encoder resolution:
01 = counts for every fourth edge (= resolution of the encoder)
02 = counts for every second edge
04 = counts for every rising and falling edge
All other values count as "01".
>
Parameters of the outputs
530
Parameter
Data type
Description
COUNTER
DINT
Current counter value
UP
BOOL
TRUE:
counter counts upwards in the last cycle
FALSE:
counter counts not upwards in the last cycle
DOWN
BOOL
TRUE:
counter counts downwards in the last cycle
FALSE:
counter counts not downwards in the last cycle
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......