EasyManua.ls Logo

YASKAWA VIPA SPEED7 - UDT 66 - TADDR_PAR Data Structure

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ERROR STATUS Description
1 8922h DATA parameter: Target area invalid: area does not exist in DB.
1 8924h DATA parameter: Range error in ANY pointer
1 8932h DATA parameter: DB number too large.
1 893Ah DATA parameter: Access to receive buffer not possible (e.g. deleted DB)
1 897Fh DATA parameter: Internal error, such as an invalid ANY reference
1 8F7Fh Internal Error (VIPA specific)
1 8xyyh
General error information
Ä
Chap. 4.2 ‘General and Specific Error Information
RET_VAL’ page 66
8.1.10 UDT 66 - TADDR_PAR Data structure
8.1.10.1 Data structure for assigning connection
n With FB 67 TUSEND, at the parameter ADDR you transfer the address of the
receiver. This address information must have structure specified below.
n With FB 68 TURCV, in the parameter ADDR you get the address of the sender of the
data that were received. This address information must have structure specified
below.
You have to create an DB that contains one or more data structures as per UDT 66
TADDR_PAR.
In parameter ADDR of FB 67 TUSEND you transfer and in parameter ADDR of FB 68
TURCV you receive a pointer to the address of the associated remote partner (e.g.
P#DB10.DBX0.0 byte 8).
Structure of the address information for the remote partner
Byte Parameter Data type Start value Description
0 ... 3 rem_ip_addr ARRAY [1..4] of
BYTE
00h ... IP address of the remote partner, e.g.
192.168.002.003:
n rem_ip_addr[1] = C0h (192)
n rem_ip_addr[2] = A8h (168)
n rem_ip_addr[3] = 02h (002)
n rem_ip_addr[4] = 03h (003)
4 ... 5 rem_port_nr ARRAY [1..2] of
BYTE
00h ... remote port number
(possible values: 2000 ... 5000)
n rem_port_nr[1] = high byte of port number
in hexadecimal representation
n rem_port_nr[2] = low byte of port number
in hexadecimal representation
6 ... 7 spare ARRAY [1..2] of
BYTE
00h ... reserved (00h)
Description
Data block
VIPA SPEED7
Network Communication
Open Communication > UDT 66 - TADDR_PAR Data structure
HB00 | OPL_SP7 | Operation list | en | 18-30 136

Table of Contents

Related product manuals