79
CHAPTER 6 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
6
6.2 Setting Metho
d
*1
Do not specify 1388
H
to 1391
H
(5000 to 5009) because these ports are used by the system. (
6.
Write the protocol setting data to the CPU module.
In the "Writing Protocol Setting" window, specify the
write-target drive in the CPU module and write the
protocol setting data.
*1
[Module Read/Write]
[Write to Module]
*1
The written protocol setting data will be enabled when
• the CPU module is powered on or is reset, or
• SM1355 (Predefined protocol setting check request) is turned on.
●
To enable the written protocol setting data without powering off or resetting the CPU module, turn on SM1355
(Predefined protocol setting check request). Before enabling the protocol setting data, stop the CPU module and check
that no instruction is being executed. Depending on the on-timing of SM1355 (Predefined protocol setting check
request), the instruction being executed may end abnormally.
7.
Set the connection for connecting the predefined
protocol.
[PLC Parameter]
[Built-in Ethernet Port Setting]
[Open Setting]
Item
Description
Protocol
Select "TCP" or "UDP".
Open System
Select "Predefined Protocol".
TCP Connection
When "Protocol" is "TCP", select the connection method. (
Host Station
Set the port number of the CPU module.
Setting range: 0001
H
to 1387
H
, 1392
H
to FFFE
H
(1 to 4999, 5010 to 65534)
*1
Destination IP Address
Set the IP address of the external device.
Setting range: 0.0.0.1 to 223.255.255.254
Destination Port No.
Set the port number of the external device.
• Setting range: 0001
H
to FFFE
H
(1 to 65534) (for TCP)
• Setting range: 0001
H
to FFFE
H
/FFFF
H
(1 to 65534/65535) (for UDP)
Start Device to Store
Predefined Protocol
Set the start device number for storing the protocol execution status, received data verification
result, number of protocol executions, and protocol cancellation status. (
6.2 (1))
The area of 19 words starting from the specified device is used.
Available devices: D, W, R, ZR
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: ......