Recording data
This function block records the current values of variables when a high –signal at the input "bStore" is present. The values are stored in a file parameterized in a universal binary format.
Does at the same time the input "bReset" a high signal is present,
- Either completely reset the previous file
- Or if the filename or path has changed, a new file is created.
At the output of “State", the current state is shown.
!! ATTENTION !!
Changes the structure of the recording (for example, adding or deleting of variables, etc.) a new filename and/or path must be specified! If this is not done, an existing file is no longer being evaluated!
Parameterization
The parameters are set via the parameter dialog by selecting a name from the list of the recorder. This list is provided in the data point administration (see Tools menu).
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
DRCPath | I | DYNTEXT | File path |
DRCName | I | DYNTEXT | File name |
bStore | I | BIT | Save |
bReset | I | BIT | Reset or new |
State | O | UCHAR | State |
Remarks
Unused or incorrectly configured recorder blocks are marked when downloading.
Important: Pay attention to block sequence! The block numbers at the inputs "Path" and "State" have to be lower than the block number of the Data Recorder block.
In Linux-based systems, the path (DRCPath) is the extension of a pre-configured path. The configuration is done in the run-time kernel associated configuration file. For example: