Control Block
Description
Persistent Booleans are retained through controller power cycles. Persistent information is used to preserve information such as taught locations and cycle counts over the lifetime of a machine. Persistent Booleans retain double precision floating point values.
Persistent Booleans are created with the "Add Variable" button in found in the Data Category and checking the "Persistent" checkbox.
Escapes
Reading the value of a Persistent Boolean does not generate any escapes
Examples
This block list performs a transfer operation using taught persistent numbers for pickup and placement locations:
If information is retained in Persistent Boolean it is a good idea to save those values in a file so that if the controller is field replaced the persistent values could be restored into the replacment controller. This list of blocks saves some persistent
variables to a file:
Related Topics
Persistent Number
Set Persistent Number
Set Persistent Boolean
Set Persistent Save Delay
Set Boolean