94
model 3000 Ethernet Module / DS Connection Module Operation Manual
Appendix E Sample Programs
E
Variable definition (UDP reception)
VAR
OPEN_COMPLETE:
BOOL;
OPEN_ERROR:
BOOL;
OPEN_REQ:
BOOL;
RX_COMPLETE:
BOOL;
RX_ERROR:
BOOL;
RX_REQ:
BOOL;
CLOSE_COMPLETE:
BOOL;
CLOSE_ERROR:
BOOL;
CLOSE_REQ:
BOOL;
RCV_STATUS:
INT;
CLOSE_STATUS:
INT;
UR_DUMMY1:
WORD;
UR_DUMMY2:
UINT;
UR_SIZE:
UNIT;
UR_DATA:ARRAY[0..512] OF WORD;
URCV_T_1:
WORD;
USEND_T_1:
USEND_T;
OPEN_STATUS1:
INT;
U_O:
typeUDP_OPEN;
U_R:
typeUDP_RCV_BC;
U_C:
typeUDP_CLOSE;
T_SK_CMD:
typeTCP_SEND;
T_SOCKET:
URCV_T;
T_SK_REQ:
BOOL;
T_SK_COMP:
BOOL;
T_SK_ERR:
BOOL;
T_SK:
INT;
T_SK_SOCKET:
INT;
T_SK_DT:
WORD;
RX_TRG:
BOOL;
END_VAR
Summary of Contents for 3000 series
Page 13: ...CONTENTS 6F8C0878 xi E Sample Programs 91 F Return Code List 103 G Option switch List 107 ...
Page 14: ......
Page 26: ......
Page 72: ......
Page 76: ......
Page 82: ......
Page 100: ......
Page 102: ......
Page 104: ......
Page 116: ......
Page 120: ......
Page 122: ......
Page 126: ......