3-22
<Toc> <Ind>
<3. Procedures for Setting PR300 Functions>
IM 77C01E01-10E
3.5.7
IP Address (for Ethernet communication)
[Procedure]
(1)
To set the IP address, write data to the four D registers 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
D0281
D0282
D0283
D0284
D0294
Reference No.
40281
40282
40283
40284
40294
H No.
0118
0119
011A
011B
0125
Description
IP address-1 (IP-1)
IP address-2 (IP-2)
IP address-3 (IP-3)
IP address-4 (IP-4)
Ethernet writing status
(D0281 to D0293 are
validated)
Effective Range
0 to 255
0 to 255
0 to 255
0 to 255
If other than 1: Invalid
If 1: Writing is executed
IP address
IP-1
0 to 255
IP-2
0 to 255
IP-3
0 to 255
IP-4
0 to 255
Initial value of IP address: 192.168.1.1
NOTE
•
An IP address value can be set for the PR300 with Ethernet communication function.
•
IP address settings are only effective when the protocol is set to Modbus/TCP.
[Example]
To set the IP address to 192.168.1.3:
For station number 01, use PC link communication (without checksum) and the random
write command as shown below:
[Command]
[STX]01010WRW05D0281,00C0,D0282,00A8,D0283,0001,D0284,0003,D0294,0001[ETX][CR]
[Response]
[STX]0101OK[ETX][CR]
Summary of Contents for PR300
Page 141: ......