Technical FAQs

Ask a Question

Is there a first scan bit available in SoMachine V2.0?

The functions "IsFirstMastColdCycle" and "IsFirstMastCycle", is True during the first MAST task cycle after a start.

For example, with this small program:
IF IsFirstMastColdCycle() THEN
a := a + 1;
END_IF
IF IsFirstMastCycle() THEN
b := b + 1;
END_IF
The value of "a" will be 1 the first time that the M238/M258 starts (ColdStart).
The value of "b" will increments each time that the M238/M258 stops and starts (WarmStart).

Was this helpful?
What can we do to improve the information ?