Вы находитесь на странице: 1из 3

Mitsubishi Melsec FX

File:
Manufacturer:
Equipment:
Release:

MELSECFX.DLL
Mitsubishi
Melsec FX
2002/09/30

How to physically connect a MELSEC-FX PLC to the microcomputer:

Cables description:
a) CLP to FX-232AW (FX-422 Cable)
PLC
FX-232AW
3-----------------3
16---------------16
5-----------------5
18---------------18
2-----------------2
15---------------15
4-----------------4
17---------------17
12---------------12
13---------------13
24---------------24
25---------------25
7-----------------7
8-----------------8
20-+
+-20
21-+
+-21
b) FX-232AW Adapter to RS232 Computer (FX-232 Cable)
FX-232AW
RS232
2-----------------3
20----------------6
3-----------------2
6----------------20
4-+
+-4
5-+
+-5
7-----------------7
1-----------------1

Communication Parameters P:
p1 - Not used
p2 - Not used
p3 - Not used

p4 - Not used
All needed configuration is done through the "Extra" dialog-box.
Block* Parameters B:
size: block size
b1 - Type - see Table 1
b2 - Address (decimal or octal)
b3 - Not used
b4 - Not used
Address Parameters N:
n1 - Type - see Table 1
n2 - Address (decimal or octal)
n3 - Not used
n4 - Not used
Table 1
n1/b1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Variable Type
X
Y
M
Special-M (+8000)
S
T-Contact
T-Coil
T-Reset
T-Value
C16-Contact
C16-Coil
C16-Reset
C16-Value
C32-Contact (+200)
C32-Coil (+200)
C32-Reset (+200)
C32-Value (+200)
D
Special-D (+8000)

Observation
Digital Inputs, Octal Address (*)
Digital Outputs, Octal Address (*)
Auxiliary Ladder
Special Auxiliary Ladder (M8000)
Sequence Ladder
Timer, Contact
Timer, Coil
Timer, Reset
Timer, Current Value (16 bit)
Counter 16 bit, Contact
Counter 16 bit, Coil
Counter 16 bit, Reset
Counter 16 bit, Current Value (16 bit)
Counter 32 bit, Contact (C200)
Counter 32 bit, Coil (C200)
Counter 32 bit, Reset (C200)
Counter 32 bit, Current Value (32 bit)
Ordinary Register (16 bit) D0-D7999
Special Register (D8000) (16 bit)

Remarks:
(*) Attention to X and Y variables. For this variables the base address (n2/b2) is always octal. To
specify an octal value for n2/b2 put an o at the end of the number. For instance, to program the
variable Y17 (17 octal) you must set n1=1 (type) and n2=17o (address Y17, in octal). The other
variable types use decimal base.
Special M,C32 (Counter 32 bit) and Special-D dont start from zero address. For instance,
the first available Special-M variable is M8000. In case of C32, the first available variable is C200
and for Special-D, is D8000. Its important to observe this addresses when configuring PLC and
Block Tags.

Special Tags for Modem commands:


n1= -1 / n2=0 - Configuration of dial number - (Read/Write) - String
n1= -1 / n2=1 - Dial - (Write only)

n1= -1 / n2=2 - Modem Status - (Read only) - String:


Returns a string describing the modem status.
n1= -1 / n2=3 - Carrier - (Read only) - Bool:
TRUE: Modem is connected.
FALSE: Modem disconected.
n1= -1 / n2=4 - Hang up - (Write only)
n1= -1 / n2=5 - Baud Rate - (Read only) - Double (bps)

Вам также может понравиться