Chapter 10. OPC UA Server
GFK-2224Q January 2017 179
OPC UA Server – Service Request – SERVER_STATUS
The SERVER_STATUS sub-function code can be used to obtain info about the server status. The sub-function
uses the following bitmask
OPC_UA_SERVER_STAT_READY_TO_START_BITMASK 0x0001
OPC_UA_SERVER_STAT_RUNNING_BITMASK 0x0002
OPC_UA_SERVER_STAT_RESTARTS_PENDING_BITMASK 0x0004
OPC_UA_SERVER_STARTING_BITMASK 0x0010
Parameters for the SERVER_STATUS function service request are:
Parameter Summary
Data Direction
(LD perspective)
16#0001 OPC UA protocol IN
16#0003 SERVER_STATUS request IN
0000 0000 0000 0000 Server Status Response – bitmask
(see below)
OUT
If the SVC_REQ does not pass power, the operation did not complete.
The SERVER_STATUS word bit definitions are displayed below.
Figure 65: SERVER_STATUS Word bit definitions
Note that the CPE400’s OPC UA server takes up to two minutes to start if the server’s configuration files and
certificates need to be generated. This occurs the first time the server is started on a new CPE400 or after the
server is cleared.
While the OPC UA server is starting, the OPC UA SERVER_STATUS service request returns 0010h OPC UA Server
Starting.