Special data registers/special internal relays -5 – IDEC MicroSmart Pentra User Manual

Page 65

Advertising
background image

W

EB

S

ERVER

CPU M

ODULE

U

SER

S

M

ANUAL

FC9Y-B1278

5-5

5: F

UNCTION

A

REA

S

ETTINGS

IP and DNS settings can be configured with one of the following three methods:

1.

Obtain network settings automatically from the DHCP server
A DHCP server must exist on the network in which the Web server CPU module is installed. All network settings are
configured automatically. The network settings are obtained from the DHCP server when the user program is
downloaded to the CPU module or when the CPU module is turned on.

2.

Configure network settings using special data registers.
Network settings can be configured with special data registers D8304 through D8323. Values in those special data
registers are applied as the network settings when the CPU module is turned on or when M8190 (IP address change
flag) is turned on.

3.

Configure fixed network settings.
Fixed network settings can be configured in the Function Area Settings dialog box. Network settings are applied when
the user program is downloaded to the CPU module or when the CPU module is turned on.

Notes:

• The default network settings are fixed IP address of 192.168.1.5.

• The following functions require the DNS server configured.

· Send E-mail function (DNS server is required to resolve SMTP server name)
· SNTP function (DNS server is required to resolve SNTP server name)
· PING function (DNS server is required to resolve the host names of remote hosts)
· Server/Client Communications (DNS server is required to resolve the network devices to communicate with)

Special Data Registers/Special Internal Relays

Special Data Registers to Confirm Network Settings
The IP Settings and DNS Settings of the Web server CPU module can be confirmed with the special data registers D8330
through D8349.

Special data registers

Specifying IP Settings and DNS Settings Using Special Data Registers
When use special data registers is configured in the function area settings, IP settings and DNS settings can be configured
with special data registers D8304 through D8323. Store 0 (function area settings) in D8303. Store the network settings to
apply in D8304 through D8323 and turn on M8190. The values in D8304 through D8323 are applied as the network
settings. The values in the special data registers can also be applied as the network settings by turning power off and on.

Notes:

• When the value in D8303 is 2 (Use special data registers), the special data registers can be used to configure the network settings

by turning on M8190 or turning power off and on regardless of the network settings configured in the function area settings.

• When the value in D8303 is 1 (Enable DHCP), the network settings can be obtained from DHCP server by turning on M8190 or

turning power off and on regardless of the network settings configured in the function area settings.

• To enable the network settings configured in the function area settings, store 0 in D8303 and turn on M8190 or turn power off

and on.

Device Address

Description

Details

D8330-D8333

IP Address

When the address is aaa.bbb.ccc.ddd, each value is stored in special
data registers as follows: (D+0)=aaa, (D+1)=bbb, (D+2)=ccc, and
(D+3)=ddd.
For example, when the IP address is 192.168.1.5, each value is stored
as follows: D8330=192, D8331=168, D8332=1, and D8333=5.

D8334-D8337

Subnet Mask

D8338-D8341

Default Gateway

D8342-D8345

Preferred DNS Server

D8346-D8349

Alternate DNS Server

Advertising