3-24
<Toc> <Ind>
<3. Procedures for Setting PR300 Functions>
IM 77C01E01-10E
3.5.9
Default Gateway (for Ethernet communication)
[Procedure]
(1)
To set the default gateway, 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
D0289
D0290
D0291
D0292
D0294
Reference No.
40289
40290
40291
40292
40294
H No.
0120
0121
0122
0123
0125
Description
Default gateway-1 (DG-1)
Default gateway-2 (DG-2)
Default gateway-3 (DG-3)
Default gateway-4 (DG-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
Initial value of default gateway: 0.0.0.0
Default Gateway
DG-1
0 to 255
DG-2
0 to 255
DG-3
0 to 255
DG-4
0 to 255
NOTE
•
A default gateway value can be set for the PR300 with Ethernet communication
function.
•
Default gateway settings are only effective when the protocol is set to Modbus/TCP.
[Example]
To set the default gateway to 0. 0. 0. 0:
For station number 01, use PC link communication (without checksum) and the random
write command as shown below:
[Command]
[STX]01010WRW05D0289,0000,D0290,0000,D0291,0000,D0292,0000,D0294,0001[ETX][CR]
[Response]
[STX]0101OK[ETX][CR]
Summary of Contents for PR300
Page 141: ......