Mitsubishi FX Series PLC
See also: Help for Serial Protocols
Overview
The Mitsubishi FX PLC serial downloadable protocol is for communication between the Mitsubishi inverters and an OCS. This is a Master/Slave protocol.
CSCAPE Configuration
To configure OCS for the Mitsubishi protocol, select the Protocol Configuration from the Program menu in CSCAPE software. Select the appropriate protocol type on the desired port. To make sure that the Software is able to configure the equipment for the correct protocol, ensure MitsiFX.dll file is in the Protocols directory of the current working/open Cscape.
Serial Port Configuration
The default link settings for the terminal are : 9600 baud, Even parity, Seven data bits, One stop bit, RS232 communication and No handshaking.
Protocol Revisions
Version 1.00 Supports master only operation to the slave PLC.
Version 1.02 Supports 32 Bit Counters.
Version 1.03 Supports Blocks Over 32 Words.
Version 1.04 Supports FX2C & FX2N extended addressing.
Version 1.05 Supports True octal addressing for X and Y register types.
Node Address
No station numbers are required as only a one-to-one link is supported.
Register type Specification
Read and write operations support the following areas:
Word Types
-
Data registers
-
Special Data Registers
-
Timer Values
-
Counter Values
Thirty-two bit counters are automatically accessed when the appropriate counter Identifier is selected as the start Location.
Timer and Counter Presets are not directly accessible via communications as they are embedded in the ladder memory in the PLC. In order for the Operator Station to have access to the preset a Data Register should be used in the ladder rather than a constant.
Bit Types
Read and write operations are performed on blocks of sixteen bits with the bits being packed into words. Read and Write access supports the following bit types:
-
Relays (M)
-
Special Relays (M)
-
Inputs
-
Outputs
-
State Relays (S)
-
Timer Status
-
Counter Status
Register Type Ranges
FX0 |
FX0s |
FX0N |
FX(V3.07) |
FX(2c) |
FX2N |
|
Data Registers (D) |
||||||
General use Registers |
D0 – D29 |
D0 – D29 |
D0- D127 |
D0 – D199 |
D0 – D199 |
D0- D199 |
Latched Registers |
D30 – D31 |
D30 – D31 |
D128 – D256 |
D200 – D999 |
D200 – D999 |
D200 – D7999 |
Diagnostic Registers |
D8000 – D8026 |
D8000 – D8026 |
D8000 – D8039 |
D8000 – D8255 |
D8000 – D8255 |
D8000 – D0255 |
Relays (M) |
||||||
General use Relays |
M0 – M495 |
M0 – M495 |
M0 – M383 |
M0 – M499 |
M0 – M499 |
M0 – M499 |
Latched Relays |
M496 – M511 |
M496 – M511 |
M384 – M511 |
M500 – M1535 |
M500 – M1535 |
M500 – M3071 |
Special Relays |
M8000 - M8055 |
M8000 - M8055 |
M8000 – M8191 |
M8000 – M8255 |
M8000 – M8255 |
M8000 – M8255 |
Inputs (X) (Octal) |
||||||
DC Inputs |
X0 – X17 |
X0 – X17 |
X0 – X123 |
X0 - X377 |
X0 - X377 |
X0 - X377 |
Outputs (Y) (Octal) |
||||||
Outputs |
Y0 – Y15 |
Y0 – Y15 |
Y0 – Y77 |
Y0 – Y377 |
Y0 – Y377 |
Y0 – Y377 |
Timers (T) |
||||||
Timer |
T0 – T55 |
T0 – T55 |
T0 – T63 |
T0 – T255 |
T0 – T255 |
T0 – T255 |
Timer States (T) |
||||||
Timer |
T0 – T55 |
T0 – T55 |
T0 – T63 |
T0 – T255 |
T0 – T255 |
T0 – T255 |
Counters (C) |
||||||
Counter ( 16 Bits) |
C0 – C15 |
C0 – C15 |
C0 – C31 |
C0 – C199 |
C0 – C199 |
C0 – C199 |
Counter ( 32 Bits) |
C235 – C254 |
C235 – C254 |
C235 – C254 |
C200 – C255 |
C200 – C255 |
C200– C255 |
Counter States (C) |
||||||
Counter ( 16 Bits) |
C0 – C15 |
C0 – C15 |
C0 – C31 |
C0 – C199 |
C0 – C199 |
C0 – C199 |
Counter ( 32 Bits) |
C235 – C254 |
C235 – C254 |
C235 – C254 |
C200 – C255 |
C200 – C255 |
C200– C255 |
States (S) |
||||||
States |
S0 – S63 |
S0 – S63 |
S0 – S127 |
S0- S999 |
S0- S999 |
S0- S999 |
For further details of the above devices refer to the “FX Series Programmable Controllers” manual section “Devices in Detail”.
Connections
The Operator Station can be connected to the Mitsubishi FX PLC via the FX-232AW Communication Module. Alternatively the Operator Station can be connected directly into the PLC via the 25 Way Connector on the front of the PLC. However this may invalidate your Mitsubishi warranty. The following is the connection to be made direct into the PLC.
Network Communication Errors
In order to access the Network statistics, user must assign the “Network status register” in network configuration. The table below gives the details of statistics.
Number | Statistics | Location | Description |
---|---|---|---|
|
|
|
|
1 |
Update interval exceeded count |
%Rx |
This register explains number of times that the actual transaction scan time to complete all transactions exceeded specified update interval. Generally used as an indicator that an excessive number of triggered transfers or failed communication retries are occurring that is lengthening the expected transaction scan time.
If the Update interval is set to zero (update as fast as possible), this 32-bit register alternately specifies the actual transaction scan time in mSec resolution. |
2 |
No response count |
%R(x+2) |
This register explains number of times that a device(s) did not respond to a transaction. This includes ALL failed transaction, not just those after the retry count is exceeded. |
3 |
Corrupt Response Count |
%R(x+4) |
This register explains number of times that a device(s) returned an invalid or failed response to a transaction. This includes ALL failed.
Transaction, not just those after the retry count is exceeded. |
4 |
Valid Response Count |
%R(x+6) |
This register explains total number of valid responses. |
NOTE: %Rx: 32-bit network status register configured in Network configuration. For example: %R500(501).
Device Communication Errors
Error | Error Number | Description |
---|---|---|
INVALID_BLOCK |
-203 |
Invalid size for data type. |
NO_RESPONSE_FROM_PLC |
-204 |
Timeout while waiting for remote node response. |
INVALID_RESPONSE_FROM_PLC |
-205 |
Corrupted response from remote node. |
INVALID_INITIALISATION |
-207 |
Internal Error - Unable to open port. |
Connection Details
Illustrations below show the various end-of-cable connectors required:
25-Pin D-Type Male | 10-Pin Weidmuller
Cage Clamp |
8-Pin RJ 45 Plug | 9-Pin DB Male |
CN1 | CN1 | MJ1/MJ2 | Port 1 |
Port 1 — DB9 (Female at OCS end)
MJ1/MJ2 — RJ45 (Female at OCS end)
CN1 — 10-Pin Weidmuller Cage Clamp (Female at OCS end)
CN1 — DB25 (Female at OCS end)
NOTES:
-
Do not connect to unlisted pins.
-
Recommended Cable: Beldon 9503, twisted multipair, screened.
-
Connect the screens together at the shield / earth pin of the PLC.
Connection details to a Mitsubishi FX via FX232AW Module
Port 1 — DB9 (Female at OCS end)
MJ1/MJ2 — RJ45 (Female at OCS end)
CN1 — 10-Pin Weidmuller Cage Clamp (Female at OCS end)
CN1 — DB25 (Female at OCS end)
NOTES:
-
Do not connect to unlisted pins.
-
Recommended Cable: Beldon 9503, twisted multipair, screened.
-
Connect the screens together at the shield / earth pin of the PLC.