Modicon m241 System variable

другие контроллеры
Marik
Posts: 2
Joined: Fri Nov 03, 2017 6:11 pm

Modicon m241 System variable

Post 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.
Schtiel
Site Admin
Posts: 1122
Joined: Wed Sep 06, 2006 12:03 pm
Location: CIS

Modicon M241 First Scan Bit

Post by Schtiel »

Have you checked the manual?

Image
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).

Image
IsFirstMastCycle: Indicate if this Cycle is the First MAST Cycle
This function returns TRUE during the first MAST cycle after a start.

Image
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.
Marik
Posts: 2
Joined: Fri Nov 03, 2017 6:11 pm

Re: Modicon m241 System variable

Post by Marik »

Thank you!