background image

Diagram 10 shows the equivalent circuit diagram of the relay output module. The output terminals are in several groups, 
and each group is electrically isolated. The output contacts of different groups are connected to different power circuits.

Programming Reference

Diagram 9 Input wiring diagram

Diagram 10 Relay output equivalent circuit

Diagram 11 Transistor output equivalent circuit

FX3GC

-

16M

Digital input

Digital output

For details, please refer to "Coolmay CX3G&FX3GC Series PLC Programming Manual" 

Diagram 12 Inductive load absorption circuit schematic

Devices Distribution and Statement of Power-down Save

Diagram 13 Pulse output wiring diagram

Shenzhen Coolmay Technology Co., Ltd.

Tel: 0755-86950416

                           86960332 
                           26051858 
                           26400661

Fax: 0755-26400661-808

Email: M3@coolmay. com

Website: en.coolmay.com

Serial NO.

Register address

D8050

D8051

D8052

D8053

D8054

D8055

Set value range

0-4000

0-4000

0-4000

0-4000

0-4000

0-4000

Output type

When D8058.0~D8058.5=0, 

the type is 0~20mA;

When D8058.0~D8058.5=1, 

the type is 4~20mA.

Note: All the internal circuit shown only as a reference

Equivalent Circuit

                   

Version 2021/06

1K

3.9K

S/S

X0

0V

X1

1K

3.9K

Y007

Y000

Load

Load

Y017

Y010

DC24V

Fuse

Load

Load

AC0~220V

Fuse

~

Load

Load

Load

Load

Sink output type

DC24V

Fuse

DC24V

Fuse

Y007

Y000

Y017

Y010

Y1

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 (dark surge)

+

-

+

-

+

-

+

-

+

-

+

-

+

-

+

-

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 in series with 2kΩ resistor)

GND

A0

A1

+

104p

GND

D0

D1

A

n

a

lo

in

p

u

t

(

Analog input common terminal)

(

Analog input 1)

104p

+

(

Analog input 2)

If the analog input is unstable, 
please add 104p ceramic capacitor or 
external magne

tic ring filter as appropriate 

to increase the anti-interference ability.

104p

+

(

Analog input 8)

-

(

Analog output common terminal)

+

(

Analog output 5)

+

(

Analog output 2)

+

(

Analog output 1)

Analog input is A0~A7
Analog output is D0~D5
The negative terminal is respectively connected 
to the GND of the analog input/output terminal

24V

Any updates will be updated on our website en.coolmay.com

Auxiliary relay M

State S

[

S0-S9] 10point Initial state/ [S10~S999] 990point keep/ [S1000~S4095] 3096point general

Timer T

[

T0~T199] 200point 100ms general / [T250~T255] 6point 100ms keep

[

M0~M383] 384point general / [M384~M1535] 1152point keep / [M1536~M7679] 6144point general

Data register D

[

V0~V7] [Z0~Z7] 16point indexing

[

D0~D127] 128point general/ [D128~D7999] 7872point keep/ [D8000~D8511] 512points special

Nested pointer

[

N0~N7] 8 points master control

[

P0~P255] 256 point / [P0

P1280] 1281 point (26232 and above version)

K

H

16-bit -32,768~32,767

32-bit -2,147,483,648~2,147,483,647

32-bit 0~FFFFFFFFH

16 bits 0~FFFFH

Extended file register R

[

R0~R22999] 23000point support for retentive/ [R23000~R23999] 1000point internal use

Pointer JUMP, CALL branch

Interruption

[

I0

□□~

I5

□□] 

6 points input interruption / [I6

□□~

I8

□□] 

3 points timer interruption / [I010~I060] 6 points counter interruption

 [

T246~T249] 4 point 1ms grand total keep/ [T256~T319] 64 point 1ms general

 

 [

T200~T245] 46 points 10ms for general 

The 10ms timer is affected by the scan cycle. If the scan period is 12ms, the timer becomes 12ms and executes once.

[

M8000~M8511] 512point special

Data register V, Z

PLC digital input wiring:
Port short connection: The S/S of the PLC input terminal is connected 
to 24V, and the X terminal is connected to the power supply 0V, that is, 
the input has a signal;
Two-wire system (magnetic control switch): PLC switch input is connected 
to a two-wire magnetic control switch, the positive pole of the magnetic 
control switch is connected to the X terminal, and the negative pole is 
connected to 0V;
Three-wire system (photoelectric sensor or encoder): PLC switch is 
connected to a three-wire photoelectric sensor or encoder, the power 
supply of the sensor or encoder is connected to the positive power 
supply, and the signal line is connected to the X terminal; the encoder 
and photoelectric sensor are required to be of NPN type
(PNP needs special customization). 
PLC digital output wiring:
Transistor: The output is NPN, COM is connected to the negative pole, and 
Y is connected to the positive pole of the power supply after the load;
Relay: dry contact output, COM can be connected to positive or negative.

D8073 is the smoothing filter coefficient of all analog inputs, the setting range is 0~999.

The number of filter cycles=(R23600~R23607)*PLC scan time, the default is 100, the data cannot 

be less than or equal to 0. If R23600=1, a PLC scan cycle is sampled once and the value in the 

first analog input is changed once. The larger the value of R23600~R23607 is set, the more 

stable the result value is.

Sampling of analog inputs

Note: The 5V driver must have a 2KΩ resistor in the DC24V string.

Programming software        Compatible with "PLC programming software GX Developer8.86Q and GX Works2"

FROM instruction can read directly: FROM K0 K0 D400 K8, read out 8 analog inputs.
Register read directly: D[8030]~D[8037] is the input value of analog [AD0~AD7];

The constant scan time is changed to D8059, which is started by M8039 (this function is 

available in version 26232 and above). When the analog input has a thermocouple type, only 

7 channels can be used, and AD4 (D8034) is the ambient temperature of the thermocouple. 

8 channels can be used when there is no thermocouple type.

Note: For more details, please refer to Coolmay official website "PLC anti-interference processing method”

TO command output directly: T0 K0 K0 D500 K6, output 6 analog quantities.

The temperature type is one bit after the decimal point, ie 182=18.2 degrees.

目    录

—— 

Before using this product, please read the relevant manuals carefully.

Use the product under the environmental conditions specified in the manual.

       

 FX3GC PLC User Manual

Diagram 14 PLC analog wiring

“FX3GC PLC User Manual" and 

"

Coolmay PLC instruction programming manual"

Y

Y

Y

Y

Y

D5

A7

Y

Y

Y

Y

FX3GC

-

30M

FX3GC

-

32M

Counter C

High-speed counter

[

C0~C15] 16point general

[

C200~C219] 20point general

16-bit up counter

32-bit up and down counter

 

[

C16~C199] 184point keep

[

C220~C234] 15point keep

The PLC input (X) is an externally powered DC24V sink type (passive NPN) with the input signal 
isolated from the power supply. When using, connect S/S to 24V positive external power supply.

The equivalent circuit of the transistor output type PLC output part is shown in Diagram11. From the Diagram, the output 
terminals are in several groups, and each group is electrically isolated. The output contacts of different groups can be 
connected to different power circuits; the transistor output can only be used for DC 24V load circuits. The output wiring 
mode is NPN, COM common cathode.

For the inductive load connected to the AC loop, the external circuit should consider the RC instantaneous voltage 

absorption circuit; for the inductive load of the DC loop, consider adding a freewheeling diode, as shown in Diagram 12.

The wiring of stepper or servo motor is shown in Diagram 13. The default Y0-Y7 of 3G series PLC are 

pulse points, and the direction can be customized.

PLC analog wiring

PLC anti-interference processing

1. Strong and weak power should be separately routed, not common; when there is strong electrical interference, add a 
magnetic ring at the power supply end; and perform proper and effective grounding according to the type of casing.
2. When the analog quantity is disturbed, 104 ceramic capacitors can be added for filtering and correct and effective grounding.

Constant

[

C235~C245 single phase counting] 

[C246~C250 Single phase dual counting] 
[C251~C255 dual phase counting]

Analog input register (AD means analog input, precision 12 bit); supports FROM instruction 
or direct register reading

Note: For analog input range and register corresponding value, please refer to 
"Coolmay CX3G&FX3GC Series PLC Programming Manual"

Analog output register (DA means analog output, precision 12 bits); support TO instruction or direct register 

assignment operation

Register direct assignment operation: D[8050]~D[8055] correspond to the analog output value of [DA0~DA5], 
which occupies 2DA when negative voltage output is selected, and the set value range is as follows:

FX3GC PLC's soft components are permanently maintained after power-off, that is, all soft components in the holding 
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 is 
above 23V after loading, and the PLC power-on time is longer than 2 minutes, otherwise the power-down function 
will be abnormal.

QQ: 1687435500

Two-wire system: the positive pole of the power supply is connected to the positive pole of the transmitter, the 
                               negative pole of the transmitter is connected to the AD terminal, and the negative pole of the 
                               power supply is connected to the GND terminal; generally the wiring mode of the 0~20mA/
                               4~20mA transmitter;

Three-wire system: the positive pole of the power supply is connected to the positive pole of the transmitter, 
                                   the negative pole of the power supply and the negative pole of the signal output are the 
                                   same terminal, and the signal output of the transmitter is connected to the AD terminal;

The temperature analog is connected to the AD terminal and the GND terminal respectively. If it is a 
three-wire PT100, it needs to be connected in two lines. The GND common terminal of analog input and 
output can be shared.

Four-wire system: the positive pole and negative pole of the power supply are respectively connected to the 
                                positive and negative poles of the power supply of the transmitter, and the positive and 
                                negative poles of the signal output of the transmitter are respectively connected to the 
                                AD terminal and the GND terminal;

X

Y

X00

-

X07

X00

-

X17

X00

-

X17

Y00

-

Y07

Y0

-

Y15

Y00

-

Y17

1. Please confirm the power supply voltage range of this product (Regular product 
power supply is only 24V DC! The recommended output power of the power supply is 
18W and above) and correct wiring before turning on the power to avoid damage.
2. When installing this product, please tighten the screws or clamp the guide rails 
to avoid falling off.
3. Avoid wiring and plugging or unplugging the cable plug in a live state, otherwise 
it is easy to cause electric shock or circuit damage. When the product emits peculiar 
smell or abnormal sound, please turn off the power switch immediately. During screw 
hole processing and wiring, do not drop metal chips and wire ends into the ventilation 
holes of the controller, which may cause product failure and misoperation.
4. Please do not tie the power cord and the communication cable together or get too 
close, keep a distance of more than 10cm. Strong current and weak current should be 
separated and properly and effectively grounded. In severe interference situations, 
shielded cables should be used for communication and high-frequency signal input and 
output cables to improve anti-interference performance. The grounding terminal FG on 
this machine must be grounded correctly to improve the anti-interference ability.
5. The digital input is external power supply DC24V drain type (passive NPN), and the 
input signal is isolated from the power supply. When in use, connect S/S to the 24V 
positive of the external power supply.

7. Please do not disassemble the product or modify the wiring at will. Otherwise it 
may cause failure, malfunction, loss, or fire.
8. When installing and disassembling the product, please turn off all power supplies, 
otherwise it will cause the equipment to malfunction or fault.

6. The COM of the digital output (transistor) is a common cathode.

          

Production Information

…...………………………01

Mechanical Design Reference

…………………0

2

Electrical Design Reference .

..

… ……………… 0

3

Equivalent Circuit

…..….…………….

0

4

………………

Programming Reference

………………………. 0

5

 

TIPS

…………………………………

……0

6

 

………………

Catalog

TIPS

8 point

8 point

14 point

16 point

14 point

16 point

A

n

a

lo

o

u

tp

u

t

Отзывы: