81
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
Programming
Use ifm function libraries
>
8.3
Use ifm function libraries
23458
ifm electronic
provides the following function libraries for the programming of the device under
CODESYS 3.5:
Name
Description
ifmCANopenManager
Functions for use of the CAN interfaces as CANopen Manager
ifmDeviceCR711S
Data structures, enumeration types and global variables
ifmFastInput
Functions to access the fast inputs of the device
ifmIOcommon
Functions for access to the inputs and outputs of the device
ifmIOconfigDiagProt
Functions to configure the I/O-related diagnostic and protective functions
ifmOutGroup
Functions to control output group switches
ifmOutHBridge
Functions to access H-bridge outputs
ifmOutPWM
Functions to access PWM outputs
ifmRawCAN
Functions for use of the CAN interfaces as CAN Layer 2
ifmSysInfo
Functions to set / read system information
ifmTypes
Global types and interfaces for other ifm libraries
Detailed information about the
ifm
function libraries:
→
ifm function libraries
(
>
8.3.1
Access to inputs
23600
To access the inputs of the device, the following functional elements are available:
Function element
Short description
Input
(→ p.
Assigns an operating mode to an input channel
Provides the current state of the selected channel
FastCount
(→ p.
Counter block for fast input pulses
Up/down counter function to evaluate encoders
• measures at the indicated channel:
the frequency and the period length (cycle time) in [µs],
• measures at the indicated channel pair:
the phase shift in [°] between channel A and channel B