23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

47-12 Industrial Communication Systems<br />

11 Code<br />

Tool related data<br />

CRC<br />

Safety-related parameter<br />

Error code<br />

Transaction ID<br />

Source safe address<br />

Command ID<br />

(a)<br />

Byte<br />

1 3 1<br />

1 Max. 34<br />

2<br />

11 Code<br />

Tool related data<br />

CRC<br />

Safety-related parameter<br />

Transaction ID<br />

Destination safe address<br />

Command ID<br />

(b)<br />

Byte<br />

1 3 1<br />

Max. 35<br />

2<br />

FIGURE 47.11 (a) Request message of SafetyLon management tool. (b) Response message of SafetyLon<br />

management tool.<br />

The SLL software architecture consists of two interfaces and one application. An API handles the connection<br />

to LNS Object Server, another API is the interface for the SLA to the SLL. The handling of LNS<br />

Object Server is described in the Echelon guidelines of the LNS application developer’s kit [15].<br />

From the implementation point of view, the SLL is divided into three parts. The SLL is used by the client.<br />

It provides functions to configure a safe node. It uses the SafetyLon message part to build and check the<br />

management messages. The message is sent by the SLL to the safe node. The current configuration of a<br />

safe node including the safe address is stored in the SafetyLon database. It manages and stores the safe<br />

addresses. Additionally, it saves all configuration information.<br />

The SafetyLon management tool supports the three-step process explained in Section 47.3 applied to<br />

configure and commission a node. It uses explicit messages and a defined message structure (cf. Figure<br />

47.11) different from the one used to exchange sensor or actuator data among nodes. Therefore, it can<br />

be explicitly distinguished between a message sent from a management unit and messages sent from a<br />

SafetyLon node, respectively.<br />

The management message is embedded into the payload of an explicit message. It starts with a<br />

Command ID specifying the command to be carried out at node side (e.g., assign a safe address to a<br />

network variable). The destination safe address (SADR) is a unique safe address of the node that shall be<br />

addressed. The transaction ID is a consecutive number that makes a correlation of request and response<br />

possible. Data are a configuration parameter such as a safe address of a network variable. CRC16, finally,<br />

is a 2 byte CRC appended to the message to ensure data integrity. In case of a response message, an additional<br />

byte is included: an error byte that is set by the node (e.g., the network variable is not available).<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!