Rockwell-automation AutoMax ControlNet Communication Interface Module Bedienungsanleitung Seite 51

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 80
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 50
AutoMax ControlNet Module Page 51
Publication number DSMBCN-UM001B-EN-P February 2003
20 LOCAL DST% \! The address of the destination node &
on the local network
21 LOCAL STS% \! The location where the status &
resulting from the operation is stored
22 LOCAL SZE% \! The number of registers to &
be transferred
23 LOCAL CMD% \! The command sent by the module
30 DST% = 7
31 STS% = 0
32 SZE% = 100
33 CMD% = 2
40 IF NOT GATEWAY_CMD_OK@(STS%, CMD%, DST%, "1234", &
VARPTR!(N7BASE%),SZE%) THEN 20000 \! process errors &
at line 20000
GATEWAY_CMD_OK@ Status Codes
The following codes are written to the variable defined as the "status"
parameter in the GATEWAY_CMD_OK@ function used to initiate
PCCC network data transfers from an AutoMax application task.
Code, hex Description
0 Operation successful
1 Invalid operation
3 Invalid length
4 Invalid offset
5 Invalid length + offset
6 Invalid destination
8 Invalid data type
9 Invalid route (equal to own address)
B Inconsistent response
C Module not enabled
20 Parameter specifying destination address is
invalid
21 module not found or inaccessible
22 No available data path
41 Could not open a connection
42 Timeout opening a connection.
Figure 12 GATEWAY_CMD_OK Status Table
Local and Remote Status (STS) error codes are written to the upper byte.
If the first digit is "1", the STS code is local; if the first digit is "3", the
STS code is remote.
Seitenansicht 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 79 80

Kommentare zu diesen Handbüchern

Keine Kommentare