13.07.2015 Views

Safety Considerations Guide, Tricon v9.0 - Tuv-fs.com

Safety Considerations Guide, Tricon v9.0 - Tuv-fs.com

Safety Considerations Guide, Tricon v9.0 - Tuv-fs.com

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TR_CRITICAL_IO Function Block 79Structured TextFUNCTION_BLOCK TR_CRITICAL_IOVAR_INPUTCI : BOOL := TRUE ; (* Control in. *)INIT : BOOL ; (* Initialize *)CHASSIS : DINT ; (* Chassis number 1-15 *)SLOT : DINT ; (* Physical SLOT odd number 1,3..15 *)APP : DINT ; (* Application number 1-2 *)RELAY_OK : BOOL := TRUE ; (* Relay is energized and not stuck. *)END_VARVAR_OUTPUTCO : BOOL ; (* Critical IO Control out. *)TMR : BOOL := TRUE ; (* Critical IO 3 channels operating. *)GE_DUAL : BOOL ; (* Critical IO 2 or more channels operating. *)GE_SINGLE : BOOL ; (* Critical IO 1 or more channels operating. *)NO_VOTER_FLTS : BOOL ; (* No voter faults on critical modules. *)ERROR : DINT ; (* Error number. *)(** Error number:* 0 = No error.* -1 = Slot is not odd or not in 1..15.* -2 = Chassis or slot is invalid.* -3 = Module not configured.* -4 = Reserved (not used).* -5 = Application number is invalid.* -6 = Not initialized.*)END_VARVARPREVIOUS_INIT : BOOL ; (* INIT on previous evaluation. *)MP : TR_MP_STATUS ; (* MP status. *)LEFT_SLOT : TR_SLOT_STATUS ; (* Left slot status. *)RIGHT_SLOT : TR_SLOT_STATUS ; (* Right slot status. *)RELAY : DINT := 1 ; (* De-energized to trip with relay *)DE_ENERGIZED : DINT := 2 ; (* De-energized to trip with no relay *)U : BOOL ; (* Unused value. *)LEFT_GE_SINGLE : BOOL ; (* Left slot, mode >= single. *)LEFT_GE_DUAL : BOOL ; (* Left slot, mode >= dual. *)LEFT_TMR : BOOL ; (* Left slot, mode = tmr. *)RIGHT_GE_SINGLE : BOOL ; (* Right slot, mode >= single. *)RIGHT_GE_DUAL : BOOL ; (* Right slot, mode >= dual. *)RIGHT_TMR : BOOL ; (* Right slot, mode = tmr. *)VOTER_FAULT : BOOL ; (* Voter fault on either slot. *)END_VAR(**=F===============================================================================* FUNCTION_BLOCK: TR_CRITICAL_IO* Purpose: Calculate status of critical IO modules.** Return: none** Remarks:* Usage* 1. Invoke once with INIT := TRUE, to initialize.* 2. Invoke again with INIT := FALSE, CI := TRUE, APP := DE_ENERGIZED, andAppendix APeer-to-Peer Communication

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!