Home

 

Erfahrung

 

Referenzen

 

Sondermaschinen

 

MSR-Maschinen

 

SPS-Programmierung

 

Visualisierung HMI

 

Elektro CAD

 

Leistungsprofil

 

Personalia

 

SW-Development

 

Dokumentation

 

 

 

Impressum & DSGVO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OB1 Main : Main Programme Sweep (cycle)

 

 

 

Network 1: Start measuring runtime (Last Cycle)

"HMI SYS".Support.LastCycle := RUNTIME("HMI SYS".Support.LastCycle_inout);

 

 

 

Network 2: Pulse generator

"HMI SYS".Support.Sav_Clock_Byte := "HMI SYS".Support.Sav_Clock_Byte XOR "M00_Clock_Byte";

 

 

 

Network 3: CALL distributor

"DI MAIN GLB"(); // Operation mode global plant

"DI MAIN P01"(); // Main programme management

// ——-

"DI OUT P01"(); // Assign output stage

 

 

 

Network 4: Create delayed first cycle flag

"HMI SYS".Support.FirstCycle_TON(IN := TRUE,

 

 

 

Network 5: End measuring runtime (Last Cycle)

"HMI SYS".Support.LastCycle_real := LREAL_TO_REAL(IN := RUNTIME("HMI SYS".Support.LastCycle_inout));