![](/html/ae/ae33/ae33292a73e128cf17af9cfc69dde24e35e841d4c9ccc0d229dba40defc8eebe/bg2.png)
MX2N series HMI PLC all in one programming manual
Content
1 Summary
2 Component Range
3 PLC Supported instruction
4 Analog Usage
5 Random number instructions
6 High speed counter application
7 Pulse capture function application
8 High speed pulse output application
9 MX2N-70HB Optional com port instructions
10.Fault detection
11 HMI (Human Machine Interface)
..................................................................................................................................
1.1 COOLMAY MX2N PLC main advantage
1.2 Type & Specification
1.3 Hardware description
1.3.1 MX2N-43HB structure description and dimension
1.3.2 MX2N-70HB structure description and dimension
1.3.3 Interface and Indicators description
....................................................................................................................
3.1 Basic Logic instructions
3.2 Step command instructions
3.3 Function instruction table( Compared with Mitsubishi PLC)
3.4 Special relay & register function
.........................................................................................................................
4.1 Analog input type
4.1.1 Analog input reading
4.2 Analog output type.
4.2.1 Analog output reading
6.1 Inside high speed counter input distribution table
6.2 High speed count input instructions
9.1 Function Description
9.2Modbus-RTU Protocol special registers & relays
9.3 D8120 Parameter and Function setting
9.4Modbus-RTU Master station instructions
9.5Modbus-RTU Protocol slave station element address
9.6 RS Protocol special registers & relays instructions
......................................................................................................................
11.1 Touch Panel Software instruction
11.1.1 Touch Panel Software installation
11.1.2 New build touch panel program
11.2 Touch panel screen download (don't support U disk download)
11.3 Other HMI software usage, refer to《CoolMay HMI series user manual》.
....................................................................................................
....................................................................................................
.....................................................................................................
..............................................................................................
.........................................................................................
................................................................................
........................................................................................................
........................................................................................
.....................................................................................................
......................................................................................
.................................................................................................
..............................................................................................
.........................................................................................
......................................................................................
...................................................................................................
.....................................................................................
.............................................................................
...................................................................
...........................................
...........................................
...................................................................
.....................................
......................................................
............................................................................
.......................................................................
.......................................................
.......................................................................
....................................................................
.................................................
....................................................
.................................................................
.....................................................................
..............................
........
3
3
4
6
6
7
8
9
10
10
10
11
15
20
20
20
21
21
22
23
23
24
25
26
27
27
27
28
29
30
32
33
36
36
36
36
37
39
![](/html/ae/ae33/ae33292a73e128cf17af9cfc69dde24e35e841d4c9ccc0d229dba40defc8eebe/bg3.png)
MX2N series HMI PLC all in one programming manual
1 Summary
1.1 COOLMAY MX2N PLC main advantage
◆ Could use GX Developer and GX Works2 software to program,read,download,
verify, diagnose,monitor and process sequence.
◆ Could customize 12 channels AD and 2 channels DA,in 12bit precision,use RD3A
to read AD data and WRA3 to output DA data (can set upper and lower limit ranges.)
◆ Support optional one RS485 or RS232 COM Port,support Programming port
protocol and MODBUS-RTU master-slave protocol.It can be switched in the program
through D8120,support communication through RS485 networking and inverter etc.
◆ Support RTC function,when password is 12345678,the programming software
can't modify clock data.
◆ High Speed counter input conventional 6 channels single-phase counting (X0-X5)
or 2 channels AB phase counting (X0-X1/X3-X4)10KHz, it can be customized 6
channels single-phase counting at most (4 channels 60KHz,2channels 60KHz).
◆ High speed pulse output conventional 4 channels 20KHz Y0/Y1/Y2/Y3, it can be
customized 4 channels Y0/Y1 200KHz,Y2/Y3 100KHz.
◆ Support Watch dogs function-compatible with Mitsubishi FX2N.
◆ Support external interrupt function-compatible with the original,support pulse
capture function,support 6 channels X0-X5.
◆ Support super password: When password is 12345678,the program can't read
except the device data. When password is changed,the program will be cleaned. You
can also open the PLC program to disable the read mode on setup software (Once
open, no matter what the password is,the program can't be read.)
◆ Support Power-down data protection (All power-down is Kept by FLASH,data
will be checked when power-on.)
◆ Check the downloaded ladder program
◆ When the program run in the PLC,it will check the program instructions and the
components range,corresponding problem will be reported when being detected.
◆ Run light flashes when switch turns to "RUN", run light goes out when to "STOP".
◆ During running. If check slight fault,the ERR light flashes. If serious fault,ERR
light is on always.
◆ Support constant scan mode: D8039-Constant scan time,M8039-Constant scan
mode.
◆ Support CAN networking communication function. Support 32 slaves at
most,master-slaves share 32 registers at most,communication baud rate could be set.
◆ Optional High speed pulse output function, PWM support the highest frequency
900KHz,duty ratio is -100%.
◆ Support function of thermocouple temperature measuring: automatic cold junction
compensation,could connect 2 channels K/E/J thermocouple at most,could measure
negative temperature.
◆ Support function of program limit : could select clock date limit,power-up
![](/html/ae/ae33/ae33292a73e128cf17af9cfc69dde24e35e841d4c9ccc0d229dba40defc8eebe/bg4.png)
MX2N series HMI PLC all in one programming manual
60K colors resistive panel
1 TP download port,1 USB port
1 RS232 /1 RS485 optional
CoolMayHMI V5.**(newest vesion pls see HTTP://coolmay.net)
cumulative time limit.
◆ Support function of NTC thermistor to measure temperature,support NTC of
10K,50K,B value of 3950.
◆ Support optional digital tube display function, support 24keys input,10 common
positive digital display,you can choose dingle and double bits display,or whether to
decode the display.
◆ MX2N-70HB is optional to add 1 channel load cell function (occupy AD0-AD2).
1.2 Type & Specification
![](/html/ae/ae33/ae33292a73e128cf17af9cfc69dde24e35e841d4c9ccc0d229dba40defc8eebe/bg5.png)
MX2N series HMI PLC all in one programming manual
MT(MOS) : 2A at most / MR (Relay): 5A at most
Normally 6 single phase counting (X0-X5) or 2 AB phase counting
(
X0-X1/X3-X4)10KHz
At most 6 single counting can be customized (4 60KHz、2 10KHz)
or 2 AB phase counting( 2 60KHz)
Normally 4 channels 20KHz,Y0-Y3
2 channels 200KHz and 2 channels 100KHz can be customized
AI: 0-5V/0-10V/0-20mA/NTC10K/NTC50K/EKJ
Note: NTC type needs to occupy AD4 as a common terminal;
optional EKJ thermocouple has only 2 channels, which occupies
AD4~AD7; (NTC type and thermocouple type cannot coexist)
AO:0-10V/0-5V/0-20mA or mixed
Optional voltage and current could be done 4 channels at most.
Optional 1 channel load cell
(occupy AD0-AD2)
Default with rs232 programming port
Optional 1 485 (can not
coexist with its default rs232,
not suggest to change rs232 to
be rs485)
Compatible with MITSUBISHI GX8.52 and WORKS2
Regular Models:MX2N-43HB-16MR/24MR/24MT(-4AD2DA-232H)
MX2N-70HB-44MR/44MT(-8AD2DA-485P/232H)
485P= PLC to add 485;485H/232H= HMI to add 485/232
Detailed info. refer to: <Coolmay MX2N Series PLC Programming Manual>
<HMI PLC All In One User Manual> <Coolmay HMI User Manual>
![](/html/ae/ae33/ae33292a73e128cf17af9cfc69dde24e35e841d4c9ccc0d229dba40defc8eebe/bg8.png)
MX2N series HMI PLC all in one programming manual
1.3.3 Interface and Indicators description
POWER:Power indicator, light on when connected to power
RUN:PLC operating status indicator, the lamp is on when PLC is running
COM:Touch screen and PLC communication status indicator, light on when
communicated
Power terminal: The positive and negative poles of the DC24V switching power
supply are connected to the DC24V and 0V power terminals.
PLC programming port: download by 232 programming line
HMI programming port: Download touch screen configuration program
![](/html/ae/ae33/ae33292a73e128cf17af9cfc69dde24e35e841d4c9ccc0d229dba40defc8eebe/bga.png)
MX2N series HMI PLC all in one programming manual
Rising Edge detection operation
begin
Falling Edge detection operation
begin
Rising edge detects series
connection
Falling edge detects series
connection
Rising edge detects parallel
connection
Falling edge detects parallel
connection
Series connection of parallel
circuit blocks
Parallel connection of series
circuit blocks
Clear "Action holding",Register
to clear zero
Connection command of common
series point
Eliminate command of common
series points
3 PLC Supported instruction
3.1 Basic Logic instructions
●The program step for soft element Y and general M is 1,for S and special auxiliary
relay M,timer T,counter C is 2,for Data register D ,index register V and Z is 3.
3.2 Step command instructions
![](/html/ae/ae33/ae33292a73e128cf17af9cfc69dde24e35e841d4c9ccc0d229dba40defc8eebe/bgb.png)
MX2N series HMI PLC all in one programming manual
Inversion of operation result
Rising edge differential output
Falling edge differential output
32-bit counter:5
16- bit counter:3
Clear "Action holding",Current
value and
Register to zero
Y,M:1
S,Special -M:2
T,C:2
D,V,Z Special
D:3
Input,Output and Return to begin
04EIInterrupt the license
05DIInterruption forbidden
●STL(Support 8 branches at most)RET
3.3 Function instruction table( Compared with Mitsubishi PLC)