Using a USB Stick as Additional Storage
A USB stick can be used as additional storage (for example, for storing alarms or trend data).
To do this, you can configure the [SysFile] section in the configuration file for Linux-based CODESYS Control SL products. Adapt this section to the device names.
Determine the path where your USB stick is mounted to the Linux device.
Execute the
mountcommand in order to display all mount points on your Linux system.Example of a mounted USB stick:
/media/usbstick/.Open the configuration file located at the following path:
/etc/codesyscontrol/CODESYSControl_User.cfgTip
The file uses the
INIformat.[SysFile]section: Find or create a section titled[SysFile].Configure this section to save alarms and trend data to the USB stick.
Adapt the values according to your requirements.
Example:
[SysFile] PlaceholderFilePath.1=/media/usbstick/trend, $trend$ PlaceholderFilePath.2=/media/usbstick/alarms, $alarms$ PlaceholderFilePath.2.View=1 PlaceholderFilePath.2.Volatile=1