E_IED_STATE
Operating mode of the server.
TYPE E_IED_STATE :
(
eIED_STATE_IDLE := 0,
eIED_STATE_INITIALIZING,
eIED_STATE_PREOP,
eIED_STATE_OPERATIONAL,
eIED_STATE_STOPPING
);
END_TYPE
The server is in the IDLE state after the server-code has been
downloaded onto the target device and none of the server-actions
(A_INIT oder A_OPERATE) have been called.
At the call of the action A_INIT the server changes into the
INITIALIZING state. In this phase the internal database will be
initialized (the instances of the common data classes, attributes,
logical nodes, ... will be generated). After that the server
changes into the PREOP state. In this state more
application-dependent data classes can be generated in the
database, for example data sets. When all of the data sets have
been configurated the OPERATIONAL state can be changed by calling
the action A_OPERATE. In this state the server can build a
connection to the client and can change data actively.
Requirements
Development environment |
Target system |
PLC libraries to be included |
---|---|---|
TwinCAT v2.10.0 Build >= 1340 |
PC or CX (x86, ARM) |
TcIEC61850Server.Lib |