51
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
Configurations
Function configuration of the inputs and outputs
>
Binary inputs: configuration and diagnosis
20001
► Configuration of each input is made via the application program:
• configuration byte INxx_MODE
→ chapter
Possible operating modes inputs/outputs
(
>
Fast inputs
20886
The devices dispose of fast counting/pulse inputs for an input frequency up to 30 kHz (
→ data sheet).
If, for example, mechanical switches are connected to these inputs, there may be faulty signals in the
controller due to contact bouncing.
Furthermore it has to be noted whether the pulse inputs are designed for frequency measurement
(FRQx) and/or period measurement (CYLx) (
→ data sheet).
Appropriate function blocks are e.g.:
On FRQx inputs:
FAST_COUNT
(→ page
Counter block for fast input pulses
FREQUENCY
(→ page
Measures the frequency of the signal arriving at the selected channel
On CYLx inputs:
PERIOD
(→ page
Measures the frequency and the cycle period (cycle time) in [µs] at the indicated channel
PERIOD_RATIO
(→ page
Measures the frequency and the cycle period (cycle time) in [µs] during the indicated periods at
the indicated channel. In addition, the mark-to-space ratio is indicated in [‰].
PHASE
(→ page
Reads a pair of channels with fast inputs and compares the phase position of the signals
When using these units, the parameterised inputs and outputs are automatically configured, so the
programmer of the application does not have to do this.
>
Use as binary inputs
3804
The permissible high input frequencies also ensure the detection of faulty signals, e.g. bouncing
contacts of mechanical switches.
► If required, suppress the faulty signals in the application program!
Содержание 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: ......