// [SCL - FB_AxisControl] IF #bEnable AND NOT #bAlarm THEN #rTargetVel := #rSetSpeed * 1.05; "DB_Motion".Axis_1.Execute := TRUE; IF #nActualPos >= #nTargetPos THEN #bInPosition := TRUE; #rTargetVel := 0.0; END_IF; END_IF;
// [AWL - FC_SafetyInterlock] NETWORK 1 A "DI_EmergencyStop" A "DI_SafetyDoor_Closed" AN "DB_Alarms".Axis_Fault = "DB_Safety".System_Ready NETWORK 2 L #rSetSpeed T "DB_Drive".SetPoint A #bEnable = "DB_Drive".Run
// [KOP - Network: Cycle Start] | "Auto_Mode" "Cycle_Start" "E_Stop_OK" "Run_Cycle" | +------[ ]------------[ ]------------[ ]-----------( )------+ | "Run_Cycle" "Step_Active" "Motor_ON" | +------[ ]------------[ ]----------------------------( )----+
#pragma target_sys: S7-1500 / S7-1200 DATA_BLOCK "DB_Plant_Config" STRUCT SystemID : DINT := 101; Heartbeat : BOOL; Watchdog_ms : TIME := T#250ms; END_STRUCT;

SMProgrammi

Coming Soon

Software per Automazione Industriale