Download Print this page

Mitsubishi FX2NC-ENET-ADP User Manual page 2

Advertisement

9) Terminal block for grounding
Internally short-circuited.
Applicable cable: AWG 17 to 14
Tightening torque: 0.4 to 0.5 N·m
10)DIN rail mounting hook
11)DIN rail mounting groove
5.3 Connector pin arrangement
The RJ45 connector in the FX
2NC
-ENET-ADP has the following pin arrangement.
Pin
Signal name Direction
Description
1
TD+
Out
+ side of send data
2
TD-
Out
- side of send data
3
RD+
In
+ side of receive data
8
1
4
Unused
-
5
Unused
-
6
RD-
In
- side of receive data
7
Unused
-
8
Unused
-
5.4 Used cable
STP (Shielded twisted pair) cable Category 5(e) or 3
6. Wiring
6.1 Cautions on wiring
Wiring Precaution
• Cut off all phases of external power source before installation or
performing wiring work in order to avoid electric shock or damage to
the product.
Wiring Precaution
• The grounding terminal in the main unit should be connected to a
grounding resistance of 100Ω or less.
• Do not drop cuttings and wire chips into the ventilation slits of the
PLC when drilling screw holes or performing wiring work.
Otherwise, fire, failure, or malfunction may occur.
Another
Another
PLC
PLC
PLC
equipment
equipment
equipment
Dedicated grounding
Shared grounding (good)
Common grounding
(best)
(not possible)
6.2 Wiring example
Grounding
(100Ω or less)
To
HUB
7. Parameter Settings for FX
-ENET-ADP
2NC
To connect the FX
-ENET-ADP to the Ethernet, it is necessary to set the Ethernet
2NC
parameters, including the Header, IP address, Subnet mask, Gateway address and
TCP port number.
Set the Ethernet parameters to the 'D' data registers in the PLC.
Immediately after the power is turned on, the FX
2NC
parameters stored in the 'D' data registers in the PLC, and configures itself.
7.1 Used devices
[FX
]
1S
Set the Ethernet parameters to nine data registers from D128 to D136.
Default
Data register
Setting item
parameter
*1*5
D128, D129
Header
-
*4
D130, D131
IP address
192.168.0.100
*4
D132, D133
Subnet mask
255.255.255.0
Gateway
D134, D135
192.168.0.1
*4
address
TCP port
D136
1024
number
[FX
/FX
/FX
]
1N
2N
2NC
Set the Ethernet parameters to nine data registers from D1000 to D1008.
If these data registers are used for any other purpose, the Ethernet parameters can be
set to nine data registers 'D' starting from D2000, D3000, D4000, D5000, D6000 or
D7000.
Default
Data register
Setting item
parameter
*1
D 000,D 001
Header
-
*4
D 002,D 003
IP address
192.168.0.100
*4
D 004,D 005
Subnet mask
255.255.255.0
Gateway
D 006,D 007
192.168.0.1
*4
address
Another
TCP port
D 008
1024
number
: Indicates any number in the range from 1 to 7.
• If "ENET" is not found or the parameters such as IP address, Gateway address,
Subnet mask are incorrect, the default parameters are valid.
• If FX
-ENET-ADAP cannot read out the specified data register stored in the PLC,
2NC
the default parameters are used. In such a case, the SD or RD LED is lit.
(Refer to 7.4.)
Note
*1 This is the header identifier required when FX
Ethernet parameters.
Make sure to set H454E4554 ("ENET") to D128/D129 or D 000/D 001.
*2 The first 8 bits used for the IP address and Gateway address must be in the
range from 1 to 223.
If any number outside this range is used, the RD LED will be lit when the FX
ENET-ADP is turned on and Ethernet communication will not be performed.
.
.
.
Set numbers from 1 to 223.
*3 In the following cases (and as explained in *2) concerning the Subnet mask data,
the RD LED will be lit when the FX
-ENET-ADP is turned on, an error will
2NC
occur and Ethernet communication will not be performed.
(The following conditions are expressed in binary form.)
1) If 1 is set for all bits
2) If 0 is set for all bits
3) If 1 is set immediately after 0 is set
Example: 111...11000100...
*4 The settings of the IP address, Subnet mask and Gateway address depend on
the network environment. For the contents of these parameters, see the network
administrator.
-ENET-ADP searches for the header in the order "D1000 → D7000".
*5 The FX
2NC
The values described in lowest data resister numbers are set as the Ethernet
parameters.
7.2 Parameter setting methods
Set the Ethernet parameters using either of the following methods through serial
communication:
• Setting using the PLC program
• Setting using file registers
-ENET-ADP reads the Ethernet
For each setting example, refer to Section 7.3.
7.3 Parameter setting examples for FX
Two examples of setting the Ethernet parameters for the FX
below:
Example of parameter settings
Description
Data register
Set H454E4554 ("ENET").
FX
FX
/FX
/FX
1S
1N
2N
2NC
Set the IP address for
D128,D129
D1000,D1001
connecting to Ethernet.
*2
D130,D131
D1002,D1003
Set the sub-net mask for
D132,D133
D1004,D1005
*3
connecting to Ethernet.
D134,D135
D1006,D1007
Set the gateway address for
connecting to Ethernet.
*2
D136
D1008
Set the TCP ports within the
range from 1024 to 65535.
When the PLC program is used to set the Ethernet parameters
The Ethernet parameters for the FX
shown below:
Note
In the FX
-ENET-ADP, the Ethernet parameters become valid only when the power
2NC
is turned ON and the setting data is stored in specified data registers.
In either of the following cases, turn off the power of the PLC once, and then turn it on
Description
again.
• When a parameter is set for the first time
Set H454E4554 ("ENET").
• When the setting of a parameter is changed during operation
Set the IP address for
[FX
]
1S
connecting to Ethernet.
*2
M8002
Set the sub-net mask for
D
MOV
*3
connecting to Ethernet.
Set the gateway address for
connecting to Ethernet.
*2
D
MOV
Set the TCP ports within the
range from 1024 to 65535.
D
MOV
D
MOV
MOV
2NC
-ENET-ADP identifies the
[FX
/FX
/FX
]
1N
2N
2NC
M8002
D
MOV
-
2NC
D
MOV
D
MOV
D
MOV
MOV
*6
When connecting two or more PLCs to a network, do not use the same IP
address twice.
Example: Personal computer (GX Developer)
PLC1
PLC2
When file registers are used to set the Ethernet parameters
Select [Parameter] - [PLC parameter] - [Memory capacity] in GX Developer, and
set the file register capacity to 1 block or more.
Then, right-click [Device memory], add the device memory data, and set the
parameters as shown below:
• Settings of D128 to D135 or D1000 to D1007 (32-bit HEX mode)
-ENET-ADP
2NC
-ENET-ADP are shown
2NC
Setting item
Parameter
Set data
Header: ENET
Header
"ENET"
H454E4554
IP address: 192.168.0.110
IP address
192.168.0.110
HC0A8006E
• Settings of D136 or D1008 (16-bit DEC mode)
Subnet mask
255.255.255.0
HFFFFFF00
Gateway
192.168.0.1
HC0A80001
address
TCP port number
1024
K1024
2NC
-ENET-ADP can be set using the program
7.4 Check of configuration using SD LED and RD LED
The SD LED and the RD LED can be used to check whether the current
configuration is functioning properly or not.
At startup (reset)
After power is turned on, the SD LED and RD LED are lit for 2 seconds, and the
FX
-ENET-ADP reads the configuration data from the PLC.
2NC
If the configuration data is read correctly, the SD LED and RD LED turn off. If an
error occurs, the SD LED and RD LED indicate the error status as shown below:
SD LED RD LED
Setting of Header:
H454E4554
D128
ASCII codes to specify
1)
ON
"ENET"
*6
Setting of IP address
:
HC0A8006E
D130
192 . 168 . 0 . 110
2)
OFF
C0
A8 00 6E
3)
OFF
Setting of Subnet mask:
HFFFFFF00
D132
255 . 255 . 255 . 0
FF
FF
FF 00
Note
In case of 1) or 2), the parameters such as IP address, Gateway address, Subnet
mask are incorrect and the default parameters are valid.
Setting of Gateway
HC0A80001
D134
address:
192 . 168 . 0 . 1
C0
A8 00 01
TCP Port number:1024
K1024
D136
Setting of Header:
H454E4554
D1000
ASCII codes to specify
"ENET"
Setting of IP address
*6
:
HC0A8006E
D1002
192 . 168 . 0 . 110
C0
A8 00 6E
Setting of Subnet mask:
HFFFFFF00
D1004
255 . 255 . 255 . 0
FF
FF
FF 00
Setting of Gateway
HC0A80001
D1006
address:
192 . 168 . 0 . 1
C0
A8 00 01
TCP Port number:1024
K1024
D1008
192 . 168 . 0 . 10
192 . 168 . 0 . 110
192 . 168 . 0 . 111
Gateway address:
Subnet mask:
192.168.0.1
255.255.255.0
TCP port number: 1024
Description
The contents of data registers in the PLC cannot be
OFF
read.
The header "ENET" cannot be detected.
ON
A parameter such as IP address, Gateway address,
Subnet mask and TCP port number is invalid.
OFF
Valid

Advertisement

loading