Chapter 4 Deployment of the CPU 21x-2BT10 with TCP/IP
Manual VIPA CPU 21x
4-34
HB103E - Rev. 05/45
By means of AG_SEND the data to send are transferred to the CP.
Parameter Declaration Type
Description
ACT
Input
BOOL
Activation of the sender
0: Updates DONE, ERROR and STATUS
1: The data area defined in SEND with the length LEN
is
send
ID
Input
INT
Connection number 1 ... 16 (identical with ID of NetPro)
LADDR
Input
WORD
Logical basic address of the CP
(identical with LADDR of NetPro)
SEND Input ANY Data
area
LEN
Input
INT
Number of bytes from data area to transfer
DONE
Output
BOOL
Status parameter for the order
0: Order running
1: Order ready without error
ERROR Output
BOOL Error
message
0: Order running (at DONE = 0)
0: Order ready without error (at DONE = 1)
1: Order ready with error
STATUS
Output
WORD
Status message returned with DONE and ERROR. More
details are to be found in the following table.
By means of AG_RECV the data received from the CP are transferred to
the CPU.
Parameter Declaration Type
Description
ID
Input
INT
Connection number 1 ... 16 (identical with ID of NetPro)
LADDR
Input
WORD
Logical basic address of the CP
(identical with LADDR of NetPro)
RECV
Input
ANY
Data area for the received data
NDR
Output
BOOL
Status parameter for the order
0: Order running
1: Order ready data received without error
ERROR Output
BOOL Error
message
0: Order running (at NDR = 0)
0: Order ready without error (at NDR = 1)
1: Order ready with error
STATUS
Output
WORD
Status message returned with NDR and ERROR. More
details are to be found in the following table.
LEN
Output
INT
Number of bytes that have been received
AG_SEND (FC5)
Parameter
AG_RECV (FC6)
Parameter
Содержание CPU 21 Series
Страница 1: ...Manual VIPA CPU 21x Order No VIPA HB103E Rev 05 45 ...
Страница 2: ...Lerrzeichen ...
Страница 6: ...About this Manual Manual VIPA CPU 21x Subject to change to cater for technical progress ...
Страница 10: ...Contents Manual VIPA CPU 21x iv HB103E Rev 05 45 ...
Страница 30: ...Chapter 1 Principles Manual VIPA CPU 21x 1 18 HB103E Rev 05 45 ...
Страница 58: ...Chapter 2 Hardware description Manual VIPA CPU 21x 2 28 HB103E Rev 05 45 ...
Страница 80: ...Chapter 3 Deployment CPU 21x Manual VIPA CPU 21x 3 22 HB103E Rev 05 45 ...
Страница 178: ...Chapter 5 Deployment CPU 21x 2BT02 with H1 TCP IP Manual VIPA CPU 21x 5 48 HB103E Rev 05 45 ...