Drives Inverters Guides PLC Guides

ATV312 Schneider “Modbus RTU” Siemens S7-1200 Tutorial

Written by plc247.com

In previous articles, plc247.com has guided you to use many PLC/HMIs to control Schneider Electric’s ATV312 inverter. Today I would like to continue using a very famous PLC to control it: Siemens S7-1200.

In order for the S7-1200 to communicate with the ATV312 inverter, I used the module S7-1200 CB1241

S7-1200 CB1241 & ATV312 Schneider Wiring Diagram

You connect the wires as shown below, pay attention if the communication is longer than 100m, you need to use a 120Ohm terminal resistor.

Schneider ATV312 Setup

In addition to the inverter parameters set according to the motor you use, you need to set the following communication parameters for the inverter to communicate with Modbus-RTU.

COM – Menu:

  • Add (Address) – 1
  • tbr (Baud rate) – 9.6
  • tF0 (Com. Type) – 8E1
  • tt0 (Timer Error Detection) – 3.0

CtL – Menu:

  • LAC – L3
  • Fr1 – Mdb
  • Fr2 – Mdb
  • CHCF – SEP
  • Cd1 – Mdb
  • Cd2 – Mdb

Register Address List

For Communication Modbus PLC Siemens S7-1200
PLC Address = “40001 + VFD Address”
Register for Control

+ Control Motor Address = 40001 + 8501 = 48502 (dec)

  • Set 48502 (dec) = 6 >>> Enable Operation
    = 128 >>> Reset Fault
    = 15 >>> Forward Run
    = 2063 >>> Reverse Run
    = 4111 >>> Stop

+ Setting Frequency Address = 40001 + 8502 = 48503 (dec)

Register for Monitoring

+ Output Frequency Address = 40001 + 3202 = 43203 (dec)

+ Output Current Address = 40001 + 3204 = 43205 (dec)

Siemens S7-1200 Setup

S7 1200 CB1241 Module Configuration

Creating a Data Block for Modbus

S7-1200 Modbus RTU Programming

+ Network 1: Read / Write Distribution

+ Network 2: Modbus Communication Load

+ Network 3: Set Frequency Command

+ Network 4: Control Motor Command

+ Network 5: Frequency Output Read

+ Network 6: Current Output Read

Project Tutorial Video

======

Documentation and Software:

Password : plc247.com

Please share the article and subscribe to the new article of the Website if you find the article useful.

Thanks and Best Regards!

About the author

plc247.com

24 Comments

Leave a Comment

DMCA.com Protection Status