4. Configuration
135
Parameter
Type
Description
eExecStatus
ENUM (BYTE)
Status of execution, indicates if a new command can be sent.
The values are as follows:
DNP3_COMMAND_EXEC_STATUS_DONE (0)
DNP3_COMMAND_EXEC_STATUS_RUNNING (1)
eErrorStatus
ENUM (BYTE)
Indicates whether the last command was successful.
DNP3_COMMAND_ERROR_STATUS_NO_ERROR (0)
DNP3_COMMAND_ERROR_STATUS_TIMEOUT (1)
DNP3_COMMAND_ERROR_STATUS_NO_SELECT (2)
DNP3_COMMAND_ERROR_STATUS_FORMAT_ERROR (3)
DNP3_COMMAND_ERROR_STATUS_NOT_SUPPORTED (4)
DNP3_COMMAND_ERROR_STATUS_ALREADY_ACTIVE (5)
DNP3_COMMAND_ERROR_STATUS_HARDWARE_ERROR (6)
DNP3_COMMAND_ERROR_STATUS_UNDEFINED (7)
DNP3_COMMAND_ERROR_STATUS_INVALID_ADDRESS (8)
DNP3_COMMAND_ERROR_STATUS_WRONG_TIMEOUT (9)
DNP3_COMMAND_ERROR_STATUS_INVALID_VALUE (10)
DNP3_COMMAND_ERROR_STATUS_UNINITIALIZED (11)
Table 4-86. DNP3_AnalogCommandInt Block Output Parameters
Function block name:
DNP3_AnalogCommandReal
, used for numbers of real type (32 bits). Used
for the G41V3 group.
Parameter
Type
Description
bRequest
BOOL
When TRUE, executes the command
dwVariableAddr
DWORD
Command variable address to send
eCommand
ENUM (BYTE)
Command sent:
DNP3_COMMAND_TYPE_SELECT (1)
DNP3_COMMAND_TYPE_OPERATE (2)
DNP3_COMMAND_TYPE_DIRECT_OPERATE (3)
DNP3_COMMAND_TYPE_DIRECT_OPERATE_NO_ACK (4)
rValue
REAL
Analog value to be written: REAL
udiCommandTimeOut
UNSIGNED
DOUBLE INT
Time for timeout of this command
Table 4-87. DNP3_AnalogCommandReal Block Input Parameters
Parameter
Type
Description
eExecStatus
ENUM (BYTE)
Status of execution, indicates if a new command can be sent.
The values are as follows:
DNP3_COMMAND_EXEC_STATUS_DONE (0)
DNP3_COMMAND_EXEC_STATUS_RUNNING (1)
eErrorStatus
ENUM (BYTE)
Indicates whether the last command was successful.
DNP3_COMMAND_ERROR_STATUS_NO_ERROR (0)
DNP3_COMMAND_ERROR_STATUS_TIMEOUT (1)
DNP3_COMMAND_ERROR_STATUS_NO_SELECT (2)
DNP3_COMMAND_ERROR_STATUS_FORMAT_ERROR (3)
DNP3_COMMAND_ERROR_STATUS_NOT_SUPPORTED (4)
DNP3_COMMAND_ERROR_STATUS_ALREADY_ACTIVE (5)
DNP3_COMMAND_ERROR_STATUS_HARDWARE_ERROR (6)
DNP3_COMMAND_ERROR_STATUS_UNDEFINED (7)
DNP3_COMMAND_ERROR_STATUS_INVALID_ADDRESS (8)
DNP3_COMMAND_ERROR_STATUS_WRONG_TIMEOUT (9)
DNP3_COMMAND_ERROR_STATUS_INVALID_VALUE (10)
DNP3_COMMAND_ERROR_STATUS_UNINITIALIZED (11)
Table 4-88. DNP3_AnalogCommandReal Block Output Parameters
Cold Restart Command
Function block name:
DNP3_ColdCommand