Safety Considerations Guide for Triconex General ... - ICEWeb
Safety Considerations Guide for Triconex General ... - ICEWeb
Safety Considerations Guide for Triconex General ... - ICEWeb
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
SYS_VOTE_MODE 93<br />
Example<br />
For shutdown examples, see this sample project:<br />
My Documents\<strong>Triconex</strong>\TriStation 1131 4.x\Projects\TdTUV.pt2<br />
Runtime Errors<br />
Condition Return Value Error Flags<br />
If the inputs do not match one of the first<br />
four rows of the truth table<br />
Reset all BOOL outputs to false<br />
BADPARAM, ERROR<br />
Upon detection of a runtime error condition, the function block returns the indicated values and<br />
sets the error flags to true. For more in<strong>for</strong>mation about error flags and runtime errors, see the<br />
TriStation 1131 Libraries Reference.<br />
Application Notes<br />
• Can be used in <strong>Safety</strong> or Control applications.<br />
• Space Saver: a single instance can be executed more than once per scan to reduce<br />
memory usage and increase per<strong>for</strong>mance. See the TriStation1131 Libraries Reference <strong>for</strong><br />
more in<strong>for</strong>mation.<br />
Library<br />
Trident and Tri-GP (TRDLIB)<br />
Structured Text<br />
FUNCTION_BLOCK SYS_VOTE_MODE<br />
VAR_INPUT<br />
CI : BOOL := TRUE ; (* Control in. *)<br />
IN_TMR : BOOL ; (* 3 channels operating. *)<br />
GE_DUAL : BOOL ; (* 2 or more channels operating. *)<br />
GE_SINGLE : BOOL ; (* 1 or more channels operating. *)<br />
END_VAR<br />
VAR_OUTPUT<br />
CO : BOOL ; (* Control out. *)<br />
TMR : BOOL ; (* Triple Modular Redundant. *)<br />
DUAL : BOOL ; (* Dual mode. *)<br />
SINGL : BOOL ; (* Single mode. *)<br />
ZERO : BOOL ; (* Zero mode. *)<br />
END_VAR<br />
VAR<br />
U : BOOL ; (* Unused Value. *)<br />
END_VAR<br />
(*<br />
*=F================================================================================<br />
* FUNCTION_BLOCK: SYS_VOTE_MODE<br />
* Purpose: Convert redundancy status.<br />
*<br />
* Return: none<br />
*<br />
* Remarks:<br />
<strong>Safety</strong> <strong>Considerations</strong> <strong>Guide</strong> <strong>for</strong> <strong>Triconex</strong> <strong>General</strong> Purpose v2 Systems