Rockwell-automation 1771-IFE , D17716.5.90 USER MNL. ANALOG INPUT Modu Manuel d'utilisateur Page 48

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 63
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 47
Appendix
B
B-1
Programming Examples
The following are sample programs for entering data in the configuration
words of the write block transfer instruction when using the PLC-2, PLC-3
or PLC-5 family processors.
To enter data in the configuration words, follow these steps:
Example:
Enter the following rung for a write block transfer:
EN
DN
011
06
111
06
BLOCK XFER WRITE
DATA ADDR:
MODULE ADDR:
BLOCK LENGTH:
FILE:
030
110
19
400 - 437
400 is the address of the write block transfer data file. You want to
examine configuration word 1.
Step Action Description
1.
Press
[SEARCH]8<data address>
Finds the block transfer instruction
2.
Press CANCEL COMMAND
Removes preceding command
3.
Press [DISPLAY]0 or 1 Displays the file in binary or BCD
4.
Move cursor to data to be modified
5.
Enter new data
6.
Press [INSER
T] W
rites data to file element
Use the above procedure to enter the required words of the write block
transfer instruction. Be aware that the block length will depend on the
number of channels selected and whether scaling is or is not performed; for
example, the block may contain only 3 words if no scaling is performed
but may contain 37 words if using 16 inputs with scaling. The PLC-2
family write block transfer data file should look like Figure B.1.
Sample Programs for the
Analog Input Module
PLC2 Family Processors
Vue de la page 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 62 63

Commentaires sur ces manuels

Pas de commentaire