ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Configurations
Set up programming system
69
5.4.3
ifm demo programs
Demo program for controller ........................................................................................................69
Demo programs for PDM and BasicDisplay ................................................................................71
3982
In directory
DEMO_PLC_CDV
(for Controller) or
DEMO_PDM_CDV
(für PDMs) under
C:\
\CoDeSys V
\Projects\
we explain certain functions in tested demo programs. If required,
these functions can be implemented in own projects. Structures and variables of the
ifm
demos match
those in the
ifm
templates.
Each demo program shows just
one
topic. For the Controller as well some visualisations are shown
which demonstrate the tested function on the PC screen.
Comments in the POUs and in the variable lists help you adapt the demo to your project.
If not stated otherwise the demo programs apply to all controllers or to all PDMs.
The demo programs described here apply for:
- CoDeSys from version 2.3.9.6
- on the
ecomat
mobile
DVD "Software, tools and documentation" from version 010500
Demo program for controller
3995
Demo program
Function
CR2500Demo_CanTool_xx.pro
separate for PDM360, PDM360compact, PDM360smart and Controller:
Contains FBs to set and analyse the CAN interface.
CR2500Demo_ClockFu_xx.pro
CR2500Demo_ClockKo_xx.pro
CR2500Demo_ClockSt_xx.pro
Clock generator for Controller as a function of a value on an analogue
input:
Fu = in function block diagram
K0 = in ladder diagram
St = in structured text
CR2500Demo_CR1500_xx.pro
Connection of a keypad module CR1500 as slave of a Controller
(CANopen master).
CR2500Demo_CR2012_xx.pro
I/O cabinet module CR2012 as slave of a Controller (CANopen master),
Connection of a joystick with direction switch and reference medium
voltage.
CR2500Demo_CR2016_xx.pro
I/O cabinet module CR2016 as slave of a Controller (CANopen master),
4 x frequency input,
4 x digital input high side,
4 x digital input low side,
4 x analogue input ratiometric,
4 x PWM1000 output and
12 x digital output.
CR2500Demo_CR2031_xx.pro
I/O compact module CR2031 as slave of a Controller (CANopen master),
Current measurement on the PWM outputs
CR2500Demo_CR2032_xx.pro
I/O compact module CR2032 as slave of a Controller (CANopen master),
4 x digital input,
4 x digital input analogue evaluation,
4 x digital output,
4 x PWM output.