121
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
971
NOTE
The uniqueness of the inputs and outputs in the cycle is affected by the interrupt routine. Therefore
only part of the inputs and outputs is serviced. If initialised in the interrupt program, the following
inputs and outputs will be read or written.
Inputs, digital:
%IX0.0...%IX0.7 (Controller: CR0n3n, CR7n3n)
%IX0.12...%IX0.15, %IX1.4...%IX1.8 (all other ClassicController, ExtendedController, SafetyController)
%IX0.0, %IX0.8 (SmartController: CR250n)
IN08...IN11 (CabinetController: CR030n)
IN0...IN3 (PCB controller: CS0015)
Inputs, analogue:
%IX0.0...%IX0.7 (Controller: CR0n3n, CR7n3n)
All channels (selection bit-coded) (all other controller)
Outputs, digital:
%QX0.0...%QX0.7 (ClassicController, ExtendedController, SafetyController)
%QX0.0, %QX0.8 (SafetyController: CR7nnn)
OUT00...OUT03 (CabinetController: CR030n)
OUT0...OUT7 (PCB controller: CS0015)
Global variants, too, are no longer unique if they are accessed simultaneously in the cycle and by the
interrupt routine. This problem applies in particular to larger data types (e.g. DINT).
All other inputs and outputs are processed once in the cycle, as usual.
>
Parameters of the inputs
20095
Parameter
Data type
Description
ENABLE
BOOL
TRUE (only for 1 cycle):
initialisation of the function block
FALSE:
unit is not executed
REPEATTIME
TIME
Duration in [ms] between end of program and reboot
The duration between two calls is determined as the sum of
REPEATTIME and runtime of the program called via interrupt.
READ_INPUTS
BOOL
TRUE:
read the inputs 8...11 before calling the program
and write to the input flags IN08...IN11
FALSE:
only read the channel indicated under CHANNEL
and write to the corresponding input flag INnn
WRITE_OUTPUTS
BOOL
TRUE:
write the current values of the output flags Q00...Q03
to the outputs after completion of the program sequence
FALSE:
do not write outputs
ANALOG_INPUTS
BOOL
TRUE:
read inputs 16...23 and write the unfiltered,
uncalibrated analogue values to the flags
ANALOG_IRQ16...23
FALSE:
do not write the flags A_IN16...23
Содержание Ecomat 100 Mobile CR0301
Страница 209: ...209 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 210: ...210 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 211: ...211 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 212: ......