FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
01-17-2022 11:06 AM
Hello,
how can I access environment variables from the PLC runtime?
For example, I want to use $SNAP_DATA or $SNAP_COMMON variables to access the snap directory.
Thanks in advanced
Solved! Go to Solution.
02-03-2022 08:37 AM
Hi,
can someone help me here?
02-10-2022 09:57 AM
Sorry for the late reply, got out of track somehow. I will check this.
02-10-2022 04:11 PM - edited 02-10-2022 04:12 PM
At the moment it is not possible to use system variables in the PLC. Please beware that a snap in the system (like PLC runtime) is not allowed to interact with other folder or files outside of its own path area.
The root folder of the PLC can be seen inside of the PLC engineering:
These folder structure is part of the active configuration (app data):