Rockwell-automation 1771-N SERIES High Resolution Analog Module User M Manuel d'utilisateur Page 35

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 188
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 34
3–3Communicating With Your Analog Module
Publication 1771ĆUM127B-EN-P - December 2002
Figure 3.1
PLCĆ3 Family Sample Program Structure
EN
BTR
BLOCK XFER READ
RACK:
GROUP:
MODULE:
DATA:
XXX
X
X = XXXX
XXXX:XXXX
LENGTH:
CNTL:
00
XXXX:XXXX
EN
BTW
BLOCK XFER WRITE
RACK:
GROUP:
MODULE:
DATA:
XXX
X
X = XXXX
XXXX:XXXX
DN
LENGTH:
CNTL:
00
XXXX:XXXX
Block Transfer
Read Done Bit
ER
Enable
Done
Error
12
15
13
Enable
Done
Error
02
05
03
Block Transfer
Write Done Bit
1
2
DN
ER
Program Action
At powerup, the user program enables a
block transfer read. Then it initiates a
block transfer write to configure module.
Thereafter, the program continuously perĆ
forms read and write block transfers.
This program is very similar to the PLC-3 program with the
following exceptions:
Block transfer enable bits are used instead of done bits as the
conditions on each rung.
Separate block transfer control files are used for the block
transfer instructions.
Figure 3.2
PLCĆ5 Family Sample Program Structure
EN
BTR
BLOCK XFER READ
RACK:
GROUP:
MODULE:
CONTROL:
X
X
X
XXX:XX
DN
DATA FILE:
LENGTH:
CONTINUOUS:
XXX:XX
00
N
ER
BTR Enable
1
EN
BTW
BLOCK XFER WRITE
RACK:
GROUP:
MODULE:
CONTROL:
X
X
X
XXX:XX
DN
DATA FILE:
LENGTH:
CONTINUOUS:
XXX:XX
00
N
ER
BTR
2
BTW
Enabl
e
BTW Enable
Enable
Program Action
At powerup, the user program enables a
block transfer read. Then it initiates a block
transfer write to configure module.
Thereafter, the program continuously perĆ
forms read and write block transfers.
PLCĆ5 and PLCĆ5/250
Program Example
Vue de la page 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 187 188

Commentaires sur ces manuels

Pas de commentaire