4. Configuration
88
After that, the events are inserted in the CPU queue. As for Client/Master drivers, the CPU also
generates quality events in case of communication failure with the slave device.
Note:
HX1110 and HX1120: The modules internally stores the events in a structure containing from
one to 32 events. When only one input changes its state, the structure stores only one event.
Similarly, when all 32 inputs change their state simultaneously, the structure stores 32 events.
The module has an internal queue with capacity to store up to 420 structures (in other words,
from 420 to 13.440 events). The CPU performs through local bus the reading of 38 structures at
three execution cycles (MainTask) of the RTU.
Interception of Commands from Control Center
The Xtorm RTU includes a function block that allows the manipulation - in the user logic - of
selection and operation commands to output points received by server drivers (DNP3 Server, 61850
Server, etc...). This feature allows the implementation of interlocking, as well as manipulation in user
logic of the data of the received command or command redirection to different IEDs.
The interception of commands is implemented by the function block CommandReceiver. The
input/output parameters are described in the following tables:
Parameter
Type
Description
bExec
BOOL
When TRUE, executes the command interception.
bDone
BOOL
Indicates that the command output data have been
processed, releasing the function block to receive a new
command.
dwVariableAddr
DWORD
Variable address that will receive the command.
eCommandResult
ENUM
User defined action, from the list below:
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
User defined time-out (function block input parameter).
Table 4-30. Input Parameters of CommandReceiver Function Block
Notes: