Rockwell-automation 1771-N SERIES High Resolution Analog Module User M Bedienungsanleitung Seite 37

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 188
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 36
3–5Communicating With Your Analog Module
Publication 1771ĆUM127B-EN-P - December 2002
The differences between the types of 1771-N series modules is
related to the number of output channels each module has. A module
with only inputs (no outputs) requires one BTW after powerup.
Thereafter, it sends back input data and module status by way of
BTRs.
A module with outputs requires BTWs to configure it and update its
output data. BTRs are required to send back input data and module
status.
Sample Ladder Diagram Ć PLCĆ3 Family Processors
The following PLC-3 program can be used for all 1771-N series
modules. The program can be altered to effectively address modules
with or without output channels.
Figure 3.4
PLCĆ3 Family Example Program Structure
EN
BTR
BLOCK XFER READ
RACK:
GROUP:
MODULE:
DATA FILE
0
0
0
#N1:0
LENGTH:
CONTROL:
0
#B1:10
EN
DN
B1:10
05
Block Transfer
Read Done Bit
ER
Enable
Done
Error
12
15
13
Enable
Done
Error
02
05
03
Block Transfer
Write Done Bit
Rung 1
DN
ER
B1:10
15
MOV
SOURCE:
DESTINATION:
B1:0
B1:15
Pushbutton
00
Power-up Bit
17
B1:10
07
MOV
SOURCE:
DESTINATION:
B1:1
B1:15
Pushbutton
00
17
B1:10
07
Block Transfer
Write Done Bit
0000000000001001
Block Transfer
Write Done Bit
0000000000111011
13
Block Transfer
Read Error Bit
B1:10
Rung 2
Rung 3
Rung 4
BTW
BLOCK XFER WRITE
RACK:
GROUP:
MODULE:
DATA FILE
0
0
0
#N1:100
LENGTH:
CONTROL:
9
#B1:10
03
Block Transfer
Write Error Bit
B1:10
I0:2
N1:1
I0:2
Power-up Bit
N1:1
0000000000001001
0000000000001001
This program changes the length of the block transfer write from 59 words at powerup
or when reconfigured, to 9 words at all other times.
Seitenansicht 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 187 188

Kommentare zu diesen Handbüchern

Keine Kommentare