5.8. Detecting the first cycle with the M 255.15 variable
Initialization test:
Initialization
program:
ABB Control - AC 31
1SBC 260400 R1001-b
06.99
Programming
The bit M 255.15 should be used when the detection of the first cycle is required, for example,
to initialize certain parameters or set certain values to zero.
The description of how to use this bit is given in the following example.
The bit M 225.15 should be set to 1 before the end of the first cycle. This bit has the
particularity of being set to zero systematically, whatever the backup configuration, at the
central unit startup.
%M255.15
%I62.00
%I62.01
POTENTIOMETER_0
POTENTIOMETER_1
TRUE
initial:
&
=S
Rest of the program
initial:
%O62.00
%MW000.00
%MW000.01
%M255.15
Page 5-41