FANUC Robotics America GFK-1541B User Manual

Page 89

Advertising
background image

3-22

TCP/IP Ethernet Communications for the Series 90™ PLC User's Manual

May 2002

GFK-1541B

3

(Words 7 –17):

See the descriptions in Example 1.

(Word 18) Remote PLC - Network Address Type:

Word 18 specifies the format of the remote

PLC address. Currently, Word 18 must contain the value 1 or 3. A value of 1 indicates a dotted-
decimal IP address expressed using a separate register for each decimal digit. A value of 3
indicates a Network Address name. See Example 1 for information on using address type 1.

(Word 19) Remote PLC - Network Address Length:

Word 19 specifies the length in words of

the remote PLC Network Address name. With an address type of 3 specified in Word 18, Word
19 must contain 32 decimal.

(Words 20–35) Remote PLC - Network Address Name:

Words 20–35 specify the Network

Address name of the remote PLC as an ASCII character string. The Network Address name may
contain up to 31 characters, is case-sensitive, and must be terminated with a null character (zero).
An error will result if the Network Address name is empty or if the name could not be resolved
into the address of an actual device.

The Network Address name must have each pair of ASCII characters reversed within the PLC
memory. For example, the name “PLC_1aa” (“P” = 50H, “L” = 4CH, “C” = 43H, “_” = 5FH,
“1” = 31H, “a” = 61H, “a” = 61H ) would have 4C50H in Word 20, 5F43H in Word 21, 6131H in
Word 22, and 0061H in Word 23. Words 24–35 all contain 0000H.

Note

The Network Address name of the remote PLC must be defined in the Name Table
in this Ethernet Interface, or be defined as the Network Address name of the remote
PLC, or else be defined at a reachable DNS Name Server. See Chapter 7,
“Network Administration Support”, for more information.

(Words 36–51):

Reserved, set to 0.

(Words 52–55) Remote PLC - Program Name:

Words 52–55 specify the case-sensitive, zero-

terminated and padded program name (also called task name, which can be found through the
PROG Station Manager command on the server Ethernet Interface) to be used with access to
remote %P or %L memory. These words are required only for access to such memory and will be
ignored if the Memory Type field is not %P or %L. See Note below.

(Words 56–59) Remote PLC - Program Block Name:

Words 56–59 specify the case- sensitive,

zero-terminated and padded program block name (which can be found in the program block
declaration in the server ladder program) to be used with access to remote %L memory. These
words are required only for access to such memory and will be ignored if the Memory Type field
is not %P or %L.

Note

The Program Name (Words 52–55) and Program Block Name (Words 56–59) must
have each pair of ASCII characters reversed within the PLC memory. For
example, the name “MARY” (“M” = 4DH, “A” = 41H, “R” = 52H, “Y” = 59H)
would have 414DH in the first word and 5952H in the second word.

www.cadfamily.com EMail:[email protected]
The document is for study only,if tort to your rights,please inform us,we will delete

Advertising