beautypg.com

Rockwell Automation 1747-SN Remote I/O Scanner User Manual

Page 6

background image

Publication 1747-UM013B-EN-P - January 2005

Table of Contents 2

When Changing From Run Mode . . . . . . . . . . . . . . . . . 3-8

Status LEDs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9

Chapter 4

Scanner Configuration and
Programming

Understanding Remote Input and Output Image Files. . . . . 4-1
RIO Configuration Using G Files . . . . . . . . . . . . . . . . . . . . 4-4

Rules for Configuring the Scanner. . . . . . . . . . . . . . . . . 4-7

Considerations When Configuring Remote I/O . . . . . . . . . . 4-12

G File Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Crossing Logical Rack Boundaries . . . . . . . . . . . . . . . . 4-13

Understanding M Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14

M Files Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
M0 Control File Description . . . . . . . . . . . . . . . . . . . . . 4-16
M0 File - RIO Device Inhibit Control. . . . . . . . . . . . . . . 4-17
M0 File - RIO Device Reset Control. . . . . . . . . . . . . . . . 4-18
M0 File - Remote Output Reset Control . . . . . . . . . . . . . 4-19

Device Reset and Remote Output Reset Considerations. . . . 4-21
M1 Status File Description . . . . . . . . . . . . . . . . . . . . . . . . . 4-23

General Communication Status - Enable Device Fault Bit. . .
4-23
General Communication Status - Communication Attempted
Bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
RIO Baud Rate Status . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Logical Device Starting Address Status . . . . . . . . . . . . . 4-24
Logical Device Image Size Status . . . . . . . . . . . . . . . . . 4-25
Active Device Status. . . . . . . . . . . . . . . . . . . . . . . . . . . 4-26
Logical Device Fault Status . . . . . . . . . . . . . . . . . . . . . . 4-27
RIO Status Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28

RIO Communication Retry Counter (M1:e.16 -47) . . . . . . . . 4-30
Understanding Slot Addressing . . . . . . . . . . . . . . . . . . . . . 4-32
SLC/Scanner Configuration . . . . . . . . . . . . . . . . . . . . . . . . 4-33

Chapter 5

RIO Block Transfer

RIO Block Transfer Theory of Operation . . . . . . . . . . . . . . 5-1

What Is RIO Block Transfer? . . . . . . . . . . . . . . . . . . . . 5-1

Using Block Transfer Instructions (BTR and BTW) . . . . . . . 5-5

RIO Block Transfer General Functional Overview . . . . . 5-5
Parameters for BTR and BTW . . . . . . . . . . . . . . . . . . . . 5-6
Control Status Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Instruction Operation . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Comparison to the PLC-5 BTR and BTW . . . . . . . . . . . . 5-16

Chapter 6

Troubleshooting

Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1