28
ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
Configurations
Set up programming system
Demo program
Function
CR1051Demo_Powerdown_Retain_bin
_xx.pro
Example with function 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 function 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 function PDM_POWER_DOWN and
the function 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 function
READ_TEXTLINE.
Figure P01000: Display of read text
CR1051Demo_Real_in_xx.pro
Simple example for entering a REAL value in the
PDM.
Figure P01000: Enter and display REAL value
CR1051Demo_Ringlogging_on_flash
_intern_xx.pro
Writes a CVS data block in the internal flash memory
when [F3] is pressed or a CAN message is received
on ID 100. The file names can be freely defined.
When the defined memory range is full the recording
of the data starts again.
POUs used:
- Function WRITE_CSV_8BYTE,
- Function SYNC.
Figure P35010: Display of data information
Figure P35020: Display of current data record
Figure P35030: Display of list of 8 data records
CR1051Demo_Ringlogging_on_flash
_pcmcia_xx.pro
Writes a CVS data block on the PCMCIA card when
[F3] is pressed or a CAN message is received on
ID 100. The file names can be freely defined. When
the defined memory range is full the recording of the
data starts again.
POUs used:
- Function WRITE_CSV_8BYTE,
- Function OPEN_PCMCIA,
- Function SYNC.
Figure P35010: Display of data information
Figure P35020: Display of current data record
Figure P35030: Display of list of 8 data records
Содержание Ecomat Mobile Series
Страница 1: ...System Manual SmartController CR2500 CoDeSys V2 3 Target V05 7390675 00 10 2009...
Страница 6: ......