Hey there! As a supplier of Mitsubishi PLCs, I've seen firsthand how these programmable logic controllers are revolutionizing the industrial automation scene. Today, I'm gonna walk you through some programming examples for Mitsubishi PLCs that can be super useful in different applications.
Basic On - Off Control Programming
Let's start with the most fundamental type of programming: on - off control. This is like the ABCs of PLC programming. Say you've got a simple conveyor belt system. You want to turn it on when a start button is pressed and turn it off when a stop button is pressed.
In Mitsubishi PLC programming, we use ladder logic, which is a graphical programming language that looks a bit like an electrical circuit. For our conveyor belt example, we'd have two input contacts - one for the start button and one for the stop button. The start button would be a normally open (NO) contact, and the stop button would be a normally closed (NC) contact.
Here's a simple ladder logic program in pseudocode:
// Inputs
Start_Button: NO contact
Stop_Button: NC contact
// Output
Conveyor_Belt: Coil
// Ladder Logic
|Start_Button| -| |- |Stop_Button| -|( )|- Conveyor_Belt
What this means is that when the start button is pressed, the NO contact closes. As long as the stop button isn't pressed (so the NC contact remains closed), the coil for the conveyor belt gets energized, and the belt starts running. When the stop button is pressed, the NC contact opens, de - energizing the coil and stopping the conveyor belt.
Timer - Based Programming
Timers are another crucial part of PLC programming. They're used when you need to control the duration of an operation. For example, let's say you're filling a tank with liquid. You want to stop the filling process after a certain amount of time.
Mitsubishi PLCs have different types of timers, like the TON (Timer On - Delay) timer. Here's how you could use it in a program to control the tank filling:
// Inputs
Start_Fill_Button: NO contact
Stop_Fill_Button: NC contact
// Output
Fill_Pump: Coil
// Timer
Timer: TON with a preset time of, say, 60 seconds
// Ladder Logic
|Start_Fill_Button| -| |- |Stop_Fill_Button| -|( )|- Timer
|Timer.Done| -|( )|- Fill_Pump
When the start fill button is pressed, the timer starts counting. Once the preset time of 60 seconds is reached, the Timer.Done bit is set to true. This closes the contact associated with Timer.Done, energizing the fill pump coil and starting the filling process. The stop fill button can be used to interrupt the process at any time.
Counter - Based Programming
Counters are great for keeping track of the number of events. Suppose you're running a production line, and you want to count the number of products that pass a certain point. You can use a counter in your Mitsubishi PLC program.
Let's use the CNO (Counter Normal Operation) counter for this example:


// Inputs
Product_Sensor: NO contact
Reset_Counter_Button: NO contact
// Output
Alarm_When_100_Products: Coil
// Counter
Counter: CNO with a preset value of 100
// Ladder Logic
|Product_Sensor| -|( )|- Counter
|Reset_Counter_Button| -|( )|- Counter.Reset
|Counter.Done| -|( )|- Alarm_When_100_Products
Every time a product passes the sensor, the Product_Sensor contact closes, incrementing the counter. When the counter reaches the preset value of 100, the Counter.Done bit is set, which energizes the Alarm_When_100_Products coil, triggering an alarm. You can use the Reset_Counter_Button to reset the counter back to zero.
Applications with Specific Mitsubishi PLC Models
FX5 - 32ER/ES Mitsubishi Electric
The FX5 - 32ER/ES Mitsubishi Electric is a powerful PLC that can handle more complex programming tasks. It has a high - speed processing capability and a large memory capacity.
For example, in a high - speed packaging line, you can use the FX5 - 32ER/ES to control multiple servo motors and sensors. You can program it to synchronize the movement of the motors so that products are accurately picked, placed, and packaged at a rapid pace. The PLC can also monitor the sensors to detect any faults or jams in the line and take appropriate actions, like stopping the line and triggering an alarm.
Mitsubishi Fx2n 4ad
The Mitsubishi Fx2n 4ad is an analog input module that can be used with Mitsubishi PLCs. It's useful in applications where you need to measure analog signals, like temperature, pressure, or flow rate.
Let's say you're monitoring the temperature in a chemical reactor. You can connect temperature sensors to the Fx2n 4ad module. The module will convert the analog temperature signals into digital values that the PLC can understand. Then, you can program the PLC to take actions based on the temperature readings. For example, if the temperature goes above a certain threshold, the PLC can activate a cooling system.
Mitsubishi FX3S 30MR ES
The Mitsubishi FX3S 30MR ES is a compact and cost - effective PLC. It's suitable for small - scale automation projects, like controlling a single machine or a simple production cell.
In a small - scale food processing machine, the FX3S 30MR ES can be used to control the heating elements, conveyor belts, and cutting mechanisms. You can program it to ensure that the food products are processed at the right temperature, speed, and size.
Why Choose Mitsubishi PLCs?
Mitsubishi PLCs are known for their reliability, performance, and ease of use. They have a wide range of models and modules to suit different applications, from small - scale projects to large - scale industrial plants. The programming software is intuitive, so even if you're new to PLC programming, you can quickly get the hang of it.
If you're in the market for Mitsubishi PLCs or need help with programming, I'd love to chat. Whether you're looking for a specific model like the FX5 - 32ER/ES, Mitsubishi Fx2n 4ad, or Mitsubishi FX3S 30MR ES, or you need a customized solution for your automation project, just reach out. We can discuss your requirements in detail and find the best fit for your needs.
References
- Mitsubishi Electric Corporation. PLC Programming Manuals.
- Industrial Automation Handbook.
