ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
File managing
356
WRITE_CSV_8BYTE
3407
Unit type = function block (FB)
Executeable from the CoDeSys version 2.3.6.1. Don't use it for older projects!
Contained in the library:
ifm_PDM_FILE_Vxxyyzz.LIB
Available for the following devices:
- PDM360: CR1050, CR1051, CR1060
- PDM360compact: CR1052, CR1053, CR1055, CR1056
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
3515
WRITE_CSV_8BYTE writes a matrix of 8 bytes as dataset to an indicated CSV file.
The FB operates in the auto increment mode. During every saving process the pointer is automatically
incremented by 1.
File structure in linear mode vs. ring mode
2 different methods can be used to write to the memory:
a) In the ring mode:
The data is written to the memory up to a file limit indicated in MAX_POS (number of datasets). The
write operation then restarts automatically at the first memory location. The previous datasets are
overwritten. The storage operation continues uninterrupted.
b) In the linear mode:
The data is written to the memory up to a file limit indicated in MAX_POS (number of datasets). This
ends the write operation automatically. No dataset is overwritten.
Principle:
Dataset number
Dataset contents
1 Timestamp,Byte1,Byte2,...,ByteMax
2 Timestamp,Byte1,Byte2,...,ByteMax
3 Timestamp,Byte1,Byte2,...,ByteMax
: :
MAX_POS Timestamp,Byte1,Byte2,...,ByteMax