beautypg.com

Example program for accessing results data, cont’d – Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 59

background image

Chapter 4
Using the Remote I/O Link
(Node Adapter)

4–22

31 December 1989 Page 1
Ladder Listing Processor File: CVIMBLK.ACH Rung 2:0

Rung 2:0
Block Transfer Results, Toolset 1, Results Block 1.
| Block |
| Transfer |
| Results |
| O:023 |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+–––(L)––––+–+
| | 00 | |
| |Specify | |
| |Toolset | |
| | O:023 | |
| +–––(L)––––+ |
| | 04 | |
| |Block 1 of| |
| |4 Types | |
| | O:023 | |
| +–––(L)––––+ |
| 10 |

Rung 2:1
Push Button Input to Trigger a CVIM Inspection.
| I:010 B3 B3 |
+––––] [––]ONS[––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––+
| 02 4 3 |

Rung 2:2
Flags for First Block Read, and Continuous Block Read Until New Results.
| B3 B3 |
+––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+––––(L)–––+–+
| 3 | 2 | |
| | B3 | |
| +–––(L)––––+ |
| 1 |
|

Rung 2:3
Read Results Block #1 From CVIM.
| B3 +BTR––––––––––––––––––––+ |
+––––]ONS[––––––––––––––––––––––––––––––––––––––+BLOCK TRNSFR READ +–(EN)–+
| 2 |Rack 2| |
| |Group 0+–(DN) |
| |Module 0| |
| |Control Block N7:100+–(ER) |
| |Data file N7:0| |
| |Length 0| |
| |Continuous Y| |
| +–––––––––––––––––––––––+ |

Rung 2:4
Clear Block Transfer Read Error, If It Occurs.
| BTR Error BTR Enable |
| N7:100 N7:100 |
+––––] [–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(U)–––––+
| 12 15 |

Example Program for Accessing
Results Data, Cont’d