Cache
- Last UpdatedFeb 06, 2024
- 1 minute read
Changes the cache timeout for each I/O Device with which Plant SCADA is communicating.
Note: To use this command, you need to be running the Kernel under a user account that is assigned to a Role with the Kernel Access property set to "Full Access". For more information, see the section Access to Cicode and Cache Commands in the topic The Kernel.
Syntax
Cache <I/O Device name> <Timeout>
Where:
-
<I/O Device name>
Any valid I/O Device defined in the project (using the I/O Devices form), or * for I/O Devices.
-
<Timeout>
Timeout in milliseconds, or 0 (zero) to disable timeout.
This command allows you to tune the cache timeout while the I/O Server is communicating with the I/O Devices. If you set the timeout to 0 (zero), the cache is disabled. If you specify a cache timeout for an I/O Device that has the cache disabled, the cache is enabled.
Any changes made to an I/O Device only apply while the I/O Server is running. If you restart the I/O Server, the cache timeout reverts to the value configured in the project. Once you have determined the optimum cache timeout, make the change persistent by setting the value in the I/O Devices form (for the particular I/O Device).