
CX3G/FX3GC PLC Programming manual
II
Content
1. Overview.........................................................................................................................................................1
1.1 COOLMAY CX3G PLC has the following advantages:................................................................... 1
1.2 Models of CX3G PLC...........................................................................................................................3
1.3 Models of FX3GC PLC........................................................................................................................ 4
2. Soft element.................................................................................................................................................... 5
2.1 Soft element table..................................................................................................................................5
3. Special relay and register................................................................................................................................ 6
3.1 Special relay number and content......................................................................................................... 6
3.2 Special register number and content................................................................................................... 11
4. Function Instructions.....................................................................................................................................15
5. Application of analog....................................................................................................................................22
5.1 Analog input........................................................................................................................................22
5.1.1 Analog input (temperature)...................................................................................................... 22
5.1.2 Analog input reading 1 (for software version 26210 and 26220)......................................... 24
5.1.3 Analog input reading 2 (for software version 26220)...........................................................25
5.1.4 Analog input reading 3 (for software version 26230 and above)..........................................25
5.1.5 Analog input sampling............................................................................................................. 27
5.1.6 Analog input program example:...............................................................................................27
5.2 Analog output......................................................................................................................................29
6. Application of high speed counter................................................................................................................ 30
7. Application of high speed pulse....................................................................................................................31
7.1 high speed pulse output.......................................................................................................................31
7.2 Circular interpolation.......................................................................................................................... 31
7.2.1 Continuous interpolation function............................................................................................31
7.2.2 Continuous interpolation function............................................................................................34
8. Coolmay CX3G PLC Communication User Manual....................................................................................37
8.1 Serial port 1: RS232( PLC programming port)...................................................................................37
8.2 Serial port 2: RS485(A B)/RS232.......................................................................................................37
8.2.1 Mitsubishi programming port protocol.................................................................................... 38
8.2.2 Free port protocol.....................................................................................................................39
8.2.3 Modbus RTU Protocol............................................................................................................. 39
8.2.4 MODBUS RTU ADPRW command....................................................................................... 43
8.3 Serial port 3:RS485(A1 B1)................................................................................................................45
8.3.1 Mitsubishi programming protocol............................................................................................48
8.3.2 Mitsubishi programming protocol............................................................................................48
8.3.3 Modbus RTU protocol RD3A/WR3A command.....................................................................49
8.3.4 MODBUS RTU ADPRW Command.......................................................................................52
8.4 Modbus Communication address number...........................................................................................53
8.4.1 Bit device:................................................................................................................................ 53
8.4.2 Word device:............................................................................................................................ 54
8.4.3 ADPRW Command function parameter.................................................................................. 54
8.5 CAN communication port................................................................................................................... 55
8.6 Network communication.....................................................................................................................58