166
Ethernet module User’s Manual
Chapter 7 RAS Information
7
(3) Sample program
(a) Defining the variables
VAR
PING_REQ1:
BOOL;
PING_CMP1:
BOOL;
PING_ERR1:
BOOL;
PING_STS1:
INT; (* Remote station verification request error status *)
USEND_T_11:
USEND_T;
END_VAR
(b) Program
PING_REQ1
REQ
CMD
%MW3.380
LD
USEND_T
USEND_T_11
P
%MW3.370
LD
N
TX_CONT
LD
(S)
PING_CMP1
(S)
DONE
STATUS
PING_STS1
ST
ERROR
PING_ERR1
MOVE_UINT
6
LD
16#0314
LD
MOVE_WORD
%MW3.380
ST
%MW3.381
ST
%MW3.382
ST
16#85715D9A
LD
MOVE_DWORD
Содержание V Series
Страница 1: ...6F8C0904 Integrated Controller V Series Ethernet module EN311 User s Manual Sep 30 2004 ...
Страница 12: ......
Страница 16: ......
Страница 34: ......
Страница 40: ......
Страница 106: ......
Страница 180: ......
Страница 199: ...6F8C0904 179 7 5 RAS Information Readout 7 Figure 7 1 Packet Format IP Datagram ...
Страница 200: ...180 Ethernet module User s Manual Chapter 7 RAS Information 7 ...
Страница 224: ......
Страница 240: ......
Страница 244: ......
Страница 248: ......
Страница 250: ......
Страница 256: ......
Страница 258: ......