90
• For "Open Setting"
*1
Do not specify 1388
H
to 1391
H
(5000 to 5009) because these ports are used by the system. (
(b) Devices used in the program
The following table lists the device numbers and applications used in the sample program.
Item
Setting
Protocol
TCP
Open System
Socket Communication
TCP Connection
Active
Host Station Port No.
1000
H
(Setting range: 0001
H
to 1387
H
, 1392
H
to FFFE
H
)
*1
Destination IP Address
192.168.3.40 (Setting range: 0.0.0.1 to 223.255.255.254)
Destination Port No.
1000
H
(Setting range: 0001
H
to FFFE
H
)
Device number
Application
M1000
Open direction
D100 to D109
SP.SOCOPEN instruction control data
M100 and M101
SP.SOCOPEN instruction completion device
M1002
Normal open indication
M1003
Open error indication
M3000
Send direction
D3000 and D3001
SP.SOCSND instruction control data
M300 and M301
SP.SOCSND instruction completion device
D300 to D303
Send data length and send data (6 bytes of 12
H
, 34
H
, 56
H
, 78
H
, 9A
H
, and BC
H
)
M3002
Normal send indication
M3003
Send error indication
M4000
Close direction
M4001
Disconnection by the other device
SD1282
Open completion signal
SD1284
Open request signal
SD1286
Receive state signal
SD1288
Connection state signal
D200 and D201
SP.SOCCLOSE instruction control data
M200 and M201
SP.SOCCLOSE instruction completion device
M4002
Normal close indication
M4003
Close error indication
M4004
Closing flag
D400 to D403
SP.SOCRMODE instruction control data
D5000 and D5001
SP.SOCRCV instruction control data
M500 and M501
SP.SOCRCV instruction completion device
D500 and higher
Receive data length and receive data
M5002
Normal receive indication
M5003
Receive error indication
Summary of Contents for melsec q03ud(E)cpu
Page 2: ......
Page 11: ...9 Memo ...
Page 209: ...207 APPENDICES A Appendix 4 Specifications Comparison with Ethernet Module Memo ...
Page 213: ...211 Memo ...
Page 219: ......