4. Configuration
75
Indicates that a command was intercepted and the data are
available to be processed.
This structure store received command data, which is
composed by the following fields:
- eCommand
- sSelectParameters
- sOperateParameters
- sCancelParameters
The description of each field is in this section.
Out o function action from obtained result, according to list:
OK_SUCCESS(0)
ERROR_FAILED(1)
Table 4-30. CommandReceiver Function Block Output Parameters
Note:
eStatus: Return of a register process of a communication point command interception. When the
interception is registered with success OK_SUCCESS is returned, else ERROR_FAILED is. In case
intercepter register failure, commands to the determined point are not intercepted by this function
block. TYPE_RESULT is defined in LibDataTypes library.
Supported commands are described on Table 4-31:
NO_COMMAND(0)
SELECT(1)
OPERATE(2)
CANCEL(3)
Table 4-31. CommandReceiver Function Block Supported Commands
The parameters that build the sSelectParameters, sOperateParameters and sCancelParameters
structures are described on the following table:
Received selection command configuration. This structure
parameters are described on Table 4-33
Received value in a select, when is received a selection
command with value. This structure parameters are
described on Table 4-36
Table 4-32. Parameters sSelectParameters
When true indicates a selection command reception with
value.
Table 4-33. Parameters sSelectConfig
Received selection command configuration. This structure
parameters are described on Table 4-35
Field of received operation command reffered value. This
structure parameters are described on Table 4-36
Table 4-34. Parameters sOperateParameters