ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Configurations
Set up programming system
71
Demo programs for PDM and BasicDisplay
3996
Demo program
Function
CR1051Demo_CanTool_xx.pro
CR1053Demo_CanTool_xx.pro
CR1071Demo_CanTool_xx.pro
separate for PDM360, PDM360compact, PDM360smart and Controller:
Contains FBs to set and analyse the CAN interface.
CR1051Demo_Input_Character_xx.pro
Allows to enter any character in a character string:
- capital letters,
- small letters,
- special characters,
- figures.
Selection of the characters via rotary button. Example also suited for e.g.
entering a password.
Figure P01000: Selection and takeover of characters
CR1051Demo_Input_Lib_xx.pro
Demo of INPUT_INT (
→
page
) from the library
ifm_pdm_input_Vxxyyzz
(possible alternative to 3S standard). Select
and set values via rotary button.
Figure P10000: 6 values INT
Figure P10010: 2 values INT
Figure P10020: 1 value REAL
CR1051Demo_Linear_logging_on_flash
_intern_xx.pro
Writes a CVS data block with the contents of a CAN message in the
internal flash memory
(/home/project/daten.csv
), when [F3] is
pressed or a CAN message is received on ID 100. When the defined
memory range is full the recording of the data is finished.
POUs used:
- WRITE_CSV_8BYTE (
→
page
- SYNC (
→
page
).
Figure P35010: Display of data information
Figure P35020: Display of current data record
Figure P35030: Display of list of 10 data records
CR1051Demo_O2M_1Cam_xx.pro
Connection of 1 camera O2M100 to the monitor with CAM_O2M.
Switching between partial screen and full screen.
Figure 39000: Selection menu
Figure 39010: Camera image + text box
Figure 39020: Camera image as full screen
Figure 39030: Visualisation only
CR1051Demo_O2M_2Cam_xx.pro
Connection of 2 cameras O2M100 to the monitor with CAM_O2M.
Switching between the cameras and between partial screen and full
screen.
Figure 39000: Selection menu
Figure 39010: Camera image + text box
Figure 39020: Camera image as full screen
Figure 39030: Visualisation only
CR1051Demo_Powerdown_Retain_bin
_xx.pro
Example with PDM_POWER_DOWN from the library
ifm_CR1051_Vxxyyzz.Lib
, to save retain variable in the file
Retain.bin
. Simulation of ShutDown with [F3].
CR1051Demo_Powerdown_Retain_bin2
_xx.pro
Example with PDM_POWER_DOWN from the library
ifm_CR1051_Vxxyyzz.Lib
, to save retain variable in the file
Retain.bin
. Simulation of ShutDown with [F3].
CR1051Demo_Powerdown_Retain_cust
_xx.pro
Example with PDM_POWER_DOWN and the PDM_READ_RETAIN from
the library
ifm_CR1051_Vxxyyzz.Lib
, to save retain variable in the
file
/home/project/myretain.bin
. Simulation of ShutDown with
[F3].
CR1051Demo_Read_Textline_xx.pro
The example program reads 7 text lines at a time from the PDM file
system using READ_TEXTLINE (
→
page
Figure P01000: Display of read text