Copyright: Created with EasyHelp (Tel: 0973 209667)


FSM/Input to Event - RG354153

Description

This block accepts up to six logic inputs, associates an event number with them, and prioritises them.  It provides a single output.

Input 1 has the highest priority and Input 6 the lowest.  Each input has an event number associated with it and that number is sent out whenever that input is true and no higher priority inputs are true.  If none of the inputs are true, the default event number is sent out.

All of the inputs are initialised to false and may be left unconnected if not required.

This function block is commonly used with the FSM/State Machine and OpStn/Annunciator function blocks.

Parameters

Input 1	Sets Input 1 of the function block.  Expects either true or false.

Input 2	Sets Input 2 of the function block.  Expects either true or false.

Input 3	Sets Input 3 of the function block.  Expects either true or false.

Input 4	Sets Input 4 of the function block.  Expects either true or false.

Input 5	Sets Input 5 of the function block.  Expects either true or false.

Input 6	Sets Input 6 of the function block.  Expects either true or false.

Get Input 1	Returns the current state of input 1:  either true or false.

Get Input 2	Returns the current state of input 2:  either true or false.

Get Input 3	Returns the current state of input 3:  either true or false.

Get Input 4	Returns the current state of input 4:  either true or false.

Get Input 5	Returns the current state of input 5:  either true or false.

Get Input 6	Returns the current state of input 6:  either true or false.

Get Output	Returns the current output event:  an ordinal.


Description

This block accepts up to six logic inputs, associates an event number with them, and prioritises them.  It provides a single output.

Input 1 has the highest priority and Input 6 the lowest.  Each input has an event number associated with it and that number is sent out whenever that input is true and no higher priority inputs are true.  If none of the inputs are true, the default event number is sent out.

All of the inputs are initialised to false and may be left unconnected if not required.

This function block is commonly used with the FSM/State Machine and OpStn/Annunciator function blocks.


Parameters

Input 1	Sets Input 1 of the function block.  Expects either true or false.

Input 2	Sets Input 2 of the function block.  Expects either true or false.

Input 3	Sets Input 3 of the function block.  Expects either true or false.

Input 4	Sets Input 4 of the function block.  Expects either true or false.

Input 5	Sets Input 5 of the function block.  Expects either true or false.

Input 6	Sets Input 6 of the function block.  Expects either true or false.

Get Input 1	Returns the current state of input 1:  either true or false.

Get Input 2	Returns the current state of input 2:  either true or false.

Get Input 3	Returns the current state of input 3:  either true or false.

Get Input 4	Returns the current state of input 4:  either true or false.

Get Input 5	Returns the current state of input 5:  either true or false.

Get Input 6	Returns the current state of input 6:  either true or false.

Get Output	Returns the current output event:  an ordinal.