REFRESH
Purpose To Force immediate refresh of the physical inputs and outputs. This can be used after executing a SETBIT or CLRBIT command on an output[n] variable and to force the physical output to change immediately (subject to I/O refresh time delay). Otherwise, the physical output will only be updated during the normal refresh cycle which will occur only at the end of every ladder logic scan.

This is useful for situations which require immediately action such as shutting down a load during an emergency. This command is likely to be used mainly by an Interrupt CusFn.

backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual