96
model 3000 Ethernet Module / DS Connection Module Operation Manual
Appendix E Sample Programs
E
Close request (to close when CLOSE_REC is ON) (UDP)
OPEN_
COMPLETE
RX_COMPLETE
RX_REQ
RX_REQ
URCV_T
REQ
URCVD_T_1
DONE
CMD
RX_ERROR
U_R
LD
P
UR_DATA[0]
LD
UR_SIZE
LD
N
ERROR
STATUS
RCV_STATUS
ST
RX_ ERROR
RX_COMPLETE
CLOSE_REQ
RX_TRG
U_R.Slot
ST
4
LD
MOVE_UINT
MOVE_WORD U_R.Cmd
ST
16#0033
LD
MOVE_DWORD U_R.DIP
ST
16#0000_0000
LD
MOVE_UINT U_R.DPort
ST
20014
LD
MOVE_UINT U_R.TimeUp
ST
16#0000
LD
MOVE_INT
OPEN_STATUS1
LD
U_R.Socket
ST
/
*
UDP RECEIVE REQUEST */
MOVE_UINT UR_SIZE
ST
513
LD
/* UR_DATA[0] is the receiving data byte size. */
/* It is the receiving data from UR_DATA[1]. */
U_C.Slot
ST
3
LD
MOVE_UINT
MOVE_WORD U_C.Cmd
ST
16#0034
LD
MOVE_INT
U_C.Socket
ST
OPEN_STATUS1
LD
CLOSE_REQ
USEND_T
REQ
USEND_T_3
DONE
CMD
CLOSE_ERROR
U_C
LD
P
DUMMY
LD
DUMMY
LD
N
ERROR
STATUS
CLOSE_STATUS1
ST
CLOSE_COMPLETE
R
CLOSE_REQ
Содержание 3000 series
Страница 13: ...CONTENTS 6F8C0878 xi E Sample Programs 91 F Return Code List 103 G Option switch List 107 ...
Страница 14: ......
Страница 26: ......
Страница 72: ......
Страница 76: ......
Страница 82: ......
Страница 100: ......
Страница 102: ......
Страница 104: ......
Страница 116: ......
Страница 120: ......
Страница 122: ......
Страница 126: ......