First Scan Bit
System Time
RWPS Generator Swg Building Ambient Temperature
RWPS Stand-By Generator Fuel Tank Level
PLC Cold Start
PLC Warm Start
CPU Error
1
1
1
1
1
1
1
1
RWPS Stand-By Generator Common Alarm
RWPS Stand-By Generator Low Fuel
RWPS Stand-By Generator Low Oil Pressure
RWPS Stand-By Generator Over Speed
RWPS Pump 1 Suction Pressure Loss
RWPS Stand-By Generator Battery System Malfunction
RWPS Stand-By Generator Enclosure Intrusion
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
RWPS Stand-By Generator 2 Low Fuel
RWPS Stand-By Generator 2 Low Oil Pressure
RWPS Stand-By Generator 2 Over Speed
RWPS Stand-By Generator 2 High Water Temperature
RWPS RWPS Switchgear Building PLC Cabinet DC Power OK
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare
RWPS Generator Switchgear Building Ambient Temperature
RWPS Stand-By Generator 2 Fuel Tank Level
Spare
Spare
Spare
Spare
Spare
RWPS Stand-By Generator 2 Run Status Channel Fault
RWPS Stand-By Generator 2 Low Fuel Channel Fault
RWPS Stand-By Generator 2 Low Oil Pressure Channel Fault
RWPS Stand-By Generator 2 Over Speed Channel Fault
RWPS Stand-By Generator 2 High Water Temperature Channel Fault
RWPS Generator Switchgear Building PLC Cabinet DC Power OK Channel Fault
RWPS Generator Switchgear Building Ambient Temperature Channel Fault
RWPS Stand-By Generator 2 Fuel Tank Level Channel Fault
RWPS NIP Cabinet Door Open
RWPS NIP Cabinet DC Power Ok
NIP Cabinet UPS Alarm
RWPS PLC Cabinet Door Open
RWPS PLC Cabinet DC Power Ok
RWPS PP-0130-1 SPD Maintenance Alarm
When Set to 1 enables automatic backup of current values
Set to 1 when the card is correct and the application is consistent with CPU Internal Application RAM
1 means that the application backup is consistent
Set to 1 to start a backup operation (transfer application from RAM to card)
Set to 1 to replace initial values with current values
RWPS SWG-0130-1 Battery Charger Common Trouble Alarm
RWPS SWG-0130-1 Battery Enclosure Hydrogen Gas Alarm
RWPS Stand-By Generator 2 Common Alarm
RWPS Stand-By Generator 2 Battery System Malfunction
RWPS Generator Switchgear Building Smoke Detected
RWPS Generator Switchgear Building PP-0130-1 SPD Maintenance Alarm
RWPS Generator Switchgear Building LP-0130-1 SPD Maintenance Alarm
Spare
Spare
Spare
RWPS SWG-0130-1 Battery Charger Common Trouble Alarm Channel Fault
RWPS SWG-0130-1 Battery Enclosure Hydrogen Gas Alarm Channel Fault
RWPS Stand-By Generator 2 Common Alarm Channel Fault
RWPS Stand-By Generator 2 Battery System Malfunction Channel Fault
RWPS Generator Switchgear Building Smoke Detected Channel Fault
RWPS Generator Switchgear Building PP-0130-1 SPD Maintenance Alarm Channel Fault
RWPS Generator Switchgear Building LP-0130-1 SPD Maintenance Alarm Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
RWPS Generator Switchgear Building Intrusion Alarm
RWPS Generator Switchgear Common Alarm
RWPS Generator Switchgear Transfer Failure
RWPS Generator Switchgear Building Intrusion Alarm Channel Fault
RWPS Generator Switchgear Common Alarm Channel Fault
RWPS Generator Switchgear Transfer Failure Channel Fault
RWPS Load Bank Breaker Open Status Channel Fault
RWPS Load Bank Breaker Closed Status Channel Fault
RWPS GEN-0130-2 Main Open Status Channel Fault
RWPS GEN-0130-2 Main Closed Status Channel Fault
RWPS "GB" Feeder To SWG-0112-2 Open Status Channel Fault
RWPS "GB" Feeder To SWG-0112-2 Closed Status Channel Fault
RWPS "GA" Feeder To SWG-0112-1 Open Status Channel Fault
RWPS "GA" Feeder To SWG-0112-1 Closed Status Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
RWPS Generator Switchgear Building PLC Cabinet - Intrusion Alarm
RWPS Generator Switchgear Building NIP Cabinet - Intrusion Alarm
RWPS Generator Switchgear Building NIP Cabinet - 24V DC Power OK
RWPS Generator Switchgear Building NIP Cabinet - UPS Alarm
Spare
RWPS Generator Switchgear Building NIP Cabinet - UPS Bypass
Spare
Spare
Spare
RWPS Generator Switchgear Building PLC Cabinet - Intrusion Alarm Channel Fault
RWPS Generator Switchgear Building NIP Cabinet - Intrusion Alarm Channel Fault
RWPS Generator Switchgear Building NIP Cabinet - 24V DC Power OK Channel Fault
RWPS Generator Switchgear Building NIP Cabinet - UPS Alarm Channel Fault
Spare Channel Fault
RWPS Generator Switchgear Building NIP Cabinet - UPS Bypass Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
Spare Channel Fault
RWPS Stand-By Generator 1 Low Fuel
RWPS Stand-By Generator 1 Low Fuel Channel Fault
RWPS Stand-By Generator 1 Run Status Channel Fault
RWPS Stand-By Generator 1 Low Oil Pressure
RWPS Stand-By Generator 1 Low Oil Pressure Channel Fault
RWPS Stand-By Generator 1 Over Speed
RWPS Stand-By Generator 1 Over Speed Channel Fault
RWPS Stand-By Generator 1 High Water Temperature
RWPS Stand-By Generator 1 High Water Temperature Channel Fault
RWPS Stand-By Generator 1 Common Alarm
RWPS Stand-By Generator 1 Common Alarm Channel Fault
RWPS Stand-By Generator 1 Battery System Malfunction
RWPS Stand-By Generator 1 Battery System Malfunction Channel Fault
RWPS GEN-0130-1 Main Open Status Channel Fault
RWPS GEN-0130-1 Main Closed Status Channel Fault
RWPS Stand-By Generator 1 Fuel Tank Level
RWPS Stand-By Generator 1 Fuel Tank Level Channel Fault
RWPS Stand-By Generator 2 Run Status
RWPS Load Bank Breaker Closed Status
RWPS Load Bank Breaker Open Status
RWPS GEN-0130-2 Main Closed Status
RWPS GEN-0130-2 Main Open Status
RWPS "GB" Feeder To SWG-0112-2 Closed Status
RWPS "GB" Feeder To SWG-0112-2 Open Status
RWPS "GA" Feeder To SWG-0112-1 Closed Status
RWPS "GA" Feeder To SWG-0112-1 Open Status
RWPS GEN-0130-1 Main Closed Status
RWPS GEN-0130-1 Main Open Status
RWPS Stand-By Generator 1 Run Status
RWPS CP-002-1 Global Alarm Reset
RWPS CP-002-1 Rack 0 Slot 2 Fault
RWPS CP-002-1 Rack 0 Slot 4 Fault
RWPS CP-002-1 Rack 0 Slot 5 Fault
RWPS CP-002-1 Rack 0 Slot 6 Fault
RWPS CP-002-1 Rack 0 Slot 7 Fault
RWPS CP-002-1 PLC Time - Year
RWPS CP-002-1 PLC Time - Second
RWPS CP-002-1 PLC Time - Month
RWPS CP-002-1 PLC Time - Min
RWPS CP-002-1 PLC Time - Hour
RWPS CP-002-1 PLC Time - Day
RWPS Stand-By Generator 1 Fuel Tank Level
RWPS Stand-By Generator 2 Fuel Tank Level
510
8192
3072
0
0
0
0
-25.0
-25.0
0.0
100.0
4000.0
20000.0
90.0
70.0
55.0
30.0
3100.0
20500.0
3500.0
50.0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
2
4
265
0
0
0
250
0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
2
0
265
0
0
0
250
0
0.0
0.0
0
0
0
0
0
0
0
0.0
0.0
0.0
0.0
0.0
0.0
0
0.0
0.0
0.0
0
0
0
0
0
0
0.0
0.0
0.0
0.0
0.0
0
-1.0
0
RWPS Generator Switchgear Building Ambient Temperature
224
0
0
0
1
0
13605
78.83375
78.83375
14.0
122.0
4000.0
20000.0
120.0
90.0
70.0
45.0
3100.0
20500.0
3500.0
50.0
0.0
0.0
2
0
0
0
0
0
750
0
60.0
60.0
2
0
0
0
0
0
500
0
60.0
60.0
2
0
0
0
0
0
500
0
60.0
60.0
2
0
0
0
0
0
750
0
60.0
60.0
2
0
0
0
0
0
250
0
5.0
5.0
2
0
0
0
0
0
1
0
60.0
60.0
2
0
0
0
0
0
1
0
60.0
60.0
2
0
0
0
0
0
250
0
60.0
60.0
2
0
0
0
0
0
250
0
5.0
5.0
0
0
0
0
0
0
0
0.0
0.0
0.0
0.0
0.0
0.0
0
0.0
0.0
0.0
0
0
0
0
0
0
0.0
0.0
0.0
0.0
0.0
0
-1.0
0
RWPS Stand-By Generator 2 Common Alarm
-30195
16
0
0
0
0
91
0
4160
0
0
8496
750
0
5.0
0.0
2
0
0
0
0
0
250
0
5.0
5.0
5.0
8496
RWPS Stand-By Generator 2 Low Fuel
4
0
0
0
0
0
2
0
0
0
0
0
750
0
30.0
30.0
2
0
0
0
0
0
250
0
30.0
30.0
30.0
0
RWPS Stand-By Generator 2 Low Oil Pressure
4
0
0
0
0
0
2
0
0
0
0
0
750
0
5.0
5.0
2
0
0
0
0
0
250
0
5.0
5.0
5.0
0
RWPS Stand-By Generator 2 Over Speed
4
0
0
0
0
0
2
0
0
0
0
0
750
0
5.0
5.0
2
0
0
0
0
0
250
0
5.0
5.0
5.0
0
RWPS Stand-By Generator 2 High Water Temperature
4
0
0
0
0
0
2
0
0
0
0
0
750
0
5.0
5.0
2
0
0
0
0
0
250
0
5.0
5.0
5.0
0
RWPS Stand-By Generator 2 Battery System Malfunction
4
0
0
0
0
0
2
0
0
0
0
0
750
0
5.0
5.0
2
0
0
0
0
0
250
0
5.0
5.0
5.0
0
RWPS Generator Switchgear Building Intrusion
1
0
0
0
0
0
2
0
0
0
0
0
1
0
5.0
5.0
2
0
0
0
0
0
1
0
5.0
5.0
5.0
0
RWPS Generator Switchgear Building NIP Cabinet - Intrusion Alarm
4
0
0
0
0
0
2
0
0
0
0
0
1
0
5.0
5.0
2
0
0
0
0
0
1
0
5.0
5.0
5.0
0
RWPS Generator Switchgear Building NIP Cabinet - 24V DC Power OK
1
0
0
0
0
0
2
0
0
0
0
0
1
0
5.0
5.0
2
0
0
0
0
0
1
0
5.0
5.0
5.0
0
RWPS Generator Switchgear Building NIP Cabinet - UPS Alarm
4
0
0
0
0
0
2
0
0
0
0
0
750
0
5.0
5.0
2
0
0
0
0
0
250
0
5.0
5.0
5.0
0
RWPS Generator Switchgear Building PLC Cabinet - Intrusion Alarm
4
0
0
0
0
0
2
0
0
0
0
0
1
0
5.0
5.0
2
0
0
0
0
0
1
0
5.0
5.0
5.0
0
RWPS Generator Switchgear Building PLC Cabinet DC Power OK
1
0
0
0
0
0
2
0
0
0
0
0
1
0
5.0
5.0
2
0
0
0
0
0
1
0
5.0
5.0
5.0
0
RWPS Generator Switchgear Building PP-0130-1 SPD Maintenance Alarm
4
0
0
0
0
0
2
0
0
0
0
0
750
0
5.0
5.0
2
0
0
0
0
0
250
0
5.0
5.0
5.0
0
RWPS SWG-0130-1 Battery Charger Common Trouble Alarm
RWPS SWG-0130-1 Battery Enclosure Hydrogen Gas Alarm
RWPS Stand-By Generator 1 Low Fuel Channel Fault
RWPS Stand-By Generator 1 Low Oil Pressure
RWPS Stand-By Generator 1 Over Speed
RWPS Stand-By Generator 1 High Water Temperature
RWPS Stand-By Generator 1 Common Alarm
RWPS Stand-By Generator 1 Battery System Malfunction
RWPS Generator Switchgear Building NIP Cabinet - UPS Bypass
RWPS Generator Switchgear Building Smoke Detected
RWPS Generator Switchgear Building LP-0130-1 SPD Maintenance Alarm
RWPS Generator Switchgear Common Alarm
RWPS Generator Switchgear Transfer Failure
PLC Clock Control with Midnight Flag.(Version 1.0 - M580)
PLC Time and Date updated to User or SCADA Server values when set "true"
Entered Month Value (1-12)
Entered Day of Month Value (1-31)
Entered Year Value (2017-2099 or 00-99)
Entered Hour Value (0-12)
Entered Minute Value (0-59)
Entered Seconds Value (1-59)
Current Day of Week from PLC Calendar
Current Month from PLC Calendar
Current Day from PLC Calendar
Current Year from PLC Calendar
Current Hour from PLC Clock
Current Minuite from PLC Clock
Current Second from PLC Clock
New Day - Set to true for 1 Second at PLC Clock Midnight.
PLC Real Time Clock Value
Seconds (16#ss,-)
Hour, Minute (16#hhmm)
Month, Day (16#mmdd)
year (16#yyyy)
Internal Time being Written to PLC Real Time Clock
This section writes to the PLC clock
Day and Month into Third integer of the Set DateTime Array - set_plc_rtc
SYSTEM TIME - SET PLC REAL TIME CLOCK
Update the PLC Real time Clock with conditioned values
Move array into Day Time format and update the clock
Year into fourth integer of the Set DateTime Array - set_plc_rtc
Minutes and Hours into the second integer of the Set DateTime Array - set_plc_rtc
After Block inputs are limted to appropriate range, the datatypes are converted and put into an array used by the PLC Real time Clock, when the update bit is set true, the clock is updated with the array values.
If entered value is greater than 2010, subtract 2000, else limit from 0-99 & add 2000.
This section reads the PLC clock
SYSTEM TIME - GET PLC REAL TIME CLOCK CURRENT VALUES
- Derive Day of Week, Second, Minuite, Hour, Day, Month, and Year from PLC System Real Time Clock DT Format.
Derive Seconds from the first integer of the DateTime Array - plc_rtc
Use a Multiplexer to select proper BCD Type values for Day of Week
Derive year from the final integer of the DateTime Array - plc_rtc
Derive Day and Month from the third integer of the DateTime Array - plc_rtc
Derive Minutes and Hours from the second integer of the DateTime Array - plc_rtc
Extract the PLC Real TIme Clock into DATE TIME Format, then extract the DATE TIME into an array.
This section determines when a new day has occured
SYSTEM TIME - CALCULATE MIDNIGHT
- At midnight generate a New Day flag for Totalizer Reset
If PLC Clock Hour =0, Minuite=0, and Second=0, flag new day.
Analog Inputs
Raw from Input Card
Reset all Alarms On this DFB
Used for Scaling to EU
Used for Scaling to EU
This prescan routine is only exicuted before the first scan or on changes from program mode to run mode:
Suppress Level Alarms (LL, L, H, HH, & ROC)
Set if any of the I/O modules associated with the monitoring or control of the equipment has faulted.
System Time
Analog Input DDT
Suppress Alarm from Program Control
UnSuppress Alarm from Program Control
Unshelve Alarm from Program Control
At Least One Alarm is Active
At Least One Alarm is Annuciating
At Least One Alarm is Acknowledged
At least one alarm is latched and all latched alarms are resetable
Scaled Value in Engineering Units
Locked by Program
Device has a Broken Loop Alarm
Device Signal is Under Range Alarm
Device Signal is Low Low Alarm
Device Signal is Low Alarm
Device Signal is High Alarm
Device Signal is High High Alarm
Device Signal is Over Range Alarm
Device Rate of Change Alarm
Totalizing DFB
PLC IO Fault
totalized value since totalizer was last reset.
Ain.RawMax: Used for Scaling to EU
Ain.INTK_SP: Interlock Setpoint
Determine which Alarm has the Highest Priority when any alarm is active.
This is to determine which icon to display on HMI.
PLCFault:
Test for a Under Range fault.
Trip the immediate fault if enabled and raw is less than the set point.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
RawMax: Used for Scaling to EU
Ain.PCUnSuppress:
Ain.SuppressLA: Suppress Level Alarms (LL, L, H, HH, ROC)
If there is a PLC wide global reset, latch the local alarm reset so the global reset has the same effect as the local reset.
PCUnSuppress:
if any one of the Alarms are on, set the general GenAlarm bit
Scale the raw input into engineering units.
((VMAX - VMIN) * (Raw - RawMin)/(RawMax - RawMin)) + VMIN
Ain.RawMax: Raw Value used for scaling to EU
Under Range Alarm.
Low Alarm.
High Alarm.
Ain.Raw: Raw Value from input card
Reset all Alarms in this AOI
High High Alarm.
Ain.VMIN: Scaled Value with Raw at RawMin
Low Low Alarm.
Set all Alarm DFB's Shelve Duration Time. The HMI is using "almHighHigh" for the initial Shelve Duration.
Ain.INTK_SP: Interlock Setpoint
Broken Loop Alarm.
Test for a Rate of Change fault.
Trip the imidiate fault if enabled and absolute value of the change (* 5 to get change per second based on 200 ms period) is greater than the set point.
Write current EU to old value for next scan.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
ABS(Old_Val-VALU)*5 > RCSP
On First Scan reset all Alarms
totalized value since totalizer was last reset.
Ain.Raw: Raw Value from input card
Acknowledge Command from Logic to Acknowledge All Alarms in this DFB
Ain.Raw: Raw Value from input card
Ain.INTK_Reset_SP: Interlock Reset Setpoint
PCSuppress:
Map items from DDT
Raw: Raw from Input Card
Ain.INTK_Reset_SP: Interlock Reset Setpoint
RawMin: Used for Scaling to EU
When the Shelve Timer is Done Un-Latch the Shelve Command from HMI.
Test for a Over Range fault.
Trip the immediate fault if enabled and raw is greater than the set point.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
Ain.Raw: Raw Value from input card
Ain.VALU: Scaled Value in Engineering Units
Ain.PCSuppress:
Ain.Raw: Raw Value from input card
Clear all HMI Commands
SuppressLA: Suppress Level Alarms (LL, L, H, HH, ROC)
Ain.H_SP: High Alarm Limit
Test for a High fault.
Trip the immediate fault if enabled and raw is greater than the set point.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
Ain.RCSP: Max Absolute Chnage in EU per second to trip the Rate of Change Fault
Over Range Alarm.
if any one of the acknowledged bits are on, set the GenAlarmAcked bit
Ain.RawMin: Used for Scaling to EU
Test for a High High fault.
Trip the immediate fault if enabled and raw is greater than the set point.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
To avoid division by zero, the RawMin and RawMax must be different.
Set true to totalize flow.
Ain.BLSP: Raw Low Limit for Broken Loop
Ain.LL_SP: Low Low Alarm Limit
Ain.GlobalReset: Reset all Alarms in this DFB
Ain.Raw: Raw Value from input card
This is to ensure that the reset setpoint doesn't get set above the interlock setpoint.
if in alarm and all alarms in the alarm array are either not in alarm or resetable, then the overall device is resetable.
Rate of Change Alarm.
Ain.Raw: Raw Value from input card
Ain.RawMin: Raw Value used for scaling to EU
Map items to DDT
Ain.INTK_SP: Interlock Setpoint
Ain.INTK_Reset_SP: Interlock Reset Setpoint
GlobalReset: Reset all Alarms in this DFB
Ain.URSP: Under Range Raw Alarm Limit
Ain.PCUnShelve:
Ain.Raw: Raw from Input Card
Ain.RawMin: Raw Value used for scaling to EU
Ain.LL_SP: Low Low Alarm Limit
PCUnShelve:
If above the Interlock Setpoint you are now interlocked. The Interlock will automatically clear when the VALU is below the Interlock reset setpoint.
Test for a Low fault.
Trip the immediate fault if enabled and raw is less than the set point.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
Test for a Broken loop fault.
Trip the immediate fault if enabled and raw is less than the set point.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
Ain.HH_SP: High High Alarm Limit
Ain.Raw: Raw Value from input card
Ain.ORSP: Over Range Raw Alarm Limit
Call the Alarm AOI for the IO PLC Fault
Test for a Low Low fault.
Trip the immediate fault if enabled and raw is less than the set point.
Reset the alarm in either the AOI reset or the Global Reset are set.
Process the Alarm with the Alarm AOI
Set the Alarm bit.
if any one of the Annunciate bits are on, set the general GenAnnuciate bit
Interlock: If the Interlock is Enabled, check to see if the VALU(Engineering Unit) is Greater than the Interlock Setpoint.
Ain.PLCFault:
Move Alarm Notify # to 0 if no Alarms are active.
DDT for Analog DFB: Analog Inputs, No Strings
First Integer of packed Bits
Reset all Alarms On this PLC
Enable High High Alarm
Enable High Alarm
Enable Low Alarm
Enable Low Low Alarm
Enable Broken Loop Alarm
Enable Over Range Alarm
Enable Under Range Alarm
Enable Rate of Change Alarm
Suppress All Alarms
Suppress Level Alarms (LL, L, H, HH, & ROC)
RawMin = RawMax: Causes division by zero
High High Alarm
High Alarm
Low Alarm
Low Low Alarm
Second Integer of packed Bits
Broken Loop Alarm
Over Range Alarm
Under Range Alarm
Rate of Change Alarm
Reset all Alarms in this DFB
At Least One Alarm is Active
At Least One Alarm is Annunciating
At Least One Alarm is Acknowledged
At least one alarm is latched and all latched alarms are resetable
High High Fault
High Fault
Low Fault
Low Low Fault
Broken Loop Fault
Over Range Fault
Under Range Fault
Third Integer of packed Bits
Rate of Change Fault
Set true to totalize flow.
Tagged Out of Service
Acknowledge Command from Logic to Acknowledge All Alarms in this DFB
Locked by program (ESD)
Set if any of the I/O modules associated with the monitoring or control of the equipment has faulted.
Set if any of the I/O modules associated with the monitoring or control of the equipment has faulted.
Enable Interlock Alarm
Shelve Command from HMI
Shelved Status
Suppress Command from HMI
Suppressed Status
Suppress Alarm from Program Control
UnSuppress Alarm from Program Control
Unshelve Alarm from Program Control
Fourth Integer of packed Bits (SPARE)
Spare Integer
Spare Integer
Raw from Input Card
Scaled Value in Engineering Units
Prevoius Value for Rate of Change Checking
Scaled Value with Raw at RawMin
Scaled Value with Raw at RawMax
Used for Scaling to EU
Used for Scaling to EU
High High Alarm Limit
High Alarm Limit
Low Alarm Limit
Low Low Alarm Limit
Raw Low Limit for Broken Loop
Over Range Raw Alarm Limit
Under Range Raw Alarm Limit
Max Absolute Change In EU per Second to trip the Rate Of Change Fault
Interlock Alarm Limit
totalized value since totalizer was last reset.
High High Alarm DDT
First Integer of packed Bits
Second Integer of packed Bits
High Alarm DDT
Low Alarm DDT
Low Low Alarm DDT
Broken Loop Alarm DDT
Over Range Alarm DDT
Under Range Alarm DDT
Rate Of Change Alarm DDT
PLC IO Fault Alarm DDT
Totalizer DDT
Interlock Reset Setpoint
Combined Alarm Value Notification for HMI
DDT for Alarm DFB, No Strings
First Integer of packed Bits
Discrete input condition indicating a faulted state.
Value of the Fault input that indicates an alarm condition
Used to reset all alarms in the PLC
Fault Is In Alarm (on longer than the delay)
Alarm: Output indicating a fault has progressed to alarm state.
Annunciate, indicator to flash alarm on HMI. Set once a fault has reached alarm status. Setting Ack will reset Annuciate and will only set again once the fault transitions from False to True again.
Acknowledged: Alarm has been acknowledged, will stop the individual alarms from blinking on the popups
Alarm is latched but can be reset becasue condition is cleared.
Reset this alarm only
Acknowledge Command
Remove the Acknowledge Status
Maintenance Command to Enable Alarm
Maintenance Command to Disable Alarm
Operator Command to Shelve Alarm
Operator Command to UnShelve Alarm
Supervisor Command to Suppress Alarm
Second Integer of packed Bits
Supervisor Command to Unsuppress Alarm
Alarm and Events Shelve Timer Done
Discrete Input condition indicating a Bad Signal condition
Alarm and Events Bools
Suppress Alarm Command to AE Server
UnSuppress Alarm Command to AE Server
Shelve Alarm Command to AE Server
Unshelve Alarm Command to AE Server
Enable Alarm Command to AE Server
Disable Alarm Command to AE Server
Acknowlege Command to AE Server
Reset Command to AE Server
Alarm Suppressed Status from AE Server
Alarm Shelved Status from AE Server
Alarm Disabled Status from AE Server
Alarm Acknowledged Status from AE Server
Alarm Command to AE Server
Spare Int
Spare Int
Alarm Value Notification for Alarm and Event Server
Alarm and Events Severity (0-1000)
Alarm and Events Suppress Duration Setpoint
Alarm Delay: Seconds before a fault will progress to alarm state.
Alarm Time Remaining: Seconds Remaining Until Alarm is Tripped
DDT for Tot Ladder DFB: Totalizes analog value, provides increased precision compared to built in totalizer, No Strings
First Integer of Packed Bits.
This prescan routine is only exicuted before the first scan or on changes from program mode to run mode:
Start Totalizing becasue flow is above the minimum
HMI Command to Reset Flow Totals
Second Integer of Packed Bits. (SPARE)
Third Integer of Packed Bits. (SPARE)
Fourth Integer of Packed Bits. (SPARE)
Spare Integer
Spare Integer
Time base of flow: 0 = per Second, 1 = per Minute, 2 = per Hour, 3 = per Day
Scaled Analog Value
Max Scaled Analog Value
Low Flow Cut Off Percent of Max Flow That Stops Totaling
Today's Total Flow
Yesterday's Total Flow
Total FLow Since Last Reset
Counts 500 days
Keep total for past 500 days
In flow units
Time the total was last reset
Year
Month
Day
Hours
Minutes
Seconds
How often per unit of time is analog value sampled
Total Flow for the Current Minute
Total Flow for One 5th of One Second
Total Flow of all Completed Minutes Today
Totalized Value
This DFB supports alarming on a discrete value (Fault). The alarm can be tripped by Fault being 0 or 1 (as defined by the AlarmState input).
Discrete input condition indicating a faulted state.
Value of the Fault input that indicates an alarm condition
Discrete input condition indicating a Bad Signal condition
Global Reset from Logic
Suppress Alarm from Program Control
UnSuppress Alarm from Program Control
Unshelve Alarm from Program Control
Alarm DDT
Alarm: Output indicating a fault has progressed to alarm state.
Annunciate, indicator to flash alarm on HMI. Set once a fault has reached alarm status. Setting Ack will reset Annuciate and will only set again once the fault transitions from False to True again.
Acknowledged: Alarm has been acknowledged, will stop the individual alarms from blinking on the popups
Alarm is latched but can bee reset becasue condition is cleared.
Fault Is In Alarm (on longer than the delay)
1=Alarm has been suppressed, shelved or disabled, display "S" icon
Alarm Time Remaining: Seconds Remaining Until Alarm is Tripped
Alarm Suppressed Status
Alarm Disabled Status
Alarm Shelved Status
True for one scan following the alarm tripping.
Working Internal Alarm Suppressed Status
Number of Minutes until this alarm unshelves itself
Used to reset all alarms in the PLC
Reset: HMI input used to reset an alarm once the fault has been cleared.
Discret input indicating a faulted state
Value of the fault input indicates an alarm condition
Discret input indicating a faulted state
Value of the fault input indicates an alarm condition
Value of the fault input indicates an alarm condition
Value of the fault input indicates an alarm condition
Fault is in Alarm - on longer than the delay
If there is a PLC wide global reset, latch the local alarm reset so the global reset has the same effect as the local reset.
This rung times how long the alarm has been shelved.
If the Shelf Timer expires (and its preset > 0), automatically unshelve the alarm.
If the command is received while shelved, the shelf timer starts over (reset).
============================================================
COMMAND PROCESSING
============================================================
These rungs handle received Commands:
Operator Commands (Operxx) and Maintenance Commands
(MCmd_xx) from the HMI and
Program Command (PCmd_xx) from other objects.
NOTE: ALARM COMMANDS ARE ACCEPTED REGARDLESS OF MODE.
This rung receives the Program Alarm Inhibit Command.
This rung receives the Operator Shelve Command.
If the command is received while shelved, the shelf timer starts over (reset).
Latch the annunciate bit when the alarm ccurs. Unlatch when either Acked or the fault clears.
These synchronize the Alarm and Event Statuses with the alarm
Send Alarm Acknowldege to AE Server
Set delay time (miliSeconds) based on alarm delay in seconds. Then convert to type TIME.
This rung receives the Maintenance Alarm Disable Command
============================================================
VALUE / STATUS GENERATION
============================================================
This rung copies the internal working status (Suppressed, In Alarm)
to public Status bits. Note that internal working bits are used so that
outside objects cannot manipulate the state of this object
by setting/clearing its Status and Alarm bits.
Public Status is generated for:
Alarm (with minimum ON time to be seen by polling)
Alarm Suppressed
Unsuppressed, Unshelved and Enabled are generated for HMI.
(Ack, Shelved and Disabled can be set/cleared by the HMI directly.
Note that these bits are "read/write" outputs in the parameter definition.)
This rung receives the Operator Unshelve Command (Unshelve wins over Shelve)
and the Program Unshelve Command
Also Unshelve the alarm if the Shelf Timer expires (if preset > 0).
NOTE: Shelved can also be set/cleared directly by the HMI (FTA&E support).
Send Alarm Acknowldege to AE Server
Send Alarm Acknowldege to AE Server
Start delay timer when fault is the same as the alarm state.
Latch Alarm when the alarm trips. Hold it latched until reset while fault timer is not done.
This rung receives the Maintenance Alarm Enable Command (Enable wins over Disable)
NOTE: Disabled can also be set/cleared directly by the HMI (FTA&E support).
Alarm Severity: 1=Alert, 2..250=Low, 251..500=Medium, 501..750=High, 751..1000=Urgent
This rung receives the program command for suppress
Clear HMI Commands after a short periof of time. The timers were used to allow multiple alarms to be used in a single DFB such as the Ain DFB, and not have the first ACK and RESET turn off before the others see it.
Map items from DDT
Send Alarm Acknowldege to AE Server
Map items to DDT
This rung calculates the number of seconds until this alarm "unshelves" itself.
If the alarm is already unshelved, clear this number.
Send Alarm Status to AE Server
Suppress is cleared if the program command for suppress is cleared
Latch the unacknowledged status if the alarm goes away without being acknowledged or reset or re-occuring.
Notify Level (color, blink) is determined here.
0 = No Alarm
8 = Alert severity, resettable, unacknowledged
9 = Alert severity, resettable
10 = Alert severity, acknowledged
11 = Alert severity, unacknowledged
12 = Alert severity, Bad, resettable, unacknowledged
13 = Alert severity, Bad, resettable
14 = Alert severity, Bad, acknowledged
15 = Alert severity, Bad, unacknowledged
16 = Low severity alarm, resettable, unacknowledged
17 = Low severity alarm, resettable
18 = Low severity alarm, acknowledged
19 = Low severity alarm, unacknowledged
20 = Low severity, Bad, resettable, unacknowledged
21 = Low severity, Bad, resettable
22 = Low severity, Bad, acknowledged
23 = Low severity, Bad, unacknowledged
32 = Medium severity alarm, resettable, unacknowledged
33 = Medium severity alarm, resettable
34 = Medium severity alarm, acknowledged
35 = Medium severity alarm, unacknowledged
36 = Medium severity, Bad, resettable, unacknowledged
37 = Medium severity, Bad, resettable
38 = Medium severity, Bad, acknowledged
39 = Medium severity, Bad, unacknowledged
48 = High severity alarm, resettable, unacknowledged
49 = High severity alarm, resettable
50 = High severity alarm, acknowledged
51 = High severity alarm, unacknowledged
52 = High severity, Bad, resettable, unacknowledged
53 = High severity, Bad, resettable
54 = High severity, Bad, acknowledged
55 = High severity, Bad, unacknowledged
64 = Urgent severity alarm, resettable, unacknowledged
65 = Urgent severity alarm, resettable
66 = Urgent severity alarm, acknowledged
67 = Urgent severity alarm, unacknowledged
68 = Urgent severity, Bad, resettable, unacknowledged
69 = Urgent severity, Bad, resettable
70 = Urgent severity, Bad, acknowledged
71 = Urgent severity, Bad, unacknowledged
Latch Acked if acknowledged or reset by the HMI while the alarm is active. Break the latch if the alarm trips again (if may have cleared while latched and tripped again). Break the latch if another alarm outside this DFB
Totalizes analog value, provides increased precision compared to built in totalizer
Scaled Analog Value
Max Scaled Analog Value
This prescan routine is only exicuted before the first scan or on changes from program mode to run mode:
System Time
Counts 500 days
Totalizer DDT
Today's Total Flow
Yesterday's Total Flow
Total FLow Since Last Reset
Counts 500 Days
Counts 500 Days Reset
Yesterday's Total Flow
Total Flow for one 5th of One Second
After two minutes (600 scans, each 200ms) or if it is a day roll over:
Add the two minutes total to the todays total.
Clear the two minute total and reset the scan count.
Month
Hour
Keep total for past 500 days
Determine if a Day Roll Over will take place this scan
Low flow Cutoff in Units
Two Minute Count
Total the flow for two minutes. Don't total for too long or the rounding error becomes significant. Dont total while flow is too low.
Map items to DDT
Move 0 into Total Flow for the Current Minute
If rolling the day:
Move todays total to yesterdays.
Add todays total to the TotalTotal.
Clear todays total.
Count the number of daily rolls.
HMI Command to Reset Flow Totals
500 Day Count
Convert current flow rate to total flow for the last 200 ms.
Calculate the current days total (the total for today of all completed minutes plus the current minute)
500 Count Days reset
Move 0 into Total Flow of all Completed Minutes Today
On First Scan reset all Alarms
Total Flow of all Completed Minutes Today
Minute
Yesterday's Total Flow
Day
Calculate the 500 day total (the total of the competed days plus plus the current day)
Determine what value to divide summation by to get correct units based on the time base of the flow units.
On reset command from the HMI, Reset the base totals that calcualte all the other totals.
Map items from DDT
Calculate the overall total (the total of the 500 day total plus the current Total)
Totalized Value
Oneshot resets values on day change
Today's Total Flow
Total Flow of all Completed Minutes Today
Start Totalizing because flow is above the minimum
Time base of flow
0 = per Second
1 = per Minute
2 = per Hour
3 = per Day
Low Flow Cutoff Percent of Max Flow That Stops Totalling
Total Flow Since Last Reset
Move 0 into 500 Day Total Count
Move 0 into Two Minute Count
Total Flow for the Current Minute
Keep total for past 500 days
Minute
Totalized Value
Hour
Total Flow for the Current Minute
Start Totalizing because flow is above the minimum
Year
How often per unit of time is analog value sampled
HMI Command to Reset Flow Totals
Digital input fault routing - ladder based
Input tag to monitor for alarm
Input value signifying alarm
Device IO Fault
Global Reset from Logic
Suppress Alarm from Program Control
UnSuppress Alarm from Program Control
Unshelve Alarm from Program Control
DDT for use with dfb_Alarm
1 = In Alarm
Annunciate Alarm
Alarm has been Acknowledged
Alarm is latched but can be reset because condition is cleared.
Fault Is In Alarm (on longer than the delay)
Alarm Time Remaining: Seconds Remaining Until Alarm is Tripped
dfb_Alarm for handling alarms
Alarm is in fault
PLC IO Fault Alarm
Map items to DDT
if any one of the aknowledged bits are on, set the GenAlarmAcked bit
Acknowledge Command from Logic to Acknowledge All Alarms in this DFB
Discrete input condition indicating a faulted state
Move Alarm Notify # to 0 if no Alarms are active.
if any one of the Annunciate bits are on, set the general GenAnnunciate bit.
Input value signifying alarm
if any one of the Alarms are on, set the general GenAlarm bit
When the Shelve Timer is Done Un-Latch the Shelve Command from HMI.
0= enable alarm
if in alarm and all alarms in the alarm array are either not in alarm or resetable, then the overall device is resetable.
DI ALARM
If the input is on, activate the alarm if it is enabled
dfb_DI_L
Ladder based discrete alarm handling with messages.
Deterimine if input is in fault.
Set all Alarm DFB's Shelve Duration Time. The HMI is using "DI_L.Alarm" for the initial Shelve Duration.
Input tag to monitor for alarm
Map items from DDT
DDT for DI Ladder DFB: Digital input fault routing - ladder based, No Strings
First integer of packed bits
Input tag to monitor for alarm
Input is in fault
Input value signifying alarm
Fault Is In Alarm (on longer than the delay)
0 = enable alarm
Reset Alarm
Acknowledge Alarm
Maintenance Command to Enable Alarm
Maintenance Command to Disable Alarm
At Least One Alarm is Active
At Least One Alarm is Annunciating
At Least One Alarm is Acknowledged
At least one alarm is latched and all latched alarms are resetable
Shelve Command from HMI
Suppress Command from HMI
Second integer of packed bits
Reset all Alarms On this PLC
Suppress Alarm from Program Control
UnSuppress Alarm from Program Control
Unshelve Alarm from Program Control
Alarm is in fault
Shelved Status
Suppressed Status
Set if any of the I/O modules associated with the monitoring or control of the equipment has faulted.
Set if any of the I/O modules associated with the monitoring or control of the equipment has faulted.
Tagged Out of Service
Spare Third integer of packed bits.
Spare Fourth integer of packed bits.
Spare Integer
Spare Integer
ddt_Alarm for handling alarms
PLC Fault Alarm DDT
Alarm Time Remaining
Combined Alarm Value Notification for HMI
Enhanced Device DDT for embedded M580 DTM (with standalone PLC)
CRA health (Drop 1 to 31)
Reserved
Health bits for CRA Safe Task objects
Health for DIO (New field name)
CIMR/CIDR Object health bits
Ethernet status
Link up/down for Ethernet port 1
Link up/down for Ethernet port 2
Link up/down for Ethernet port 3
Link up/down for Ethernet backplane port
Link up/down for HSBY port
Redundancy status / backup path available
Scanner OK and scanning at least 1 equipment (if at least 1 equipment configured)
0: one or more services not operating normally / 1: all operational
1: No traffic overload detected / 0: Traffic overload detected (ex: broadcast storm). Check your network topology and configuration.
One bit for each user-observable feature
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
Main IP address status (0 in case of duplicate IP or no IP assigned)
Ethernet backplane hardware status (0: failure, 1: OK)
Ethernet backplane error (0: error, 1: OK)
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
EIP adapter (server) service 0: service not operating normally / 1: service operating normally or disabled
One bit for each user-observable feature
IP address A/B status (0 in case of duplicate IP or no IP assigned)
LLDP service status
0: event log service not operating normally / 1: event log service operating normally or disabled
1: No acknowledgement received from the syslog server / 0: otherwise
Ethernet port 1 and 2 status
Ethernet port 3 and backplane port status
% of FDR server usage
Reserved
Reserved
Number of packets received on interface
Number of inbound packets that contain errors
Number of packets sent on interface
Number of outbound packets that contain errors
Signature of all files on local module FDR Server
DROP health bits (Drop 1 to 31)
Reserved
RIO health bits (1 bit per RIO up to 128)
Local Slave health bits (Local Slave 1 to 3)
DIO health bits (1 bit per DIO up to 128 DIOs)
DIO device health (1 bit per DIO up to 128 DIO)
DROP control bits (Drop 1 to 31)
Reserved
RIO control bits (1 bit per RIO up to 128)
DIO control bits (1 bit per DIO up to 128 DIOs)
Device DDT For BME NOC Factory Cast
Ethernet status
Link up/down for Ethernet port 1
Link up/down for Ethernet port 2
Link up/down for Ethernet port 3
Link up/down for Ethernet backplane port
Link up/down for HSBY port
Redundancy status / backup path available
Scanner OK and scanning at least 1 equipment (if at least 1 equipment configured)
0: one or more services not operating normally / 1: all operational
1: No traffic overload detected / 0: Traffic overload detected (ex: broadcast storm). Check your network topology and configuration.
One bit for each user-observable feature
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
Main IP address status (0 in case of duplicate IP or no IP assigned)
Ethernet backplane hardware status (0: failure, 1: OK)
Ethernet backplane error (0: error, 1: OK)
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
0: service not operating normally / 1: service operating normally or disabled
EIP adapter (server) service 0: service not operating normally / 1: service operating normally or disabled
One bit for each user-observable feature
IP address A/B status (0 in case of duplicate IP or no IP assigned)
LLDP service status
0: event log service not operating normally / 1: event log service operating normally or disabled
1: No acknowledgement received from the syslog server / 0: otherwise
Ethernet port 1 and 2 status
Ethernet port 3 and backplane port status
MSB=Major Revision, LSB=Minor Revision
% of FDR server usage
Hidden - Reserved
Number of packets received on interface
Number of inbound packets that contain errors
Number of packets sent on interface
Number of outbound packets that contain errors
Signature of all files on local module FDR Server
Health for DIO Objects
Local Slave health bits (Local Slave 1 to 16)
DIO health bits (1 bit per DIO up to 128 DIOs. 112 - 127 are reserved for future extension)
DIO device health (1 bit per DIO up to 128 DIO)
DIO control bits (1 bit per DIO up to 128 DIOs. 112 - 127 are reserved for future extension)
Reserved
Health of Distributed IO Objects
Device Connection health bits 2 to 17
Device Connection health bits 18 to 33
Device Connection health bits 34 to 49
Device Connection health bits 50 to 65
Device Connection health bits 66 to 81
Device Connection health bits 82 to 97
Device Connection health bits 98 to 113
Device Connection health bits 114 to 129
Device Connection health bits 130 to 145
Device Connection health bits 146 to 161
Device Connection health bits 162 to 511
Device Connection health bits 178 to 193
Device Connection health bits 194 to 209
Device Connection health bits 210 to 225
Device Connection health bits 226 to 241
Device Connection health bits 242 to 257