
COOLMAY MX3G PLC HMI All in one Programming manual
catalog
1. Overview...................................................................................................................1
1.1. MX3G PLC HMI All in one Main Advantage:...............................................1
1.2. Product parameters.........................................................................................3
1.3. Hardware description...................................................................................... 5
1.3.1. MX3G-43C structure and size................................................................5
1.3.2. MX3G-70C structure and size................................................................6
1.3.3. Introduction of each interface and indicator......................................... 7
2. PLC........................................................................................................................... 8
2.1. PLC Programming notice............................................................................... 8
2.2. Soft element table............................................................................................9
2.3. Special relay number and content.............................................................. 11
2.4. Special register number and content......................................................... 15
2.5. Function Instructions (Contrast with FX3GS PLC instruction)............... 17
2.6. Analog input................................................................................................... 26
2.6.1. Analog input type................................................................................... 26
2.6.2. Analog input reading..............................................................................27
2.6.3. Analog input sampling........................................................................... 28
2.6.4. Examples of analog input..................................................................... 28
2.7. Analog output................................................................................................. 30
2.8. PID instruction................................................................................................31
2.9. Application of high speed counter...............................................................36
2.9.1. Assignment table of built-in high speed counter............................... 36
2.9.2. Related device........................................................................................ 37
2.10. Application of high speed pulse................................................................ 38
2.10.1. High speed pulse output..................................................................... 38
2.10.2. Pulse width modulation (PWM)......................................................... 39
2.11. PLC Communication port instructions..................................................... 41
2.11.1. MODBUS instruction interpretation and communication address41
2.11.1.1. RD3A/WR3A command function and action description:.......41
2.11.1.2. ADPRW command function and action description:............... 42
2.11.1.3. Word device communication address number.........................44
2.11.1.4. Bit device Communication address number.............................44
2.11.1.5. ADPRW Command function parameter....................................45
2.11.2. Serial port 2: RS485(A B)................................................................... 46
2.11.2.1. Mitsubishi programming port protocol....................................... 47
2.11.2.2. Free port protocol function and example.................................. 48
2.11.2.3. Modbus RTU Protocol................................................................. 49
2.11.2.4. MODBUS RTU ADPRW command........................................... 52
2.11.2.5. Modbus ASCII Protocol............................................................... 53
2.11.3. Serial port 3:RS485 (A1 B1)/RS232................................................. 54
2.11.3.1. Mitsubishi programming protocol............................................... 57
2.11.3.2. Free port protocol......................................................................... 57