Page 1 of 1
Modicon m241 System variable
Posted: Fri Nov 03, 2017 6:18 pm
by Marik
Good day! The object often goes out of power and turns off the controller. Is there a system variable in the Schneider that indicates that the controller has resumed its operation, or there was a power supply. At the start of the controller you need to do certain actions.
Thak you.
Modicon M241 First Scan Bit
Posted: Fri Nov 03, 2017 9:01 pm
by Schtiel
Have you checked the
manual?
IsFirstMastColdCycle: Indicate if this Cycle is the First MAST Cold Start Cycle
This function returns TRUE during the first MAST cycle after a cold start (first cycle after download or reset cold).
IsFirstMastCycle: Indicate if this Cycle is the First MAST Cycle
This function returns TRUE during the first MAST cycle after a start.
IsFirstMastWarmCycle: Indicate if this Cycle is the First MAST Warm Start Cycle
This function returns TRUE during the first MAST cycle after a warm start.
Re: Modicon m241 System variable
Posted: Mon Nov 06, 2017 8:09 pm
by Marik
Thank you!