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-10 Industrial Communication Systems<br />

Power up<br />

No failure<br />

Run<br />

Safety critical failure<br />

Start safety-related<br />

configuration<br />

Safety critical<br />

failure<br />

Fail safe<br />

Stop safe-related<br />

configuration<br />

Safety-related configuration<br />

Safety critical<br />

failure<br />

Modify<br />

FIGURE 47.8<br />

Node state machine.<br />

the earliest-deadline-first scheduling mechanism [13]. Second, static scheduling eases synchronization<br />

between safety chips mandatory for the close cooperation between the safety chips. Both chips start at<br />

the same time with the execution of function in the same order.<br />

The state machine controls the behavior of the node. According to inputs received, it decides to<br />

which state to switch to. In a SafetyLon node four states are specified as illustrated in Figure 47.8.<br />

After a reset the node is in POWER UP state and runs through the start-up procedure. For example,<br />

the hardware is tested, the hardware interfaces are initialized and configuration parameters are<br />

copied from the flash memory to the RAM due to performance reasons. In case of no error, the<br />

node enters the RUN state where the node is operating. If safety-critical failures are detected, the node<br />

switches to FAIL SAFE state. In this state, the functionality of the node is limited to a minimum<br />

that does not jeopardize safety. The fail safe state is only left when the critical fault was eliminated<br />

by an operator. MODIFY state is used to configure the node (e.g., to make a safe binding). In this<br />

state, the node provides only such functionality necessary to execute configuration requests and<br />

send the responses.<br />

47.6 the SafetyLon Tools<br />

SafetyLon provides two types of tools: a development tool called application builder that gives the user<br />

the possibility to configure the user-application (e.g., specifying the safe and non-safe network variable<br />

types). Moreover, a SafetyLon management tool makes the safety-related commissioning, configuration<br />

of the firmware and user-application, maintenance of the safety-related application, and decommissioning<br />

of nodes or removal of bindings possible.<br />

The development tool is a non-safe tool that gets a script file as input (see Figure 47.9) which among<br />

LonWorks specific parameters includes<br />

• The type of EN 14908 controller<br />

• The name and type of non-safe network variables and the name and type of safe network variables<br />

Additionally, the application builder interfaces with the LonMark device resource API where the<br />

format and size of the network variables is taken from.<br />

The output of the application builder are plain text c- and header-files containing all information<br />

required to run the user-application as intended (e.g., a file with the network variable table<br />

that holds the SafetyLon message as well as the safety-related payload of the message). The files are<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!