Rockwell-automation 1771-N SERIES High Resolution Analog Module User M Instrukcja Użytkownika Strona 38

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 37
3–6 Communicating With Your Analog Module
Publication 1771ĆUM127B-EN-P - December 2002
Modules without output channels do not require rungs 2 and 3.
Instead, move the input condition instructions from rung 2 to the
front of rung 4, and specify the BTW length equal to 59.
Sample Ladder Diagram Ć PLCĆ5 Family Processors
The following PLC-5 program is very similar to the preceding
PLC-3 program with the following exceptions:
You use enable bits instead of done bits as the conditions on each
rung.
A separate control file must be selected for each of the block
transfer instructions.
Figure 3.5
PLCĆ5 Family Example Program Structure
EN
BTR
BLOCK XFER READ
RACK:
GROUP:
MODULE:
CONTROL:
01
00
0
N10:0
DN
DATA FILE:
LENGTH:
CONTINUOUS:
N10:10
00
N
ER
BTR Enable
15
1
EN
BTW
BLOCK XFER WRITE
RACK:
GROUP:
MODULE:
CONTROL:
01
00
0
N10:5
DN
DATA FILE:
LENGTH:
CONTINUOUS:
N10:80
N
ER
15 15
2
BTW
Enable
BTW Enable
15
CPT
COMPUTE
DEST
EXPRESSION
N10:6
59
00 15
BTW
Enable
Pushbutton
15
Powerup Bit
* Length = (number of outputs + 1) words.
For 2 output/6 input modules, this would be equal to 3.
*
4
BTR
Enable
N10:0 N10:5
N10:11
I:007 N10:5
N10:0 N10:5
3
CPT
COMPUTE
DEST
EXPRESSION
N10:6
9
00 15
BTW
Enable
Pushbutton
I:007 N10:5
For the following example, assume the analog module is physically located at rack address 01, module group 00, module sl
o
and the input module connected to the pushbutton is located at rack address 00, module group 7, slot 6. The block transfer
data files correspond to the example on the following pages.
Modules without output channels do not require rungs 2 and 3. Instead, move
the input
condition instructions (pushbutton and powerup) from rung 2 to the front of rung
4, and specify the BTW length equal to 59.
15
Powerup Bit
N10:11
Przeglądanie stron 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 187 188

Komentarze do niniejszej Instrukcji

Brak uwag