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.

86 TR_SHUTDOWN Function BlockStructured TextFUNCTION_BLOCK TR_SHUTDOWNVAR_INPUTCI : BOOL := TRUE ; (* Control in. *)IO_CO : BOOL ; (* Critical IO Control out. *)IO_TMR : BOOL ; (* Critical IO 3 channels operating. *)IO_GE_DUAL : BOOL ; (* Critical IO 2 or more channels operating. *)IO_GE_SINGLE : BOOL ; (* Critical IO 1 or more channels operating. *)IO_NO_VOTER_FLTS : BOOL ; (* No voter faults on critical modules. *)IO_ERROR : DINT ; (* Error number, 0 = no error. *)MAX_TIME_DUAL : TIME := T#40000d ; (* Max Time with only 2 channels. *)MAX_TIME_SINGLE : TIME := T#40000d ; (* Max Time with only 1 channel. *)MAX_SCAN_TIME : TIME := T#400ms ; (* 50% of Max Response Time. *)END_VARVAR_OUTPUTCO : BOOL ; (* Control out. *)OPERATING : BOOL ; (* Shutdown if OPERATING=FALSE. *)TMR : BOOL ; (* Three channels operating. *)DUAL : BOOL ; (* Dual mode. *)SINGL : BOOL ; (* Single mode. *)ZERO : BOOL ; (* Zero mode. *)TIMER_RUNNING : BOOL ; (* Shutdown timer is running. *)TIME_LEFT : TIME ; (* Time remaining to shutdown. *)ALARM_PROGRAMMING_PERMITTED : BOOL ; (* Alarm -- download change. *)ALARM_REMOTE_ACCESS : BOOL ; (* Alarm -- remote host writes. *)ALARM_RESPONSE_TIME : BOOL ; (* Alarm -- exceed response time. *)ALARM_DISABLED_POINTS : BOOL ; (* Alarm -- some points disabled. *)ERROR : DINT ; (* Error number. *)(** Error number:* 0 = No error.* 1 = Error in maximum time.* 2 = IO function block error - IO_ERROR is non-zero.* 3 = Status function block error.*)END_VARVARGE_DUAL : BOOL ; (* Two or more channels operating. *)GE_SINGLE : BOOL ; (* One or more channels operating. *)MP : TR_MP_STATUS ; (* MP status. *)PROG : TR_PROGRAM_STATUS ; (* Program status. *)SCAN : TR_SCAN_STATUS ; (* Scan status. *)DUAL_TIME : TON ; (* Dual mode timer. *)SINGLE_TIME : TON ; (* Single mode timer. *)U : BOOL ; (* Unused Value. *)END_VAR(**=F===============================================================================* FUNCTION_BLOCK: TR_SHUTDOWN* Purpose: Implement TUV restrictions.** Return: none** Remarks:*<strong>Tricon</strong> <strong>Safety</strong> <strong>Considerations</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!