Rockwell-automation 1771-DB BASIC MODULE Bedienungsanleitung Seite 319

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 394
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 318
Chapter
Call Routines 69–127
13
13 -61
Input Argument One
The first input argument is the type of PLC READ command you issued:
0 = disable the previously executed CALL 122
2 = common interface file – PLC-2 unprotected READ command
3 = PLC-3 file – word range READ command
5 = PLC-5 file – typed READ command
Input Argument Two
The second input argument is the node address of the remote PLC device
(0 through 255). If the number is not within this range, the status equals 2
and the read message does not occur.
Input Argument Three
The third input argument is the file number to be read on the PLC remote
device (0 through 255). If the number is not within this range, the status
equals 2 and the read message does not occur. The parameter is ignored if
the common interface file is chosen in the first parameter, but you must
still PUSH it.
Input Argument Four
The fourth input argument is the file type to be read from the PLC remote
device. Enter the file type code as shown below. This argument is ignored
if you chose the common interface file in the first parameter but you must
still PUSH it (assumes integer type). If the file type is not one of these, the
status equals 2 and the read message does not take place.
File type File type code Words/Element
(1 word = 16 bits)
integer file ASC(N) 1 word/element
status file ASC(S) 1 word/element
counter file ASC(C) 3 words/element
timer file ASC(T) 3 words/element
bit file ASC(B) 1 word/element
control file ASC(R) 3 words/element
input file ASC(I) 1 word/element
output file ASC(O) 1 word/element
Input Argument Five
The fifth input argument is the starting word offset within the file on the
PLC-2 remote device (0 through 32766). For PLC-3 integer, binary, or
status files, the value is 0–9999. For PLC-3 I/O files, the value is 0–4095.
For PLC-3 timer or counter files the value must be 0. If the number is not
within this range, the status equals 2 and the transfer does not occur.
Seitenansicht 318
1 2 ... 314 315 316 317 318 319 320 321 322 323 324 ... 393 394

Kommentare zu diesen Handbüchern

Keine Kommentare