diff --git a/PLC/AOIs/AOI_APF_AOI.L5X b/PLC/AOIs/AOI_APF_AOI.L5X index 93e72ae..b93b4d6 100644 --- a/PLC/AOIs/AOI_APF_AOI.L5X +++ b/PLC/AOIs/AOI_APF_AOI.L5X @@ -1,39 +1,7 @@  - - + - - - - - + + + + + + + + + + + + + + - + - + - + - + - + @@ -1130,327 +1141,263 @@ Safety torque-off – loss of STO sets EStopped, mirrors it to CTRL.STS.EStopped Drive outputs – when Run is true the AOI drops APF_O.Stop, energises APF_O.Start, and sets the forward or reverse bit from the maintenance direction flag. -Logging – every new Disconnect, VFD trip, Comms loss, Jam, or Full condition pushes a line into MCM.CMD.Log and increments the quantity. The line is cleared automatically when MCM echoes it back through MCM.STS.Acknowledge_Log; a global un-acknowledge re-arms the entry. - -Command bits (received by the AOI) -The module receives CTRL.CMD.Log and Log_Quantity. -The module receives CTRL.CMD.Acknowledge_Log and Unacknowledge_All_Logs. -The module receives CTRL.CMD.Start and Stop_Require_Start. -The module receives CTRL.CMD.Stop_Auto_Restart. -The module receives CTRL.CMD.Speed_FPM. -The module receives CTRL.CMD.Interlock. -The module receives CTRL.CMD.Run_Up_Enabled. -The module receives CTRL.CMD.Power_Saving_Mode_ON. -The module receives CTRL.CMD.Jammed. -The module receives CTRL.CMD.Encoder_Fault. -The module receives CTRL.CMD.Full. -The module receives CTRL.CMD.VFD_Faulted and VFD_Was_Faulted. -The module receives CTRL.CMD.EStop_Was_Actuated. -The module receives CTRL.CMD.Stopped_By_Stop_PB. - -The module receives MCM.STS.System_Started and System_Start_Requested. -The module receives MCM.STS.VFD_Fault_Reset_Requested. -The module receives MCM.STS.Setup_Motor_Speeds. -The module receives MCM.STS.Unacknowledge_All_Logs. - -The module receives HMI.Maintenance.Maintenance_Mode. -The module receives HMI.Maintenance.Start_PB_Pressed. -The module receives HMI.Maintenance.Stop_PB_Pressed. -The module receives HMI.Maintenance.Jog_PB_Pressed. -The module receives HMI.Maintenance.Direction_PB_Pressed. -The module receives HMI.Maintenance.Speed_FPM. -The module receives HMI.Cycle_Time_Factor and HMI.Speed_At_30rev. - -Status bits (set by the AOI) -The module sets CTRL.STS.Log and Log_Quantity. -The module sets CTRL.STS.Acknowledge_Log and Unacknowledge_All_Logs. -The module sets CTRL.STS.MCM_Started. -The module sets CTRL.STS.Running. -The module sets CTRL.STS.Enabled. -The module sets CTRL.STS.Interlock. -The module sets CTRL.STS.In_Power_Saving_Mode. -The module sets CTRL.STS.Maintenance_Mode. -The module sets CTRL.STS.Encoder_Fault. -The module sets CTRL.STS.Jammed. -The module sets CTRL.STS.VFD_Faulted. -The module sets CTRL.STS.VFD_Fault_Reset_Required. -The module sets CTRL.STS.Communication_Faulted. -The module sets CTRL.STS.EStopped. -The module sets CTRL.STS.Current_Speed. -The module sets CTRL.STS.Requested_Speed. - -HMI bits -The HMI exchanges HMI.Maintenance.Maintenance_Mode. -The HMI exchanges HMI.Maintenance.Start_PB_Pressed. -The HMI exchanges HMI.Maintenance.Stop_PB_Pressed. -The HMI exchanges HMI.Maintenance.Jog_PB_Pressed. -The HMI exchanges HMI.Maintenance.Direction_PB_Pressed. -The HMI exchanges HMI.Maintenance.Speed_FPM. -The HMI displays HMI.STATE (values 0, 1, 2, 3, 4, 5, 6, 61, 7, 8, 9, 13, 14, 131 as defined above). -The HMI displays HMI.FPM, HMI.Amperage, HMI.Voltage, and HMI.Velocity. -The HMI displays HMI.VFD_Type, HMI.Communication_Fault_Code, HMI.VFD_Fault_Code, and HMI.Last_VFD_Fault_Code. -The HMI displays HMI.Maintenance.Buttons_State and HMI.Maintenance.Direction. - -Alarm bits -HMI.Alarm.Disconnected is raised when Disconnected is true. -HMI.Alarm.Communication_Faulted is raised when Communication_Faulted is true. -HMI.Alarm.VFD_Fault is raised when VFD_Faulted is true. -HMI.Alarm.VFD_Reset_Required is raised when VFD_Fault_Reset_Required is true while VFD_Faulted is false. -HMI.Alarm.Jammed is raised when Jammed is true. -HMI.Alarm.Full is raised when Full is true. -HMI.Alarm.Maintenance_Mode is raised while Maintenance_Mode is active. -]]> +Logging – every new Disconnect, VFD trip, Comms loss, Jam, or Full condition pushes a line into MCM.CMD.Log and increments the quantity. The line is cleared automatically when MCM echoes it back through MCM.STS.Acknowledge_Log; a global un-acknowledge re-arms the entry.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1459,32 +1406,32 @@ HMI.Alarm.Maintenance_Mode is raised while Maintenance_Mode is active. - + - + - + - + - + - + @@ -1493,142 +1440,142 @@ HMI.Alarm.Maintenance_Mode is raised while Maintenance_Mode is active. - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/PLC/AOIs/AOI_CB_MONITOR_AOI.L5X b/PLC/AOIs/AOI_CB_MONITOR_AOI.L5X index 1ea0fad..37f5f87 100644 --- a/PLC/AOIs/AOI_CB_MONITOR_AOI.L5X +++ b/PLC/AOIs/AOI_CB_MONITOR_AOI.L5X @@ -1,93 +1,7 @@  - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -160,8 +172,8 @@ - + @@ -407,157 +419,165 @@ + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + diff --git a/PLC/AOIs/AOI_DPM_AOI.L5X b/PLC/AOIs/AOI_DPM_AOI.L5X index 56fd160..a5e8934 100644 --- a/PLC/AOIs/AOI_DPM_AOI.L5X +++ b/PLC/AOIs/AOI_DPM_AOI.L5X @@ -1,73 +1,7 @@  - - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -310,51 +321,39 @@ An HMI alarm is generated only when the switch itself is faulted while the EN4TR Whenever a loss occurs, the code builds a text line such as “ — Lost Communication”, places it in MCM.CMD.Log, and increments MCM.CMD.Log_Quantity. If the same line later appears in MCM.STS.Acknowledge_Log, the routine latches Acknowledge and clears the entry so the log stays current. -The command bit MCM.STS.Unacknowledge_All_Logs resets the Acknowledge latch, guaranteeing that the next loss of communication will produce a fresh message. - -Command bits -The routine receives Communication_Fault from its own port monitor. -The routine receives EN4TR_Communication_Fault from the rack adapter. -The routine receives MCM.STS.Unacknowledge_All_Logs to clear the acknowledge latch. - -Status bits -The routine sets Communication_Faulted when either link is down. -The routine sets CTRL.STS.Communication_Faulted with the same value. - -HMI bits -The HMI displays HMI.STATE as 0 for healthy and 1 for faulted. -The HMI raises HMI.Alarm.Communication_Faulted only while Communication_Faulted is true and EN4TR_Communication_Fault is false. - -Alarm bits -The system raises HMI.Alarm.Communication_Faulted whenever the switch itself loses communication and the EN4TR adapter is still online. -]]> +The command bit MCM.STS.Unacknowledge_All_Logs resets the Acknowledge latch, guaranteeing that the next loss of communication will produce a fresh message.]]> - + - + - + - + - + + + + + + diff --git a/PLC/AOIs/AOI_ENCODER_AOI.L5X b/PLC/AOIs/AOI_ENCODER_AOI.L5X index 3008c26..8d93dce 100644 --- a/PLC/AOIs/AOI_ENCODER_AOI.L5X +++ b/PLC/AOIs/AOI_ENCODER_AOI.L5X @@ -1,49 +1,7 @@  - - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -426,15 +437,20 @@ Stopped by Station Stop PushButton]]> ]]> - + - + + + + + + - + - + - + - + - + diff --git a/PLC/AOIs/AOI_EXTENDO_AOI.L5X b/PLC/AOIs/AOI_EXTENDO_AOI.L5X index dabf3a9..3ca32ce 100644 --- a/PLC/AOIs/AOI_EXTENDO_AOI.L5X +++ b/PLC/AOIs/AOI_EXTENDO_AOI.L5X @@ -1,5 +1,5 @@  - + @@ -200,66 +200,6 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -788,183 +800,133 @@ If loading is not allowed the stop bit Caljan_Input.Belt_Stop is asserted. Running feedback – When Caljan_Output.Ready_to_Receive is true the AOI sets Running and mirrors the state to CTRL.STS.Running. - -Operating modes and status flags – -Caljan_Output.Front_EMS → Loading Mode -Caljan_Output.Customer_EMS → Unloading Mode -Caljan_Output.Belt_Accumulation → Power Saving Mode -Caljan_Output.Rear_EMS → E-Stopped -Caljan_Output.Aopen_Active → Aopen Active -Caljan_Output.Fully_Retracted / Fully_Extended → positional flags. - -Logging – -New occurrences of communication fault or full belt push a formatted string into MCM.CMD.Log and increment the quantity counter. -The entry self-clears when MCM.STS.Acknowledge_Log echoes the same text. -MCM.STS.Unacknowledge_All_Logs re-arms every latch so a repeat fault is re-logged. - -HMI state code – -0 loading not allowed 1 loading allowed 2 running -3 full 4 communication fault 5 Extendo faulted 6 E-Stop - -Command bits (received) -CTRL.CMD.Interlock -CTRL.CMD.Run_Up_Enabled -MCM.STS.System_Started -MCM.STS.VFD_Fault_Reset_Requested -DPM.STS.Communication_Faulted -HMI.PEC_Override_PB -HMI.Extendo_Faults_Reset_PB -MCM.STS.Unacknowledge_All_Logs -MCM.STS.Acknowledge_Log (comparison for auto-clear) -MCM.CMD.Log / Log_Quantity (target for new entries) - -Status bits (set) -CTRL.STS.Interlock -CTRL.STS.Allow_Loading -CTRL.STS.Running - -Extendo_Faulted Extendo_Faulted_Reset_Required -Communication_Faulted No_Interlock -Loading_Mode Unloading_Mode Power_Saving_Mode -Aopen_Active Fully_Retracted Fully_Extended - -HMI bits -The HMI displays and/or exchanges— - -HMI.Loading_Mode -HMI.Unloading_Mode -HMI.Power_Saving_Mode -HMI.Aopen_Active -HMI.Fully_Retracted -HMI.Fully_Extended -HMI.STATE - -Alarm bits -HMI.Alarm.Full – raised when Full is true. -HMI.Alarm.Communication_Faulted – raised when Communication Faulted is true. -HMI.Alarm.Extendo_Faulted – raised when Extendo Faulted is true. ]]> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + @@ -973,17 +935,17 @@ HMI.Alarm.Extendo_Faulted – raised when Extendo Faulted is true. - + - + - + - + - + - + - + - + - + @@ -1027,32 +989,32 @@ HMI.Alarm.Extendo_Faulted – raised when Extendo Faulted is true. - + - + - + - + - + - + diff --git a/PLC/AOIs/AOI_FPE_AOI.L5X b/PLC/AOIs/AOI_FPE_AOI.L5X index 32b5158..02b9b50 100644 --- a/PLC/AOIs/AOI_FPE_AOI.L5X +++ b/PLC/AOIs/AOI_FPE_AOI.L5X @@ -1,68 +1,7 @@  - - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -414,63 +425,39 @@ Blocked turns on whenever the beam is broken (Clear_I false) and the parent netw While the conveyor is running in automatic mode (not maintenance), a timer with preset HMI.TimeOut * 1000 ms runs whenever Blocked is true. When the timer finishes the bit Full latches and is echoed to CTRL.STS.Full. -The blue beacon segment (Beacon_Light_O) lights solid while Full is latched. - -On the first scan of each full condition the routine writes “ FULL” into Conveyor.CMD.Log and increments the log count. -The entry self-clears when the same line appears in MCM.STS.Acknowledge_Log; an Unacknowledge All Logs command re-arms the latch so the next pile-up is re-logged. - -HMI.Alarm.Full is asserted for the duration of the full condition. - -Command bits (received) -Clear_I – photo-eye input -Parent_Comm_Faulted -Conveyor.STS.Maintenance_Mode -HMI.TimeOut -MCM.STS.Unacknowledge_All_Logs -MCM.STS.Acknowledge_Log - -Status bits (set) -CTRL.STS.Blocked -CTRL.STS.Full -Blocked -Full -Beacon_Light_O (blue) - -HMI bits -HMI.TimeOut – seconds before a block becomes full -HMI.Alarm.Full – true while Full is latched - -Alarm bits -HMI.Alarm.Full – raised whenever Full is true. - -]]> +The blue beacon segment (Beacon_Light_O) lights solid while Full is latched.]]> - + - + - + - + - + + + + + + diff --git a/PLC/AOIs/AOI_IO_BLOCK_AOI.L5X b/PLC/AOIs/AOI_IO_BLOCK_AOI.L5X index 44ae5d0..4d77d79 100644 --- a/PLC/AOIs/AOI_IO_BLOCK_AOI.L5X +++ b/PLC/AOIs/AOI_IO_BLOCK_AOI.L5X @@ -1,72 +1,7 @@  - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -281,54 +293,39 @@ If either link is lost, IOBlock sets Communication_Faulted and mirrors that stat HMI.STATE is 0 when communications are healthy and 1 whenever any link (local or parent) is lost. An HMI alarm is produced only when IOBlock itself is faulted while the parent remains healthy, keeping alarms specific to the failing level. - -When a loss occurs, the routine constructs a log line such as “ — Lost Communication”, places it in MCM.CMD.Log, and increments MCM.CMD.Log_Quantity. -If that exact line later appears in MCM.STS.Acknowledge_Log, IOBlock latches Acknowledge and clears the entry to keep the log concise. -The command MCM.STS.Unacknowledge_All_Logs resets the latch so the next fault generates a fresh message. - -Command bits -The routine receives Communication_Fault from its own interface monitor. -The routine receives Parent.STS.Communication_Faulted from the immediate upstream device. -The routine receives MCM.STS.Unacknowledge_All_Logs to clear the acknowledge latch. - -Status bits -The routine sets Communication_Faulted when either the local or parent link is down. -The routine sets CTRL.STS.Communication_Faulted with the same value. - -HMI bits -The HMI displays HMI.STATE as 0 while links are healthy and 1 while any link is lost. -The HMI raises HMI.Alarm.Communication_Faulted only while Communication_Faulted is true and Parent.STS.Communication_Faulted is false. - -Alarm bits -The system raises HMI.Alarm.Communication_Faulted whenever IOBlock itself loses communication and the parent link is still online. ]]> - + - + - + - + - + + + + + + diff --git a/PLC/AOIs/AOI_JPE_AOI.L5X b/PLC/AOIs/AOI_JPE_AOI.L5X index 7fbb784..ec61754 100644 --- a/PLC/AOIs/AOI_JPE_AOI.L5X +++ b/PLC/AOIs/AOI_JPE_AOI.L5X @@ -1,68 +1,7 @@  - - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -429,22 +440,30 @@ Stopped by Station Stop PushButton]]> + + + - + - + - + + + + + + @@ -452,8 +471,8 @@ Stopped by Station Stop PushButton]]> - + @@ -652,105 +671,78 @@ Once the beam clears (but before the reset arrives) the beacon stays solid on. When the Jam is cleared the beacon turns off. -Logging -On the first scan of each Jam the AOI writes “ JAM” into both Conveyor.CMD.Log and Station.CMD.Log and increments each log’s quantity. -The entry self-clears when the same text appears in MCM.STS.Acknowledge_Log; MCM Unacknowledge All Logs re-arms the latch so a repeat Jam is re-logged. - Run-up enable If the downstream photo-eye (Run_Up_PE) is clear and the conveyor interlock is on, the bit Run_Up latches and the AOI asserts Conveyor.CMD.Run_Up_Enabled so the upstream conveyor can empty itself. Run Up unlatches if the eye blocks again or the Jam re-appears. -Command bits (received) -CTRL.CMD.Jammed -CTRL.CMD.Sorter_JPE_Blocked (Run_Up_PE) -Conveyor.STS.Running -Conveyor.STS.Maintenance_Mode -Conveyor.STS.Interlock -Conveyor.STS.MCM_Started -Parent_Comm_Faulted -Station.STS.Jam_Reset -HMI.TimeOut -MCM.STS.Unacknowledge_All_Logs -MCM.STS.Acknowledge_Log - -Status bits (set) -CTRL.STS.Blocked -CTRL.STS.Jammed -Conveyor.CMD.Jammed -Station.CMD.Jammed -Conveyor.CMD.Run_Up_Enabled -Beacon_Light_O (flash/solid/off) - -HMI bits -HMI.TimeOut (seconds before a block becomes a Jam) -HMI.STATE is not used; the HMI shows live beacon and alarm indicators. -HMI.Alarm.Jammed is set while Jammed is true. - -Alarm bits -HMI.Alarm.Jammed – asserted whenever Jammed is latched. ]]> - + - + - + - + - + - + - + - + - + - + - + - + + + + + + diff --git a/PLC/AOIs/AOI_MCM_AOI.L5X b/PLC/AOIs/AOI_MCM_AOI.L5X index b6d302f..88dac1a 100644 --- a/PLC/AOIs/AOI_MCM_AOI.L5X +++ b/PLC/AOIs/AOI_MCM_AOI.L5X @@ -1,9 +1,8 @@  - - + - + - + + + + + + + + + + - + - + - + - @@ -247,22 +258,30 @@ Faulted]]> + + + - + - + - + + + + + + @@ -270,8 +289,8 @@ Faulted]]> - + @@ -689,9 +708,7 @@ Faulted]]> ” ) and pushes it into the MCM control log. The log word CTRL.CMD.Log carries the message, while CTRL.CMD.Log_Quantity increments the running count. The MCM mirrors both values to CTRL.STS.Log and CTRL.STS.Log_Quantity so the operator panel can display them. -At the same time, the MCM keeps an internal Acknowledge latch: each AOI pulses Un-acknowledge so that any new or persisting fault keeps resurfacing until the operator cycles through and acknowledges it. This ensures that fresh problems never scroll off the list unnoticed. +This module acts as the central logbook and primary interface for the subsystem. The module asserts System_Started whenever a start command is present and all interlocks—Stop command, every E-Stop, and the fire relay—are healthy; both coils drop the instant any interlock fails. @@ -705,220 +722,148 @@ Indicator lamps behave as follows: Each push-button transmits a four-state value to the HMI: state 1 idle/dark, state 2 lit, state 3 pressed-lit, and state 4 pressed-dark. Start_PB_LT_O lights whenever the system is running. -HMI.STATE cascade – the lower move wins: -• System_Started true writes 9. -• System_Started false writes 0. -• Motor_Was_Faulted writes 1. -• Power_Branch_Was_Faulted writes 2. -• Low_Air_Pressure_Fault_Was_Present writes 3. -• Encoder_Fault writes 4. -• Jam_Fault writes 5. -• Communication_Faulted writes 6. -• EStop_Was_Actuated writes 7. -• EStopped_Locally writes 8 and has the highest priority. - -When HMI.Setup_Motor_Speeds is asserted, the module broadcasts the configured speed set-points to every drive in the system. - -A housekeeping section clears the command word each scan and unlatches all momentary HMI bits, making every press a clean one-shot. - -Command bits -The module receives CTRL.CMD.Log. -The module receives CTRL.CMD.Log_Quantity. -The module receives CTRL.CMD.Acknowledge_Log. -The module receives CTRL.CMD.Unacknowledge_All_Logs. -The module receives CTRL.CMD.VFD_Was_Faulted. -The module receives CTRL.CMD.Power_Branch_Was_Faulted. -The module receives CTRL.CMD.Low_Air_Pressure_Fault_Was_Present. -The module receives CTRL.CMD.Encoder_Fault. -The module receives CTRL.CMD.Jam_Fault. -The module receives CTRL.CMD.Communication_Faulted. -The module receives CTRL.CMD.EStop_Was_Actuated. -The module receives CTRL.CMD.VFD_Faulted. -The module receives CTRL.CMD.EStop_Actuated. -The module receives CTRL.CMD.Low_Air_Pressure_Fault. -The module receives CTRL.CMD.Power_Branch_Fault. - -Status bits -The module sets CTRL.STS.Log. -The module sets CTRL.STS.Log_Quantity. -The module sets CTRL.STS.Acknowledge_Log. -The module sets CTRL.STS.Unacknowledge_All_Logs. -The module sets CTRL.STS.Communication_Faulted. -The module sets CTRL.STS.System_Started. -The module sets CTRL.STS.System_Start_Requested. -The module sets CTRL.STS.Setup_Motor_Speeds. -The module sets CTRL.STS.VFD_Fault_Reset_Requested. -The module sets CTRL.STS.Power_Branch_Fault_Reset_Requested. -The module sets CTRL.STS.Low_Air_Pressure_Fault_Reset_Requested. -The module sets CTRL.STS.Jam_Reset_Requested. - -HMI bits -The HMI exchanges HMI.Start_PB. -The HMI exchanges HMI.Stop_PB. -The HMI exchanges HMI.Setup_Motor_Speeds. -The HMI exchanges HMI.Motor_Fault_Reset_PB. -The HMI exchanges HMI.Power_Branch_Fault_Reset_PB. -The HMI exchanges HMI.Low_Air_Pressure_Reset_PB. -The HMI exchanges HMI.Jam_Restart_PB. -The HMI displays HMI.STATE. -The HMI displays HMI.Start_PB_STATE. -The HMI displays HMI.Motor_Fault_Reset_PB_STATE. -The HMI displays HMI.Power_Branch_Fault_Reset_PB_STATE. -The HMI displays HMI.Low_Air_Pressure_Reset_PB_STATE. -The HMI displays HMI.Jam_Restart_PB_STATE. -The HMI displays HMI.EStop_Actuated_LT. -The HMI displays HMI.Local_Estop_LT. - -Alarm bits -The system raises HMI.Alarm.Start_PB_Pressed. -The system raises HMI.Alarm.Stop_PB_Pressed. -The system raises HMI.Alarm.Motor_Fault_Reset_PB_Pressed. -The system raises HMI.Alarm.Jam_Restart_PB_Pressed. -The system raises HMI.Alarm.Low_Air_Pressure_Reset_PB_Pressed. -The system raises HMI.Alarm.Power_Branch_Fault_Reset_PB_Pressed. -The system raises HMI.Alarm.UPS_Battery_Fault. -The system raises HMI.Alarm.On_UPS_Battery. -The system raises HMI.Alarm.UPS_Battery_Low. -The system raises HMI.Alarm.NAT_Switch_Fault. -The system raises HMI.Alarm.Fire_Relay_De_Energized. -The system raises HMI.Alarm.EStopped_Locally. -]]> +When HMI.Setup_Motor_Speeds is asserted, the module broadcasts the configured speed set-points to every drive in the system.]]> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + @@ -927,172 +872,172 @@ The system raises HMI.Alarm.EStopped_Locally. - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/PLC/AOIs/AOI_PMM_AOI.L5X b/PLC/AOIs/AOI_PMM_AOI.L5X index c29cb88..e1ecfe6 100644 --- a/PLC/AOIs/AOI_PMM_AOI.L5X +++ b/PLC/AOIs/AOI_PMM_AOI.L5X @@ -1,8 +1,8 @@  - + - + - + + + + + + + + + - + @@ -107,16 +117,24 @@ + + + - + - + + + + + + @@ -125,7 +143,7 @@ - + @@ -134,12 +152,12 @@ - + - + diff --git a/PLC/AOIs/AOI_RACK_AOI.L5X b/PLC/AOIs/AOI_RACK_AOI.L5X index 1ba1afa..c0cacb0 100644 --- a/PLC/AOIs/AOI_RACK_AOI.L5X +++ b/PLC/AOIs/AOI_RACK_AOI.L5X @@ -1,8 +1,8 @@  - + - + - + + + + + + + + + @@ -21,8 +31,8 @@ - + @@ -125,64 +135,49 @@ The routine now monitors four modules in the local rack: an EN4TR communication For each module it executes a GSV Module FaultCode; whenever the reported code is non-zero the routine sets a matching _Faulted coil. All three I/O modules (Slots 5, 6, 7) drive individual HMI alarms exactly as before. -If the EN4TR in Slot 2 is faulted the routine also energises HMI.Alarm.Slot5_IB16_Faulted, using that alarm as a generic “rack interface fault” so the operator is alerted even when the downstream modules cannot report their own status. - -Command bits -No external command bits are required; the monitor runs continuously. - -Status bits -The routine sets Slot2_EN4TR_Faulted when the EN4TR adapter in Slot 2 reports a fault. -The routine sets Slot5_IB16_Faulted when the IB16 module in Slot 5 reports a fault. -The routine sets Slot6_OB16E_Faulted when the OB16E module in Slot 6 reports a fault. -The routine sets Slot7_IB16S_Faulted when the IB16S module in Slot 7 reports a fault. - -HMI bits -The HMI displays HMI.Alarm.Slot5_IB16_Faulted whenever either Slot2_EN4TR_Faulted or Slot5_IB16_Faulted is true. -The HMI displays HMI.Alarm.Slot6_OB16E_Faulted whenever Slot6_OB16E_Faulted is true. -The HMI displays HMI.Alarm.Slot7_IB16S_Faulted whenever Slot7_IB16S_Faulted is true. - -Alarm bits -The system raises HMI.Alarm.Slot5_IB16_Faulted when the EN4TR adapter in Slot 2 is faulted or when the IB16 module in Slot 5 is faulted. -The system raises HMI.Alarm.Slot6_OB16E_Faulted when the OB16E module in Slot 6 is faulted. -The system raises HMI.Alarm.Slot7_IB16S_Faulted when the IB16S module in Slot 7 is faulted. -]]> +If the EN4TR in Slot 2 is faulted the routine also energises HMI.Alarm.Slot5_IB16_Faulted, using that alarm as a generic “rack interface fault” so the operator is alerted even when the downstream modules cannot report their own status.]]> - + - + - + - + - + - + - + + + + + + diff --git a/PLC/AOIs/AOI_STATION_EPC_AOI.L5X b/PLC/AOIs/AOI_STATION_EPC_AOI.L5X index a5b447b..ae18035 100644 --- a/PLC/AOIs/AOI_STATION_EPC_AOI.L5X +++ b/PLC/AOIs/AOI_STATION_EPC_AOI.L5X @@ -1,28 +1,7 @@  - - + - - - - - + + + + + + + + + + + + + + - + - + - + - @@ -270,22 +281,30 @@ + + + - + - + - + + + + + + @@ -293,8 +312,8 @@ - + @@ -437,31 +456,44 @@ + + + - + - + - + - + - + + + + + + @@ -470,7 +502,7 @@ - + @@ -479,7 +511,7 @@ - + @@ -488,7 +520,7 @@ - + @@ -497,12 +529,12 @@ - + - + diff --git a/PLC/AOIs/AOI_STATION_JR_CHUTE_AOI.L5X b/PLC/AOIs/AOI_STATION_JR_CHUTE_AOI.L5X index 1e2b337..bc25eb1 100644 --- a/PLC/AOIs/AOI_STATION_JR_CHUTE_AOI.L5X +++ b/PLC/AOIs/AOI_STATION_JR_CHUTE_AOI.L5X @@ -1,173 +1,152 @@  - - + + - + - + - - - + + + - + + + + + + + + + - + - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -179,11 +158,12 @@ - - + + + - + @@ -194,40 +174,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -238,21 +185,37 @@ - + + + + - + - - - - - - - + - + + + + + + + + + + + + + + + + + + + + @@ -266,105 +229,70 @@ - +Lamp control – The lamp is solid while CTRL.CMD.Jammed is true; once the jam clears the lamp drops.]]> - + - + - + - + - + + + + - + - + - - + - @@ -372,23 +300,35 @@ HMI.Alarm.Pressed is raised whenever the physical Jam-Reset push-button is press + + + + + + - + + + + - + - + @@ -397,16 +337,20 @@ HMI.Alarm.Pressed is raised whenever the physical Jam-Reset push-button is press - + + + + + + - - - + + diff --git a/PLC/AOIs/AOI_STATION_SS_PB_AOI.L5X b/PLC/AOIs/AOI_STATION_SS_PB_AOI.L5X index 0aaf5d3..e897509 100644 --- a/PLC/AOIs/AOI_STATION_SS_PB_AOI.L5X +++ b/PLC/AOIs/AOI_STATION_SS_PB_AOI.L5X @@ -1,99 +1,7 @@  - - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -405,22 +416,30 @@ Stopped by Station Stop PushButton]]> + + + - + - + - + + + + + + @@ -428,8 +447,8 @@ Stopped by Station Stop PushButton]]> - + @@ -565,41 +584,54 @@ Stopped by Station Stop PushButton]]> + + + - + - + - + - + - + - + - + + + + + + @@ -608,17 +640,17 @@ Stopped by Station Stop PushButton]]> - + - + - + @@ -627,52 +659,52 @@ Stopped by Station Stop PushButton]]> - + - + - + - + - + - + - + - + - + - + diff --git a/PLC/AOIs/AOI_STATION_S_PB_AOI.L5X b/PLC/AOIs/AOI_STATION_S_PB_AOI.L5X index be16d45..494ee3c 100644 --- a/PLC/AOIs/AOI_STATION_S_PB_AOI.L5X +++ b/PLC/AOIs/AOI_STATION_S_PB_AOI.L5X @@ -1,98 +1,7 @@  - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -404,22 +416,30 @@ Stopped by Station Stop PushButton]]> + + + - + - + - + + + + + + @@ -427,8 +447,8 @@ Stopped by Station Stop PushButton]]> - + @@ -522,36 +542,51 @@ Stopped by Station Stop PushButton]]> + + + - + - + - + - + - + - + + + + + + @@ -560,32 +595,32 @@ Stopped by Station Stop PushButton]]> - + - + - + - + - + - +