PLC Communication

PLC Communication কী এবং কেন দরকার?

PLC Communication কী এবং কেন দরকার? PLC Communication হলো এক বা একাধিক ডিভাইসের মধ্যে ডাটা আদান-প্রদান করার প্রক্রিয়া।

কেন দরকার?

  • PLC কে কেবল logic execute করতে হয় না; তাকে ডেটা পাঠাতে ও নিতে হয় যন্ত্র বা display এর সাথে।

    উদাহরণ

    • PLC ↔ HMI (Operator display)

    • PLC ↔ VFD / Servo (Motor control)

    • PLC ↔ Sensor / Remote I/O

PLC Communication সুবিধা

  • Realtime data monitoring

  • Remote control of machines

  • Multiple devices একসাথে work করা

Communication এর ধরন

PLC communication বিভিন্ন ধরনের হতে পারে:

1. Serial Communication

  • RS232 / RS485

  • Protocol: Modbus RTU

  • Short distance, 1 বা একাধিক device

2. Ethernet Communication

  • TCP/IP, Modbus TCP, Profinet

  • Long distance, multiple devices, fast

3. Fieldbus

  • Profibus, DeviceNet, CANopen

  • Industrial automation network

  • Multiple devices centralized communication

Master & Slave Concept

  • Master: ডিভাইস যা command পাঠায় (সাধারণত PLC)

  • Slave: ডিভাইস যা response দেয় (sensor, VFD, HMI)

Example

  • PLC (Master) → VFD (Slave)

Master শুধু command দেয়, slave সেই অনুযায়ী ডাটা পাঠায়।

Addressing

  • প্রতিটি slave device এ unique ID / address থাকে

  • Master এই ID ব্যবহার করে command পাঠায়

Example:

VFD1: Slave ID = 1
VFD2: Slave ID = 2
Temperature Sensor: Slave ID = 3

Data Types

PLC communication এ মূলত:

Data Type Use Case
Coil / Bit On/Off signals (Start/Stop)
Register / Word Analog values (temperature, speed, pressure)

Communication Setup Hardware

  1. Serial cable (RS232/RS485) বা Ethernet cable

  2. Connect PLC ↔ Slave device

  3. RS485 এর ক্ষেত্রে termination resistor ব্যবহার করা প্রয়োজন

Note: Cables সঠিকভাবে connect না হলে communication fail হবে।


Programming

TIA Portal / Siemens Example:

  1. Insert communication block (Modbus Read/Write, Ethernet send/receive)

  2. Set:

    • Slave Address

    • Data Type (Bit/Register)

    • Number of Points / Registers

    • Start Address

  3. Map PLC memory to Slave registers

Example:

  • Read temperature from VFD:

PLC DB0.DBW0 → Temperature register of VFD

HMI Integration

  1. HMI ↔ PLC connection setup

  2. Map HMI display to PLC memory (Coils/Register)

  3. Test: Start/Stop, Read values

Tip: HMI operator panel এ real-time data দেখানো যাবে।

Testing & Troubleshooting

  • Check cable, protocol, slave address

  • Use PLC monitor / online diagnostics

  • Observe HMI / device response

Common Issue:

  • Wrong slave address → no response

  • Wrong protocol → garbage data

  • Cable loose → communication fail

Practical Example (Modbus RTU)

Scenario: PLC control 1 VFD + 1 Temperature Sensor

Device Type Slave ID
VFD Motor 1
Temp Sensor Analog 2

PLC program

  • Read speed from VFD register 100 → DBW0

  • Read temperature from Sensor register 200 → DBW2

  • Start/Stop VFD → Coil 0

Encoder এবং Resolver কী? পার্থক্য ও ব্যবহার সহজ ভাষায়

Leave a Reply

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