23.12.2012 Views

Safety Considerations Guide for Trident v2 Systems - TUV ...

Safety Considerations Guide for Trident v2 Systems - TUV ...

Safety Considerations Guide for Trident v2 Systems - TUV ...

SHOW MORE
SHOW LESS

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

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

68 Appendix A Triconex Peer-to-Peer Communication<br />

Examples of Peer-to-Peer Applications<br />

Triconex Peer-to-Peer function blocks are designed to transfer limited amounts of data between<br />

two applications. There<strong>for</strong>e, you should use these function blocks sparingly in your<br />

applications.<br />

Ideally, you should control the execution of each SEND function block so that each SEND is<br />

initiated only when the acknowledgment <strong>for</strong> the last SEND is received and new data is available<br />

<strong>for</strong> sending. You can do this through effective use of the SENDFLG parameter in the SEND<br />

function block and the STATUS output of the SEND function block, as shown in Examples 3 and<br />

4.<br />

The examples described in this section can be found in the Tdpeer.pt2 project included as part<br />

of the TriStation 1131 software installation.<br />

Example 1: Fast Send to One Triconex Node<br />

This example shows how to send data as fast as possible from node #2 to node #3. Scan time in<br />

both controllers is set to 100 milliseconds.<br />

The example uses the following project elements:<br />

• PEER_EX1_SEND_FBD (<strong>for</strong> sending node #2)<br />

• PEER_EX1_RCV_FBD (<strong>for</strong> receiving node #3)<br />

Example 2: Sending Data Every Second to One Node<br />

This example shows how to send data every second from node #2 to node #3. Scan time in both<br />

controllers is set to 100 milliseconds.<br />

The example uses the following project elements:<br />

• PEER_EX2_SEND_FBD (<strong>for</strong> sending node #2)<br />

• PEER_EX2_RCV_FBD (<strong>for</strong> receiving node #3)<br />

Example 3: Controlled Use of SEND/RECEIVE Function Blocks<br />

This example shows how to use SEND/RECEIVE function blocks correctly, in a controlled way,<br />

so that a limited amount of important data can be transferred between two applications when<br />

new data is ready to be sent.<br />

This example uses the following project elements:<br />

• PEER_EX3_SEND_FBD (<strong>for</strong> sending node #2)<br />

• PEER_EX3_RCV_FBD (<strong>for</strong> receiving node #3)<br />

<strong>Safety</strong> <strong>Considerations</strong> <strong>Guide</strong> <strong>for</strong> <strong>Trident</strong> <strong>v2</strong> <strong>Systems</strong>

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

Saved successfully!

Ooh no, something went wrong!