Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use PLC: Examples, Pinouts, and Specs

Image of PLC
Cirkit Designer LogoDesign with PLC in Cirkit Designer

Introduction

A Programmable Logic Controller (PLC) is an industrial digital computer designed for the control and automation of manufacturing processes or robotic devices. Panasonic's PLCs are known for their reliability, flexibility, and ease of integration into various industrial environments. They are widely used in applications such as assembly lines, robotic devices, and any system requiring high reliability and ease of programming.

Explore Projects Built with PLC

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
PLC-Controlled Power Window System with Infrared Sensing and Relay Module
Image of wiring FYP: A project utilizing PLC in a practical application
This circuit is designed to control a motorized window system using a PLC (Programmable Logic Controller) and an array of sensors and switches. It includes power supplies for 12V and 24V DC, an MCB (Miniature Circuit Breaker) for protection, and a relay module interfaced with an Arduino for additional control logic. The PLC manages inputs from pushbuttons, a 3-position switch, infrared proximity sensors, and an emergency stop, and it controls outputs such as the motor speed controller, lamps, and solenoid valves.
Cirkit Designer LogoOpen Project in Cirkit Designer
PLC and Arduino Controlled Multi-Stepper Motor System
Image of datkrb: A project utilizing PLC in a practical application
This circuit controls multiple NEMA 17 stepper motors using stepper drivers, a PLC, and an Arduino UNO. The PLC and Arduino coordinate to send control signals to the stepper drivers, which in turn drive the stepper motors. A 24V DC power supply provides the necessary power to the stepper drivers and PLC.
Cirkit Designer LogoOpen Project in Cirkit Designer
Optiplex Micro and PoE Camera Surveillance System with Ethernet Switching
Image of Engine Mounts Wiring: A project utilizing PLC in a practical application
This circuit describes a networked system where an Optiplex Micro computer is powered by a PC Power Supply and connected to a PC Screen via HDMI for display output. The computer is networked through an Ethernet Switch, which also connects to two PoE Cameras and a Toyopuc PLC. The Ethernet Switch is powered by a PoE PSU 48V DC, and all AC-powered devices are connected to a common 220V AC source.
Cirkit Designer LogoOpen Project in Cirkit Designer
PID Temperature Control System with Thermocouple and SSR
Image of IR: A project utilizing PLC in a practical application
This circuit is a temperature control system that uses a thermocouple to measure temperature and a PID controller to regulate it. The PID controller drives a solid-state relay (SSR) to control an external load, with power supplied through an AC inlet socket.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with PLC

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of wiring FYP: A project utilizing PLC in a practical application
PLC-Controlled Power Window System with Infrared Sensing and Relay Module
This circuit is designed to control a motorized window system using a PLC (Programmable Logic Controller) and an array of sensors and switches. It includes power supplies for 12V and 24V DC, an MCB (Miniature Circuit Breaker) for protection, and a relay module interfaced with an Arduino for additional control logic. The PLC manages inputs from pushbuttons, a 3-position switch, infrared proximity sensors, and an emergency stop, and it controls outputs such as the motor speed controller, lamps, and solenoid valves.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of datkrb: A project utilizing PLC in a practical application
PLC and Arduino Controlled Multi-Stepper Motor System
This circuit controls multiple NEMA 17 stepper motors using stepper drivers, a PLC, and an Arduino UNO. The PLC and Arduino coordinate to send control signals to the stepper drivers, which in turn drive the stepper motors. A 24V DC power supply provides the necessary power to the stepper drivers and PLC.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Engine Mounts Wiring: A project utilizing PLC in a practical application
Optiplex Micro and PoE Camera Surveillance System with Ethernet Switching
This circuit describes a networked system where an Optiplex Micro computer is powered by a PC Power Supply and connected to a PC Screen via HDMI for display output. The computer is networked through an Ethernet Switch, which also connects to two PoE Cameras and a Toyopuc PLC. The Ethernet Switch is powered by a PoE PSU 48V DC, and all AC-powered devices are connected to a common 220V AC source.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of IR: A project utilizing PLC in a practical application
PID Temperature Control System with Thermocouple and SSR
This circuit is a temperature control system that uses a thermocouple to measure temperature and a PID controller to regulate it. The PID controller drives a solid-state relay (SSR) to control an external load, with power supplied through an AC inlet socket.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Technical Details

Specification Value
Manufacturer Panasonic
Part ID PLC
Operating Voltage 24V DC
Input Voltage Range 20.4V to 28.8V DC
Power Consumption 5W
Operating Temperature -10°C to 55°C
Storage Temperature -20°C to 70°C
Humidity 10% to 90% (non-condensing)
Communication Ports RS232, RS485, Ethernet
Digital Inputs 16
Digital Outputs 16
Analog Inputs 4
Analog Outputs 2

Pin Configuration and Descriptions

Digital Inputs

Pin Number Description
1 Digital Input 1
2 Digital Input 2
3 Digital Input 3
4 Digital Input 4
5 Digital Input 5
6 Digital Input 6
7 Digital Input 7
8 Digital Input 8
9 Digital Input 9
10 Digital Input 10
11 Digital Input 11
12 Digital Input 12
13 Digital Input 13
14 Digital Input 14
15 Digital Input 15
16 Digital Input 16

Digital Outputs

Pin Number Description
1 Digital Output 1
2 Digital Output 2
3 Digital Output 3
4 Digital Output 4
5 Digital Output 5
6 Digital Output 6
7 Digital Output 7
8 Digital Output 8
9 Digital Output 9
10 Digital Output 10
11 Digital Output 11
12 Digital Output 12
13 Digital Output 13
14 Digital Output 14
15 Digital Output 15
16 Digital Output 16

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the PLC to a 24V DC power supply. Ensure the power supply can provide sufficient current for the PLC and any connected devices.
  2. Digital Inputs: Connect sensors or switches to the digital input pins. Ensure the input voltage levels are within the specified range.
  3. Digital Outputs: Connect actuators, relays, or other devices to the digital output pins. Ensure the output current and voltage ratings are not exceeded.
  4. Analog Inputs/Outputs: Connect analog sensors or devices to the analog input/output pins. Ensure proper signal conditioning if necessary.
  5. Communication Ports: Use RS232, RS485, or Ethernet ports for communication with other devices or systems. Configure the communication settings as required.

Important Considerations and Best Practices

  • Grounding: Ensure proper grounding to avoid electrical noise and interference.
  • Shielding: Use shielded cables for analog signals to prevent noise interference.
  • Surge Protection: Implement surge protection devices to protect the PLC from voltage spikes.
  • Regular Maintenance: Perform regular maintenance checks to ensure the PLC and connected devices are functioning correctly.

Troubleshooting and FAQs

Common Issues Users Might Face

  1. PLC Not Powering On:

    • Solution: Check the power supply connections and ensure the voltage is within the specified range.
  2. Digital Inputs Not Responding:

    • Solution: Verify the input connections and ensure the sensors or switches are functioning correctly.
  3. Digital Outputs Not Activating:

    • Solution: Check the output connections and ensure the connected devices are within the output current and voltage ratings.
  4. Communication Issues:

    • Solution: Verify the communication port settings and ensure the cables are properly connected.

Solutions and Tips for Troubleshooting

  • Check Connections: Ensure all connections are secure and correctly wired.
  • Verify Power Supply: Ensure the power supply is providing the correct voltage and current.
  • Inspect for Damage: Check for any physical damage to the PLC or connected devices.
  • Consult the Manual: Refer to the manufacturer's manual for detailed troubleshooting steps and technical support.

Example Code for Arduino UNO Integration

While PLCs are typically used in industrial settings, they can also be integrated with microcontrollers like the Arduino UNO for educational or prototyping purposes. Below is an example code snippet for reading a digital input from a PLC and controlling an LED based on the input state.

// Define the digital input pin from the PLC
const int plcInputPin = 2;
// Define the LED output pin
const int ledPin = 13;

void setup() {
  // Initialize the digital input pin as an input
  pinMode(plcInputPin, INPUT);
  // Initialize the LED pin as an output
  pinMode(ledPin, OUTPUT);
  // Start the serial communication for debugging
  Serial.begin(9600);
}

void loop() {
  // Read the state of the PLC input pin
  int plcInputState = digitalRead(plcInputPin);
  
  // Print the input state to the serial monitor
  Serial.print("PLC Input State: ");
  Serial.println(plcInputState);
  
  // Control the LED based on the PLC input state
  if (plcInputState == HIGH) {
    // Turn the LED on if the input is HIGH
    digitalWrite(ledPin, HIGH);
  } else {
    // Turn the LED off if the input is LOW
    digitalWrite(ledPin, LOW);
  }
  
  // Add a small delay to avoid flooding the serial monitor
  delay(100);
}

This code reads the state of a digital input from the PLC and controls an LED on the Arduino UNO based on the input state. Ensure proper connections between the PLC and Arduino UNO, and adjust the pin numbers as needed.


This documentation provides a comprehensive overview of the Panasonic PLC, including technical specifications, usage instructions, troubleshooting tips, and example code for integration with an Arduino UNO. Whether you are a beginner or an experienced user, this guide aims to help you effectively utilize the PLC in your projects.