beautypg.com

Example 3 (continued) – Rockwell Automation 1770,D17706.5.21 SMART TRANSMITTER TOOLKI User Manual

Page 33

background image

Chapter 3

Using The Smart Tranmsitter Toolkit

3-14

Example 3 (continued)

Rung 2:0

STT 1.00 Programming Example 3.

This example reads the primary variable from 2 HART field devices wired to 2

1770-HT1s.

When the STT subroutine is not enabled, set the STT subroutine trigger bit.

| Device 1 |

| Device 1 STT |

| STT enable trigger |

| N10:30 N10:30 |

+––––]/[–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(L)–––––+

| 1 3 |

Rung 2:1

Call the STT subroutine unconditionally.

| STT |

| Subroutine |

| +JSR–––––––––––––––+ |

+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––+JUMP TO SUBROUTINE+–+

| |Prog file number 5| |

| |Input par 10| |

| |Return par | |

| +––––––––––––––––––+ |