Control Block
Description
Persistent Boolean 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 Boolean retain double precision floating point values.
Persistent Boolean are created with the "Add Variable" button in found in the Data Category and checking the "Persistent" checkbox. They are set to a value with this block.
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
Persistent Boolean
Set Persistent Number
Set Persistent Save Delay
Set Boolean