5. CONFIGURATION
Parameter Type Description
bExec BOOL When TRUE, executes the command interception
bDone BOOL
Indicates that the command output data have been already
processed, releasing the function block to receive another
command
dwVariableAddr DWORD
Variable address, mapped in the server driver, which will
receive the client command
eCommandResult ENUM
Input action defined by user from the following list:
SUCCESS(0)
NOT_SUPPORTED(1)
BLOCKED_BY_SWITCHING_HIERARCHY(2)
SELECT_FAILED(3)
INVALID_POSITION(4)
POSITION_REACHED(5)
PARAMETER_CHANGE_IN_EXECUTION(6)
STEP_LIMIT(7)
BLOCKED_BY_MODE(8)
BLOCKED_BY_PROCESS(9)
BLOCKED_BY_INTERLOCKING(10)
BLOCKED_BY_SYNNCHROCHECK(11)
COMMAND_ALREADY_IN_EXECUTION(12)
BLOCKED_BY_HEALTH (13)
ONE_OF_N_CONTROL(14)
ABORTION_BY_CANCEL(15)
TIME_LIMIT_OVER(16)
ABORTION_BY_TRIP(17)
OBJECT_NOT_SELECTED(18)
OBJECT_ALREADY_SELECTED(19)
NO_ACCESS_AUTHORITY(20)
ENDED_WITH_OVERSHOOT(21)
ABORTION_DUE_TO_DEVIATION(22)
ABORTION_BY_COMMUNICATION_LOSS(23)
BLOCKED_BY_COMAND(24)
NONE(25)
INCONSISTENT_PARAMETERS(26)
LOCKED_BY_OTHER_CLIENT(27)
HARDWARE_ERROR(28)
UNKNOWN(29)
dwTimeout DWORD Time-out [ms] to the treatment by user logic
Table 70: CommandReceiver Function Block Input Parameters
Notes:
bExec: When FALSE, the command just stop being intercepted for the user application, but it keeps being treated normally
by the server.
bDone: After the command interception, the user is going to be responsible for treat it. At the end of the treatment, this
input must be enabled for a new command can be received. Case this input is not enabled, the block is going to wait the time
defined in dwTimeout, to then become capable of intercept new commands.
eCommandResult: Treatment results of command intercepted by user. The result returned to the client that sent the
command, which must be attributed together with the input bDone, is converted to the protocol’s format from which was
received the command. In Nexto Series it is only supported the interception of commands coming from protocol IEC 60870-
5-104. In protocol interception, any return different from SUCCESS results in a negative Acknowledge.
100