<Toc> <Ind>
<3. Procedures for Setting PR300 Functions>
3-25
IM 77C01E01-10E
3.5.10 Port Number (for Ethernet communication)
[Procedure]
(1)
To set the port number, write data to the D register in the table below. The data type is
integer.
(2)
After writing that value, write 1 to the Ethernet writing status register, D0294.
D Register
D0293
D0294
Reference No.
40293
40294
H No.
0124
0125
Description
Port number
Ethernet writing status
(D0281 to D0293 are
validated)
Effective Range
502, 1024 to 65535
If other than 1: Invalid
If 1: Writing is executed
Initial value of port number: 502
NOTE
•
A port number value can be set for the PR300 with Ethernet communication function.
•
Port number setting is only effective when the protocol is set to Modbus/TCP.
[Example]
To set the port number to 1024:
For station number 01, use PC link communication (without checksum) and the random
write command as shown below:
[Command]
[STX]01010WRW02D0293,0400,D0294,0001[ETX][CR]
[Response]
[STX]0101OK[ETX][CR]
Содержание PR300
Страница 141: ......