
Programming Reference
1. Strong and weak currents should be separated and wired, and not common ground; when there
is strong electric interference, magnetic rings should be added on the power supply side; and properly
and effectively grounded according to the type of the chassis.
Devices distribution and statement of power-down retention
◆
Diagram 9 Pulse output wiring diagram
Shenzhen Coolmay Technology Co., Ltd
Tel.: 0755-86950416
26051858
Mobile:13316892240
Fax: 0755-26400661-808
QQ: 1687435500
Email: m3@coolmay.com
Website: https://en.coolmay.com/
—— Before using this product, please read the relevant manual
carefully and use the product under the environmental conditions
specified in the manual.
Note: The internal circuit in all s is for reference onlydiagram
※
Version: 2021.05
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
R
Y4
Y5
Y6
Y7 Direction (Dir)
Pulse (Pul)
Direction (Dir)
Pulse (Pul)
Y0
Y1
Y2
Y3
PLC internal
equivalent circuit
Direction (Dir)
Pulse (Pul)
Direction (Dir)
Pulse (Pul)
DC24V (5V drive must be connected with 2kΩ resistors)
Any updates will be updated on our website www.coolmay.com, without notice
The wiring of stepper motor or servo motor is shown in Diagram 10. MX2NC series PLC defaults Y0-Y3 as pulse points,
and the direction can be customized.
Note: 5V drive must be connected with a 2KΩ resistor on DC24V.
Note: For more detailed information, please refer to Coolmay official website "PLC Anti-interference Processing Method”
※
Auxiliary relay M
[M0~M499] 500 points general/
[M500~M1535] 1036 points holding/
State relay S
[S0~S9] 10 points general / [S10~S999] 990 points holding
Timer T
[T0~T199] 200 points 100ms general/
[T200~T245] 46 points 10ms general/
[T246~T249] 4 points 1ms holding/
[T250~T255] 6 points 100ms holding
[M8000~M8255] 256 points special
Counter C
High-speed counter
[C0~C15] 16 points general,
[C16~C199] 184 points holding
[C220~C234] 15 points holding
16-bit up counter 32-bit up/down counter
Data register D, V, Z
[D8000~D8195] 196 points special holding/
[V0~V7], [Z0~Z7] 16 points variable address
[D0~D199] 200 points general/
[D200~D7999] 7800 points holding
Nested pointer
[N0~N7] 8 points Master control/[P 0~P127] 128 points Branch pointer for jumps and subroutines/[I0□□~I5□□] 6 points External interrupt
Constant K
H
16-bit -32,768~32,767
32-bit -2,147,483,648~2,147,483,647
32-bit 0~FFFFFFFFH16 bits 0~FFFFH
[C235~C240 single phase]
[C251, C253, C254 AB phase] 9 points holding
[C200~C219] 20 points general,
[D8196~D8255] 59 points special
MX2NC PLC User Manual
* Programming software PLC: Compatible with PLC programming software GX Developer8.52 and GX Works2
*Detailed materials please refer to "Coolmay MX2NC Series PLC Programming Manual" "MX2NC Series Programmable Logic
Controller (PLC) User Manual" "Coolmay PLC instruction programming manual"
X00~X07 8 points
Y00~Y07 8 points
MX2NC-16M
Digital input X
Digital output Y
MX2NC-32M
X00~X017 16 points
Y00~Y017 16 points
Diagram 6 shows the equivalent circuit diagram of the relay output module. The output terminals are
in several groups, each group is electrically isolated, and the output contacts of different groups are
connected to different power circuits.
In order to prevent the output unit or programmable controller
board wiring from being damaged by faults such as load short-circuit,
please select a suitable fuse for each load.
24Vdc Power Supply
Logic processing circuit
Output driving circuit
PLC internal equivalent circuit
00
01
02
03
04
05
Internal logic circuit power supply
5A/1A
DC24V/AC220V
Load
Load
Load
Load
Load
Load
Y
Diagram 6 Relay output equivalent circuit
Diagram 7 Transistor output equivalent circuit
5V DC power supply
Internal logic circuit
power supply
PLC internal equivalent circuit
00
01
02
03
04
05
1A
DC24V
Load
Load
Load
Load
Load
Load
Y
Transistor output, MAX load 30V, MIN load 5V
Y0
Y10
Y4
R=200Ω C=0.22uF,250VAC
R
C
~
Y5
~
PLC relay output
Inductive load
DC24V power supply
Freewheeling diode 1N404
PLC transistor output
Inductive load
Freewheeling diode 1N404
DC24V power supply
PLC relay output
Inductive load
AC220V power supply
Inductive load
PLC relay output
AC220V power supply
Varistor 10D471k (undercurrent)
Logic processing circuit
Output driving circuit
For the inductive load connected to the AC circuit, the external circuit should consider the RC
instantaneous voltage absorption circuit; for the inductive load of the DC circuit, consider adding a
freewheeling diode, as shown in Diagram 8.
Y
Y
Y
Y
Diagram 8 Transistor output equivalent circuit
Equivalent Circuit
The PLC has a built-in user switch state detection power supply (DC24V), and the user only needs to
access the dry contact switch signal. If the user wants to connect the output signal of the active transistor
sensor, the OC output mode signal is required. The input wiring mode is NPN, COM common cathode.
Diagram 5 Input wiring diagram
Power supply for sensors
The third type of grounding
Proximity switch,
photoelectric switch, etc.
DC24V
+10%-15%
Three-wire system
A two-wire proximity switch connected to
an input device with a parallel resistance
sometimes requires a leakage resistance.
Two-wire system
Input terminal
24+
24-
AC/DC
converter
Basic unit
00
01
02
03
x
Input wiring mode is NPN
COM common cathode
Y
The equivalent circuit of the transistor output type PLC output part is shown in Diagram 7. It is also
known from the figure that there are several groups of output terminals, and each group is electrically
isolated, and the output contacts of different groups can be connected to different power circuits.
Transistor output stage can only be used for DC 24V load circuit, the output wiring mode is NPN,
COM common cathode.
Optocoupler
PLC anti-interference processing
MX2NC PLC's device power-down retention is permanent retention, that is, all the devices in the
retention area will not be lost after the module is powered-off. The real-time clock uses a rechargeable
battery to ensure that the clock is the current time. All power-down retention functions must ensure that
the voltage of the DC24V power supply with load is above 23V, and the PLC power-on time is longer than
2 minutes, otherwise the power-down function will be abnormal.
1.In case of damaging the product, please confirm power supply range first (the regular
power supply only limitied to 24V DC, we suggest you to use the power supply which output
voltage is 18W or higher than 18W), and wiring correctly, then electrify it.
2. When installing the product, be sure to tighten the screws or clamp the guide rails to
avoid falling off.
3. Please do not wiring or plug cable when the power is on, otherwise it may cause electric
shock or circuit damagement. Disconnect the power switch immediately when the product
smells or sounds abnormal. Do not drop metal shavings and wire tips into the control vent
holes during screwing hole and wiring, which may cause product malfunctions and faults.
4. Please do not tie the power cord and communication cable together or let them too close,
you should keep them for more than 10cm distance. The strong and weak electricity should
be separated and properly grounded. If the interference is serious the communication and
high frequency signal input and output cables should be the shielded cables to improve
anti-jamming performance.
5. The COM of the digital input / output (transistor) is common to the cathode
6. Do not disassemble the product or modify the wiring optionally. Otherwise it may cause
fault, malfunction, loss or fire.
7.Please make sure to turn off the all power when you install or dismantle the product,
otherwise it may cause malfuction or fault.
TIPS
Product Information……………………………………01
Mechanical Design Reference..............................02
Electrical Design Reference………..……………........03
Equivalent Circuit....….……………............................ 04
Programming Reference……………………….............06
Catalog
In order to prevent the output unit or programmable controller
board wiring from being damaged by faults such as load short-circuit,
please select a suitable fuse for each load.