Internal data point _RK512
The driver notifies its status to the WinCC OA via an internal data point of type _RK512. This data point can also be used for changing the driver settings during runtime. Each driver with driver number num uses the internal data point _RK512_num. The data point _RK512 has the following structure:
_RK512 | |
---|---|
AliveSndDp | |
AliveSndTimeout | |
AliveRcvDp | |
AliveRcvTimeout | |
ReadComponent | |
ConnState | |
ErrorSPS | |
ErrorDriver |
Table: Meaning of the data point elements.
data point name | Type | Meaning |
---|---|---|
AliveSndDp | string | Peripheral address for sending Alive messages. |
AliveSndTimeout | natural number | Time period in seconds in which Alive messages are sent. A value of 0 disables sending of Alive messages. |
AliveRcvDp | string | Peripheral address from which Alive messages are expected. Messages, which can be assigned to this address, are evaluated in no further way by the driver. |
AliveRcvTimeout | natural number | Time period in seconds in which the driver waits for messages from the PLC. These can be, but need not be, Alive messages. If no message is received within the specified time, the connection is flagged as broken. A value of 0 disables this procedure. |
ReadComponent | string | If a peripheral address is entered here, the corresponding data block is read. |
ConnState | boolean | Using this data point the WCCOArk512 driver informs the WinCC OA system whether there is a connection to the PLC . A value of false means it is disconnected, true means connected. |
ErrorSPS | natural number | The most recent error code not equal to 0 that was sent by the PLC in an acknowledgement message. |
ErrorDriver | natural number | The most recent error code not equal to 0 that was sent by the driver to the PLC in an acknowledgement message. |
For data blocks, the value of "ReadComponent" must also contain a value for the data word, i.e. a full peripheral address. The data word is ignored in this case.