EasyManua.ls Logo

ALTUS Nexto NX3004 - Page 83

ALTUS Nexto NX3004
388 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4. Configuration
75
Parameter
Type
Description
bCommandAvailable
BOOL
Indicates that a command was intercepted and the data are
available to be processed.
sCommand
STRUCT
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.
eStatus
ENUM
(TYPE_RESULT)
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:
Parameter
Type
Description
eCommand
ENUM
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:
Parameter
Type
Description
sSelectConfig
STRUCT
Received selection command configuration. This structure
parameters are described on Table 4-33
sValue
STRUCT
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
Parameter
Type
Description
bSelectWithValue
BOOL
When true indicates a selection command reception with
value.
Table 4-33. Parameters sSelectConfig
Parameter
Type
Description
sOperateConfig
STRUCT
Received selection command configuration. This structure
parameters are described on Table 4-35
sValue
STRUCT
Field of received operation command reffered value. This
structure parameters are described on Table 4-36
Table 4-34. Parameters sOperateParameters

Table of Contents