PLC Debugging Toolbox WeChat Mini Program Evaluation - From PLC Debugging to Ladder Diagram Editing, PID Tuning, and Inverter Debugging

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

PLC Debugging Toolbox WeChat Mini Program Evaluation - From PLC Debugging to Ladder Diagram Editing, PID Tuning, and Inverter Debugging

1, The mobile revolution of PLC debugging

PLC (Programmable Logic Controller) It is the core brain of industrial automation. Regardless of Siemens, Mitsubishi, Omron or Delta, PLCProgram upload, Download, Online monitoring, Fault diagnosis is necessarySpecialized programming softwareAndNotebook computer. But on-site operation and maintenance engineers often encounter such scenarios: Just a few simple checksI/OPoint status, Monitor the values of certain registers, Or quickly modify a parameter——Carrying the computer to the scene for such a small matter, Efficiency is too low.

modbusDebugging Assistant " PLC The toolbox provides 6 mobile devicesPLCDebugging tools, Covering the entire process requirements from basic debugging to advanced diagnosis.

Two, PLCDebugging tools — Real panel level interaction

The biggest feature of this tool is:To be truthfulPLCThe panel is an interactive interface, Rather than a dry list of tables. The interface is divided into three functional areas:

2.1 INPUT Input point area (XDistrict)

Display in matrix form PLC The input point——X0, X1, X2……Until X37 (According to different models) . Every point hasLEDIndicator light simulation, Green lights up = SignalON (If triggered by proximity switch, Press the button) , Grey extinguishes = SignalOFF. Click any input point to query the real-time status of the address, Including the current value, Final change time.

2.2 OUTPUT Output point area (YDistrict)

Exhibition Y0-Y37 Output point status. supportForced outputFunction——Click on the output point to manually set itON/OFF (NeedPLCbe inSTOPMode or enable mandatory function) , This is useful for troubleshooting output circuit faults (Confirmed to bePLCNo output or relay/contactor malfunction) Very practical.

2.3 REGISTER Data register area (DDistrict)

Display data registers in grid format (D0, D1, D2……) , Each grid displays the current value. Click on any register to open the read-write dialog box——You can view three representations: decimal, hexadecimal, and binary, Support manual modification of numerical values.

2.4 Multi brandPLCsupport

Multiple built-in toolsPLCModel configuration, Automatic adaptationI/ONumber of points and register range: Mitsubishi FXSeries (FX1S/FX1N/FX2N/FX3U) , Siemens Omron S7-200/S7-200 SMART, Series CPDelta, Series DVPPanasonic, Series FPThree.

Ladder diagram editor, PLCMobile end — ProgrammingLadderThis is a complete set of road tools

The highest technological contentOne of the modulesLadder diagram. Yes (Ladder Diagram) The most commonly used programming languagePLCSimulated the logical expression of relay control circuit, Core instruction support.

3.1 Instruction type

Mnemonic symbolexplainContact command
Series parallel logic of normally open/normally closed contactsLD/LDI/AND/ANI/OR/ORIOutput instructions
Coil outputOUT/SET/RSTPositioning, Reset, Timer
Time base optionalT0-T255100ms/10ms/1msCounter
PositionC0-C25516Bit up/down counter/32Compare instructions
Data comparisonCMP/ZCPInterval comparison, Transmitting instructions
Data transmissionMOV/CMLReverse transmission, Mobile interaction design

3.2 Editing ladder diagrams on mobile phones is a challenge

Tools used. Tools usedTouch and drag+command block selectionThe way: Click on the blank grid position→Select normally open contact/normally closed contact/output coil/function command from the command panel→Automatically placed in the current location→Double click to modify the component number (LikeX0, Y1, T2) . Support revocation/redo, Support zooming view.

3.3 Logic simulation

The ladder diagram editor is built-inOffline simulation engine: After writing the ladder diagram, Click on 'Simulation Run'→Manually click on the input pointON/OFF→Observe the status changes of the output coil and auxiliary relay→Verify whether the ladder diagram logic is correct. This feature allows engineers to go to the site before, First, verify the program logic on the mobile phone.

Four, PIDSet calculator — Say goodbye to the trial and error method

PID (Proportional integral derivative) Control is the most classic in industrial control, The most widely used closed-loop control algorithm. ButPIDParameter tuning has always been a pain point for engineers——Relying on experience for trial and error is inefficient, Poor effectiveness.

PIDThe setting calculator providesThree classic tuning methods:

  • Ziegler-Nichols Critical proportionality method: Gradually increase the proportional gain until the system exhibits equal amplitude oscillation, Record the critical gainKuAnd critical periodTu, Automatic calculationP/PI/PIDThree parameter combinations
  • Ziegler-Nichols Step response method: Input open-loop step response curve parameters (Delay timeL, Time constantT, Static gainK) , Automatically calculate setting parameters
  • CHRTuning method: Chien-Hrones-Reswickmethod, Distinguish between setting value tracking and disturbance suppression as two optimization objectives, give0%And20%Two sets of parameters for overshoot

Each method providesDetailed formula derivation and calculation process, Not just providing results.

Five, Frequency converter debugging tool

Frequency converter (VFD, Variable Frequency Drive) Debugging is a daily task for automation engineers. This tool covers the debugging needs of mainstream inverter brands:

  • Parameter reading and writing: ThroughModbus RTURead and write frequency converter parameters (Frequency setting, Acceleration and deceleration time, Upper limit frequency, V/FCurves, etc)
  • Operation control: Forward/reverse/stop command, Frequency setting (Supports both digital input and analog percentage input methods)
  • Status monitoring: Real time display of operating frequency, Output current, Output voltage, Bus voltage, Operation status word
  • Fault diagnosis: Read the fault code and display the Chinese explanation (Overcurrent, Overvoltage, Undervoltage, overheated, Overload, etc)
  • Multi brand support: Huawei/Huichuan/Delta/Mitsubishi/Yaskawa/ABB/Communication parameter presets for mainstream brands such as Siemens frequency converters

Six, Servo pulse calculator

In the servo motor control system, Pulse equivalentThe calculation is crucial. The servo pulse calculator helps you complete the following calculations with just one click:

  • Electronic gear ratio calculation: Input encoder resolution, Lead screw lead, Reduction ratio, Required resolution → Output electronic gear numerator/denominator
  • Pulse frequency calculation: Input the target rotational speed, Electronic gear ratio, Encoder resolution → Output the required pulse frequency (Hz)
  • Displacement↔Pulse conversion: Input displacement quantity → Output the required number of pulses; vice versa
  • Calculation of acceleration and deceleration time: Input initial speed, Target speed, Acceleration → Output the required time and number of pulses for acceleration and deceleration

Typical applications: When installing a new servo system, First calculate the electronic gear ratio to ensure positioning accuracy, Confirm the pulse frequency againPLCWhether the output capability meets the requirements, Finally calculate the acceleration and deceleration time to avoid losing steps.

Seven, Signal simulation calculator

The signal simulation calculator solves the problem ofAnalog signal conversionProblem——Convert physical quantities (Temperature, Pressure, Traffic) Compared to standard electrical signals (4-20mA, 0-10V, 0-5V) Mutual conversion.

  • Forward conversion: Physical quantity → Electrical signal (Like 0-100°C → 4-20mA)
  • Reverse conversion: Electrical signal → Physical quantity (Like 12mA → 50°C)
  • Custom range: Support linear mapping of any physical quantity range and signal range
  • Reference table: The standard signal range of commonly used sensors (Thermocouple, Thermal resistance, Pressure transmitters, etc)

Eight, Summary

6FundsPLCAutomated debugging tools, Enable industrial control engineers to complete tasks on mobile devicesI/OPoint check, Ladder diagram editing simulation, PIDParameter tuning, The entire process of debugging the frequency converter to servo pulse calculation.

Open WeChat search modbusDebugging Assistant ", No installation required, Ready to use.

Recommended reading: What is? Why? So popular Modbus? | All tools described in this article are free to use in WeChat mini programs Modbus Open WeChat?


🎯 Click on the top search button

Input → Debugging Assistant " → Enter the mini program modbusNo need to download → No registration or login required.
No need for a computerAPP, Industrial control debugging tool, Just take out your phone and you can use it——70+ Whether you are on the construction site, During business trips.

Still studying at home, Debugging assistants are all industrial automation debugging workstations that you carry with you, Still studying at home, modbusDebugging assistants are all industrial automation debugging workstations that you carry with you.

Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.