Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use SCHNEIDER: Examples, Pinouts, and Specs

Image of SCHNEIDERDesign with SCHNEIDER in Cirkit Designer

Introduction

The TM221CE24T is a compact Programmable Logic Controller (PLC) manufactured by Schneider Electric, a global leader in energy management and automation solutions. This PLC is part of the Modicon M221 series, designed for small to medium-sized automation applications. It offers high performance, flexibility, and ease of use, making it an ideal choice for industrial control systems, machine automation, and process control.

Explore Projects Built with SCHNEIDER

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 Basic Surge Protection Circuit with Benedict Switch: A project utilizing SCHNEIDER in a practical application
Basic Surge Protection Circuit with Benedict Switch

The circuit includes a Benedict Switch connected in series with a Fuse Holder and an SPD (Surge Protection Device). The SPD is also connected to a Ground reference. This configuration suggests that the circuit is designed to control power flow, protect against overcurrent with the fuse, and guard against voltage surges with the SPD, with a safe path to ground for surge dissipation.

Open Project in Cirkit Designer
Image of SPST Rocker Switch Array Circuit: A project utilizing SCHNEIDER in a practical application
SPST Rocker Switch Array Circuit

This circuit features a parallel arrangement of SPST rocker switches, each capable of independently controlling the connection of a separate circuit branch to a common line. It is likely designed for simple on/off control of multiple individual loads or signals, with each switch operating a distinct load or signal path.

Open Project in Cirkit Designer
Image of Peltier-Controlled Thermal Management System with SPST Switch: A project utilizing SCHNEIDER in a practical application
Peltier-Controlled Thermal Management System with SPST Switch

This circuit consists of multiple Peltier modules and fans connected in parallel to a digital power supply, with a rocker switch (SPST) controlling the power flow to one of the Peltier modules and multiple fans. The 2.1mm Barrel Jack with Terminal Block serves as the power input connector, and the rocker switch allows for selective enabling or disabling of the connected devices. The circuit is designed to provide cooling or heating through the Peltier modules while the fans assist in heat dissipation or air circulation.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

The TM221CE24T is a versatile PLC with the following key technical specifications:

General Specifications

Parameter Value
Manufacturer Schneider Electric
Series Modicon M221
Part Number TM221CE24T
Supply Voltage 24 V DC
Digital Inputs 14
Digital Outputs 10 (Transistor type)
Communication Ports Ethernet, Serial (RS485)
Programming Environment SoMachine Basic
Memory 256 kB (Application Memory)
Operating Temperature Range -10°C to +55°C
Dimensions (H x W x D) 90 x 95 x 70 mm

Pin Configuration and Descriptions

The TM221CE24T features multiple input and output terminals. Below is the pin configuration for its digital inputs and outputs:

Digital Inputs

Pin Number Description Voltage Range
I0 - I13 Digital Input Channels 0 - 24 V DC

Digital Outputs

Pin Number Description Output Type Max Current
Q0 - Q9 Digital Output Channels Transistor (PNP) 0.5 A

Communication Ports

Port Description Protocols Supported
Ethernet Ethernet Communication Modbus TCP
Serial RS485 Communication Modbus RTU

Usage Instructions

The TM221CE24T is designed for easy integration into automation systems. Follow these steps to use the component effectively:

Step 1: Power Supply Connection

Step 2: Wiring Digital Inputs and Outputs

Step 3: Communication Setup

Step 4: Programming the PLC

Example Code for Modbus Communication with Arduino UNO

Below is an example of how to communicate with the TM221CE24T using an Arduino UNO via Modbus RTU:

#include <ModbusMaster.h>

// Instantiate ModbusMaster object
ModbusMaster node;

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 baud
  node.begin(1, Serial); // Set Modbus slave ID to 1 and use Serial for communication
}

void loop() {
  uint8_t result;
  uint16_t data;

  // Read a holding register (e.g., register 40001)
  result = node.readHoldingRegisters(0x0000, 1);

  if (result == node.ku8MBSuccess) {
    data = node.getResponseBuffer(0); // Get the value of the register
    Serial.print("Register Value: ");
    Serial.println(data);
  } else {
    Serial.println("Failed to read register"); // Error handling
  }

  delay(1000); // Wait 1 second before the next read
}

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues and Solutions

  1. PLC Does Not Power On

    • Check the power supply voltage and connections.
    • Ensure the power supply meets the required specifications (24 V DC).
  2. Inputs or Outputs Not Responding

    • Verify the wiring of input and output devices.
    • Check the program logic in the SoMachine Basic software.
  3. Communication Failure

    • Ensure the Ethernet or RS485 cables are properly connected.
    • Verify the communication settings (e.g., IP address, baud rate).
  4. PLC Program Not Running

    • Check if the program is downloaded to the PLC.
    • Ensure the PLC is in RUN mode.

FAQs

Q: Can the TM221CE24T be used with third-party HMIs?
A: Yes, the TM221CE24T supports Modbus TCP and Modbus RTU protocols, making it compatible with most third-party HMIs.

Q: What is the maximum cable length for RS485 communication?
A: The maximum cable length for RS485 communication is typically 1200 meters, depending on the cable quality and baud rate.

Q: Is the TM221CE24T suitable for harsh environments?
A: The TM221CE24T operates within a temperature range of -10°C to +55°C and is designed for industrial environments. However, additional protection may be required in extremely harsh conditions.

Q: Can I expand the I/O capacity of the TM221CE24T?
A: Yes, the TM221CE24T supports expansion modules to increase the number of inputs and outputs.

By following this documentation, users can effectively integrate and operate the TM221CE24T in their automation systems.