Manual Do CLP
Manual Do CLP
com
V2.3
All of the our PLC products can support Mitsubishi Fx2N series productions.you can Direct download
Without conversion.
All of the our PLC products can support Mitsubishi GX Developer programming software,And support
version is over GX8.31 version.
Computer's operating system vista and win7 Can not support GX Developer software good enough
Currently.So we strongly recommend to use windows or XP series of computer operating systems.
All of the our PLC products,Including PLC learning machine,they all have the exactly same kernel(Note:
the ladder SCM user does not apply this Instruction manual),The same meaning is all PLC productions are
exactly same of functions,Usage,Instructions ,Software Resources,Component Resources.Only the Power
supply type and Count are different.So,this Instruction manual is suitable for all of our 2N series
productions.
All of the our PLC products can support 32-bit,Supports instruction which is preceded by D,as DMOV
so on.
-- 1 of 16 --
www.chinaplccenter.com
Connect to HMI(BR=9600bps,7E1)
Power down Hold feature(PLC leanring machine not support)
Support login key word(If you set the "landing keyword",Note: Mitsubishi Fx2n series must be switched
to the stop state,then can be written "landing keyword")if enabled,the user can’t read/write/hack,even
though the password is correct.
Error message read out(the number of error rung in the ladder diagram can be read on D0 at monitoring
mode,but D0 is not affected at working mode)
Mitsubishi
FNC Instruction
Category Fuctions√× FX2n
NO. mark Cf2N
FX2nC
00 CJ Conditional jump √ √
01 CALL Subroutine call √ √
02 SRET Subroutine returns √ √
Program 03 IRET Interrupt return √ ×
Process 04 EI Open break off √ ×
05 DI Close break off √ ×
06 FEND End of main program √ √
07 WDT Watchdog timer refresh √ √
08 FOR Starting point and frequency of √ √
cycles
09 NE×T Ending point of cycles √ √
10 CMP Comparison √ √
11 ZCP Interval comparison √ √
Convey 12 MOV Convey √ √
and 13 SMOV Position convey √ √
comparison 14 CML Reverse convey √ √
15 BMOV Bulk convey √ √
16 FMOV Multiple points convey √ √
17 ×CH Exchange √ √
18 BCD change binary to BCD code √ √
19 BIN Change BCD code to binary √ √
20 ADD Binary addition √ √
Arithmetic 21 SUB Binary subtraction √ √
and Logic 22 MUL Binary multiplication √ √
Computig 23 DIV Binary division √ √
24 INC Binary plus 1 √ √
25 DEC Binary subtraction 1 √ √
26 WAND Word Logic and √ √
27 WOR Word Logic or √ √
28 W×OR Word Logic exclusive OR √ √
29 NEG Request Complement binary √ √
-- 3 of 16 --
www.chinaplccenter.com
-- 4 of 16 --
www.chinaplccenter.com
-- 5 of 16 --
www.chinaplccenter.com
-- 6 of 16 --
www.chinaplccenter.com
Software Component:
-- 7 of 16 --
www.chinaplccenter.com
X0-X37,Y0-Y27.
M0-M255 A total of 256 (common type),M512-M768 A total of 256(Power down Holding type).
S0-S63 A total of 64 (common type),S512-S575A total of 64(Power down Holding type).
T0-T39 A total of 40(100mS 16-bit timer),T200-T215A total of 16(10mS 16-bit
timer),T250-T255A total of 6(100mS 16-bit Power down Holding type Cumulative timer).
C0-C23A total of 24 ( 16-bit timer),C200-C207A total of 8(32-bit Addition and subtraction
Power down Holding type counter),C235(32-bit Addition and subtraction Power down Holding type
counter).
D0-D79A total of 80 ( common type ) ,D512-D543A total of 32(Power down Holding type).
V0-V7,Z0-Z7(Index register).
Special software components:
M8000(Running status monitoring contacts),M8001(Running status monitoring anti contacts).
M8002(Initialization pulse contacts),M8003(Initialization pulse anti contacts).
M8004(Error indication contact).
M8011(10 ms clock pulse),M8012(100 ms clock pulse),M8013(1ms clock pulse),M8014(1 minute
clock pulse).
M8020(Zero Bit Symbol),M8021(borrow Bit Symbol),M8022(Carry flag).
M8029(Instruction execution end marker).
M8033(Memory keeping contacts).
M8034 (Disable the output contacts).
M8122(Send request).
M8123(Reception completion).
M8200-M8203(Counting direction of C200-C203).
M8235(counting direction of C235 ).
D8000(Monitor timer setting value).
D8020(Input Filtering Delay)
D8012(Maximum scan time).
D8120(Communication Format settings,just support Bit0-Bit7,That only supports parity bit,Data
length and baud rate settings,Other settings are not supported).
D8140,D8141(Y0 pulse output count register)
Constant NO.:
16-bit operation.
K Range:-32768~+32767 or 0~65535; H Range:0~FFFFH.
16-bit operation.
K Range:- 2147483648~+2147483647or 0~4294967295; H Range:0~FFFFFFFFH.
Maximum memory capacity: 8000 steps.
“Ladder diagram write MCU” Support MCU type:
STC11F56XE MCU、STC11F60XE MCU,these MCU can be purchased on the market.
-- 8 of 16 --
www.chinaplccenter.com
All models of the internal soft-relay and number comparison table of Mitsubishi FX2N48MT
and CF2N PLC
Mitsubishi FX2N-48MT
Programming software category CF2N PLC
PLC
Input Isolation X (octal
X0~X24 X0~X37
numbers))
Output isolation Y (octal
Y0~Y24 Y0~Y27
number)
Auxilia Ordinary use M0~M499 M0~M255
ry relay Keeping use M500~M3071 M512~M768
M Special use M8000~M8004、M8011~
M8014、M8020~M8022、
M8000~M8255(See specific
M8029、M8033、M8034、
manual)
M8122~M8123、M8200~
M8203、M8235.
the initial state using S0~S9
Return to origin S10~S19
Status
using
register
Ordinary use S20~S499 S0~S63
S
Keeping use S500~S899 S512~S575
Signal alarm using S900~S999
100ms 16-bit T0~T199 T0~T39
Timer ordinary
T 10ms 16-bit ordinary T200~T245 T200~T215
1ms - -
1ms Accumulation T246~T249 -
100ms cumulative T250~T255 T250~T255
16-bit remain
16 count up
C0~C99 C0~C23
ordinary
16 additional -
C100~C199
counts remained
32 reversible
C200~C219 C200~C207
CounterC counting
32 reversible
C220~C234
counts remained
To maintain C235
C235~C255(See specific
high-speed counter
manual))
reversible
-- 9 of 16 --
www.chinaplccenter.com
when you connect Cf2N PLC, you need to select the RS232.As shown.
Please use our standard serial cable (ie direct line) when you connect text or touch screen,PLC and the text
(or touch screen) can be directly connected.If you need to use self-communication lines,Just connect serial
communication port 2 (Rxd), 3 (Txd), 5 (GND) pin of PLC and text (or touch screen) directly , no cross.
For individual touch screen, if you download the touch screen
program through a separate USB port,it may not comply with
standard DB9 serial protocol,In this case a straight line is not
possible。
For example, weinview touch screen
TK6070iH/8070iH,MT6050i/8050i,which have dedicated USB
port to download the program,so the COM1 pin definition is
-- 10 of 16 --
www.chinaplccenter.com
different from standard DB9.so it’s needed the self-made communication lines to connect 2 (Txd), 3 (Rxd),
5 (GND) pin of Cf2N PLC communication port and 9 (Rxd), 6 (Txd), 5 (GND) pin of touch screen
TK6070iH/8070iH the COM1 together.
Our PLC communication use port 2 (Rxd), 3 (Txd), 5 (GND) pin, the other pin is left unconnected.As
right shown.
Log keyword has the role of protecting the ladder program not to modify and read.However, for
Mitsubishi PLC, due to design flaws, landing keyword extremely easy to be decrypted.
Our PLC is made improvements on this point, You must ensure that the status of the PLC is stopped when
you set PLC landing keyword,Then you can written or cancel successfully.
Landing keyword is not set, you can write or read freely when the landing keyword is not set.Conversely,
if you set the landing keyword, you can not write and read,Including the right log keywords also can not
be written and read.In order to ensure the safety of products and code. Nor can clear the "landing
keyword."
If you want to remove the log keyword, you can use Clear Memory function to clear keywords and landing
ladder program,it can be written and read freely after landing keyword
removed.
For PM200A(PLC learning machine ),To facilitate the users to learn
-- 11 of 16 --
www.chinaplccenter.com
Mitsubishi PLC,Ours is exactly the same as Japan's Mitsubishi PLC,You can write or read freely when the
landing keyword is not set.If you set the log keyword, you will need to enter the correct landing keyword
before write and read-out.Of course, this approach is very easy to crack.
DIY series products(The PLC self programming with PM300),since the bulk using in the factory,it’s too
much bother to set and keep landing keyword.Therefore, it does not support the PLC read function.please
be note that the PLC program which is written on MCU through PM300 the last time,You can read
through a PM300 read operation (without inserting MCU). You should clear memory when loaned PM300
to avoiding leaks.
If the chip is forced to decrypted,After working for some time,after sold , It will start the self-destruct
program to protect the user's intellectual property rights.
六:Deal with Common Problem:
1.About the Software Installation
GX Developer software can not be installed
Uninstall, and reinstall.Strict accordance with the our installation requirements,do not stop even if there
are any Error prompt, including the "Installation Failed”.
Select the default directory.
GX Developer is not can be used on Netbooks, Even if successful installation can not properly use.
PM200, PM300 products can not work in win7 or vista system,Need to use XP or windows system.
GX Developer software installed successfully, but it prompt that the new project can not be initialized.
Reinstall your computer's operating system,we recommend to choose XP or windows
system,Then install GX software.
GX Developer software installed successfully, but the new projects could not be saved.
Do not save the address folder name in Chinese, and keep directory layer are no more than 4
layers.
Operation indicator (RUN) is off, the error indicator light (ERR) is on.
The voltage of VIndicates power is too low, check the power supply voltage is 24V or not.
Operation indicator (RUN) is off, the error indicator light (ERR) is flashing.
This is the error flag, for three reasons as below:
There are instruction or resources (devices) that can’t be supported.
Using the indexed instruction address so that the actual address is beyond the scope of
resources.Such as jump instruction, loop instructions, call instruction, edge instruction
(LDP+LDF+PLS+PLF+MOVP+DMOV less than 160)are beyond of frequency of
use.
Exceeding the set value of monitoring timer .
For front 2 points,the error number will be saved to the D0 ,and it can be read through Monitoring
functions.For example, in ladder diagram,RAMP instruction and software Component D8005 are used In
the step 126 that we do not support currently,PLC will stop running (or stop running in the implementation
of Section 126),And warning lights (Err) will be flashing.This time, you can use the monitoring function
-- 12 of 16 --
www.chinaplccenter.com
(Menu: Online / Monitoring / software and component landing, input D0, then begin monitoring)If it
shows 126 of DO,it means there is any problems in ladder program.
If the ladder diagram of procedures does not show 126 step,For example, from step 120 to step 136
directly,you can change ladder diagram shows to Instruction table shows,You can see the 126 steps
directly.
If the third point cause alarm,It shows the executive step number stored in DO when Monitoring timer
overflow occurs.For example, using monitoring functions to check D0,it shows 789,it means PLC is
running to step 789 when monitoring timer overflow occurs,You can set the value of the Monitoring timer
D8012 to large a number to avoid overflow.
The default value of D8012 is 200, which means the maximum time that program execution cycle is
200mS.If the program is not executing Completely in 200mS,PLC considered it as an error, and stop
executing Procedure,all outputs is turned off,
error lights flash.You can add Illustrated
instruction to the program, and adjust the monitoring timer overflow time to 300mS.
After Trouble Shooted,set the switch button to "Stop", then reset to "Run" to disarm the alarm.
the system will store the error message in D0 when an error is encountered;Under normal circumstances,
the content of D0 are not affected. Therefore,the use of D0 is not affected .
Running indicator (RUN) and the error indicator (ERR) are flashing simultaneously.
It means that there is memory error, let the PLC power on again, if it still shows like this,it
means that the PLC hardware was damaged.
Running indicator (RUN) and the error indicator (ERR) are Flash once simultaneously.
The system is reset. May be an interference or other reasons cause the system reset.
Error indicator (ERR) is flashing when PLC was power failure.
It means the system has saved the date that need to keep when power down.
Error prompt:
Error as above shows,generally due to the Memory capacity is set too small when
download program the last time,and the Memory capacity is set too large when
download program this time.There are two ways to solve:
1:Keeping the memory capacity setting Consistent as shows.
2:Downloading the parameter together as shows.
Download slowly.
The default memory capacity is 8000 when the new PLC project is created.it
must download 8000 step procedure each time,So download slowly.If the procedure is not more than 2000
steps, the memory capacity can be set to 2000 steps, then,the download speed will be very fast.
The input traces are too long, there is interference
-- 13 of 16 --
www.chinaplccenter.com
If the input traces are too long, inevitably introduce interference signals.
Because the input traces can receive interference signal , there is strong spatial interference in the IPC
site,So,it can cause interference at the input pulse input.the input of PLC have filtering software,The
default filter time is 10mS,That is, if a signal condition persists for more than 10mS, that it is the normal
signal to be addressed.If a signal that can not be sustained 10mS, is considered to be interfering
signals,and be shielded.You can adjust filtering time within the range of 0-60 register through REFF
instruction or D8120, .
As shown right.Increase the filter time, can effectively remove Input terminal interference, but it also
reduces the response speed of the input terminal.
-- 14 of 16 --
www.chinaplccenter.com
继 电器 输 出, 每 路4000mA
GND
直 流24 V 继 电器 输 出, 每 路4000mA GND
+COM
X1 7
M 4B 直 流24 V X1 7
X1 3 DC 24V X1 6
M 4A X1 6
DC 24V
X1 2 GND X1 5
直 流24 V X1 5
GND
X1 1 COM 3 X1 4 DC 24V
M3B X1 4
X1 3 Y12 X1 3 Y13 L 直 流24 V
X1 0 X1 3 GND
M3A X1 2 Y11 X1 2 Y12 L
X7 X1 2 Y12 L
X1 1 Y10 X1 1 Y11 L
X6 X1 1 Y11 L
M2B Y10
X5 X1 0 Y7 X1 0 L
Y10
X1 0 L
M2A X7 Y6 X7 Y07 L
X4 X7 Y07 L
X6 Y5 X6 Y06 L
X3 X6 Y06 L
X4 Y4 X4 Y04 L
X1 M1A X4 Y04 L
X3 Y3 X3 Y03 L
X0 X3 Y03 L
M0B X2 Y2 X2 Y02 L
X2 Y02 L
GND Y01
M0A X1 COM 1 X1 L
Y01
DC 24V
X1 L
X0 Y1 X0 Y00 L
直 流24 V X0 Y00 L
独 立电 源 GND COM 0 输 入接 线 图 输 出接 线 图
输 入接 线 图 输 出接 线 图 输 入接 线 图 输 出接 线 图
Y0 NPN 晶 体管 输 出, 每 路2000mA
NPN 晶 体管 输 出, 每 路2000mA
CF2n-17MR 接 线图 CF2n-28MT接 线图
输 入接 线 图 输 出接 线 图 DIY-27MT评 估板 接 线图
CF2n-23MR 接 线图
直 流24 V
DC 24V
GND
直 流24 V 继 电器 输 出, 每 路4000mA
X1 7 NPN 晶 体管 输 出, 每 路2000mA DC 24V
X1 6 GND
DC 24V GND Y7 DC 24V
X1 5 继 电器 输 出, 每 路4000mA X6 直 流24 V
Y0 L X1 2 Y6 GND
X1 4 X5
Y1 L X1 1 Y5 Y04 L
直 流24 V Y6 X4
X1 3 YCOM1 DC 24V X1 0 Y4 Y03 L
Y5 X3
X1 2 Y2 GND X7 COM 3 Y02 L
Y4 X2
X1 1 Y3 X7 X6 Y3 Y01 L
COM 3 X1
X1 0 YCOM2 X6 X5 Y2 Y00 L
Y3 X0
X7 Y4 X5 X4 COM 2
Y2
X6 Y5 X4 X3 Y1 输 出接 线 图
COM 2 输 入接 线 图
X5 Y6 X3 X2 COM 1 NPN 晶 体管 输 出, 每 路2000mA
Y1
X4 Y7 X2 X1 Y0 DIY-12MT 评 估板 接 线图
COM 1
X3 Y10 X1 X0 COM 0
Y0
X2 Y11 X0
COM 0
X1
继 电器 输 出, 每 路4000mA
X0 输 入接 线 图 输 出接 线 图
输 入接 线 图 输 出接 线 图
输 入接 线 图 输 出接 线 图 CF2n-15MR 接 线图
CF2n-19MR 接 线图
CF2n-26MR T接 线图
-- 15 of 16 --
www.chinaplccenter.com
X27
X26
X25
Y17 L
X24
Y16 L
X23
Y15 L
X22
Y14 L
31 X
21 X
11 X
01 X
4X
3X
2X
1X
0X
Y17 X21
31 X
21 X
11 X
01 X
4X
3X
2X
1X
0X
7X
6X
5X
L
7X
6X
5X
Y13 L
Y13 L
L Y16 X20
Y12 L
Y12 L
L Y15 X1 7
Y11 L
Y11 L
X1 4 L Y14 X1 6
X1 4 Y10 L
Y10 L
X1 5 X1 5
X1 5 GND Y07 L
Y07 L
X1 6 X1 4
X1 6 X7 Y06 L
Y06 L
X1 7 X1 3
X1 7 X6 Y05 L
Y05 L
220 V X1 2
220 V X5 Y04 L
Y04 L
220 V X1 1
220 V X4 Y03 L
Y03 L
X1 0
X3 Y02 L
Y02 L
X7
X2 Y01 L
Y01 L
X6
V 42 C D
V 42 C D
DN G
DN G
00Y
10Y
20Y
30Y
A40Y
B40Y
A50Y
B40Y
00Y
10Y
20Y
30Y
40Y
50Y
60Y
70Y
X1 Y00 L
Y00 L
X5
X0 DC 24V
24V
X4
24V 任 接一 个
220 V Y2 0 L
在壳 内, X3
GND DC 24 V
L
L
未引 出
220 V Y2 1 L
X2
GND 任 接一 个
DC 24 V DC 24 V
X1
NPN 晶 体管 输 出, 每 路
NPN 晶 体管 输 出, 每 路2000mA NPN 晶 体管 输 出, 每 路2000mA X0
Y4继 电器 输 出, 可 以接 AC /DC , 每 路4000mA 1000mA, 总 电流 不 能超 过 3A NPN 晶 体管 输 出, 每 路2000mA
Y5复 合继 电 器输 出 , 只 可以 接 AC 20A, 不 打火 GND 可 以外 接 扩展 模 块
必 须24V和 220V都 供电 , 才 能通 信 ( 下 载程 序 ) CF2n-26MT-AC 接 线图
必 须24V和 220V都 供电 , 才 能通 信 ( 下 载程 序 ) 输 入接 线 图 输 出接 线 图
CF2n-22MTR 接 线图 CF2n-24MT接 线图 CF2n-40MT接 线图
X0
NPN 晶 体管 输 出, 每 路2000mA
X1 3 GND
Y07 L
X1
X1 2 X2 X7 DC 24V
NPN 晶 体管 输 出, 每 路200mA
Y06 L 直 流24 V
X1 1 X3 X6 GND
Y05 L
GND DC 24V
X1 0 X4 NPN 晶 体管 输 出, 每 路2000mA X5 Y05
直 流24 V
Y04 L
L
X7 GND
X7 X5 X4 Y04
Y03 L
L
X6 Y06 L
X6 Y00 L
X3 Y03
Y02 L
X6 L
X5 Y05 L
X5 Y01 L
X2 Y02
Y01 L
X7 L
X4 Y04 L
X4 X1 0 Y02 L
X1 Y01
Y00 L
L
X3 Y03 L
X3 X1 1 Y03 L
X0 Y00 L
X2 Y02 L
X2 GND
DC 24 V X1 2 Y04 L
X1 Y01
DC 24V 输 入接 线 图 输 出接 线 图
L
X1 X1 3 Y05 L
X0 Y00 L
X0 X1 4 Y06 L
CF2n-14MT接 线图
GND X1 5 Y07 L 输 入接 线 图 输 出接 线 图
X1 6 Y10 L
DIY-15MT接 线图
NPN 晶 体管 输 出, 每 路2000mA
输 出接 线 图 X1 7 Y11 L
输 入接 线 图
GND Y12 L
CF2n-20MT接 线图
24V Y13 L
DC 24 V
输 入接 线 图 输 出接 线 图
一 体机 接 线图
-- 16 of 16 --