Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

1、Content Introduction

This article mainly introduces the Modbus RTU communication between two Schneider M200 PLCs.

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

2、Communication Preparation Work

1. Connection Schematic

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

2. Communication Parameters

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

3、Master Station Reads Slave Station Program Writing

1. Program Writing

The master station reads 5 words from the slave station using the function block “%READ_VAR0”.

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

2. Instruction Explanation

Link:1-SL1: Indicates that the port we are using is theM200 main body’sSL1 serial port

Id:3 Indicates that we are reading data from the slave address“3”.

ObjType0 MW storage area data, using data type “0”

I storage area data, using data type“1”

Q storage area data, using data type“2”

IW storage area data, using data type“3”

FirstObj100 Indicates that data is read starting from theMW100 data area of the slave station

Quantity5 Indicates that the number of data is5

Index_Data:50 Indicates that the data read from the slave station is stored in the master stationMW50 starting data area

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

4、Master Station Writes Slave Station Program Writing

1. Program Writing

The master station writes 5 words to the slave station using the function block “%WRITE_VAR0”.

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

2. Instruction Explanation

Link:1-SL1: Indicates that the port we are using is the M200 main body’s SL1 serial port

Id:3 Indicates that we are writing data to the PLC with slave address “3”

ObjType:0 MW storage area data, using data type “0”

Q storage area data, using data type “2”

FirstObj:250 Indicates that data is written starting from the MW250 data area of the slave station

Quantity:5 Indicates that the number of data is 5

Index_Data:200 Indicates that the content of the MW200 data area from the master station is prepared to be written to the slave station

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

5、Case Explanation

If the slave station used on-site is a sensor that supports Modbus RTU, it can be configured to the correspondingcommunication rate, as we have set the TimeOut to 100, which is in units of 100ms, so the total is 10s.

If the line is disconnected, the master station will send data every 10s to look for the slave station. When the on-site slave station or sensor needs to be replaced, the master station will automatically recognize and continuecommunication.

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?PLC-Recorder Software Tutorial: Real-time Forwarding Function (Taking Wecon HMI to Obtain Data via Modbus TCP as an Example)Using PLC-Recorder to Achieve Cross-Brand Communication Between PLCsCommon Knowledge of Communication Lines in Industrial Automation, Do You Know the Wiring/Communication Distance?Siemens PLC TIA Portal and Yaskawa Robot Modbus TCP Communication: Are You Capable?

Using PLC-Recorder to Achieve Cross-Brand Communication Between PLCsModbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

Attention Industrial Control Personnel: Recent Windows 11 System Updates May Cause Your Siemens Software to Become Inoperable, Have You Been Affected?Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

Exclusive Release!!! Huichuan EVO523 PLC Achieves Communication with Siemens S7-1500 PLC Based on iFA Evolution PlatformModbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

How to Simulate the Huichuan EVO Series PLC and IT Series HMI Without Physical Objects on the iFA Evolution Software Platform?Huichuan EVO Series PLC Adding Variables and Configuration Functions in Oscilloscope on iFA Evolution Software PlatformHow to Establish Communication Connection and Debug EOE Configuration Steps Between PLC and Servo Drive on iFA Evolution Software PlatformHuichuan EVO Series PLC Adding Basic Oscilloscope on iFA Evolution Software PlatformHuichuan EVO Series PLC Adding Task Oscilloscope on iFA Evolution Software PlatformHow to Backup and Restore Projects on iFA Evolution Software?Why Does iFA Evolution Software Automatically Switch to Offline After Monitoring PLC for a Period of Time?Huichuan iFA Evolution Software Platform_PLC Project Offline/Online ComparisonHuichuan iFA Evolution Software Platform_PLC Project Offline/Online ComparisonHow to Mount Modbus Slave Station Under Modbus TCP Master Station on Huichuan EVO Series PLC in iFA Evolution Software Platform?How to Add Modbus Slave Devices on Huichuan EVO Series PLC in iFA Evolution Software Platform?How to Add Modbus TCP Master Devices on Huichuan EVO Series PLC in iFA Evolution Software Platform?Huichuan PLC H5U and Easy523 Communication via MODBUS-RTU (485)Is Communication Difficult? A Step-by-Step Guide to Quickly Achieve Communication Between PLCs – Siemens S7-1200 and S7-200 SMARTIs Communication Difficult? A Step-by-Step Guide to Quickly Achieve Communication Between PLCs – Keyence Edition (Part One)Is Communication Difficult? A Step-by-Step Guide to Quickly Achieve Communication Between PLCs – Keyence Edition (Part Two)Is Communication Difficult? A Step-by-Step Guide to Quickly Achieve Communication Between PLCs – Keyence Edition (Part Three) (KV7500-KV8000)Is Communication Difficult? A Step-by-Step Guide to Quickly Achieve Communication Between PLCs – Communication Between Siemens S7-200 SMARTCommon Knowledge of Communication Lines in Industrial Automation, Do You Know the Wiring/Communication Distance?Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?Extended Knowledge: The PLC-Recorder professional data collection and analysis software can collect string variables as easily as numerical variables.Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable? We will periodically provide more PLC engineering tips in the future. Follow us to stay updated.Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?Modbus RTU Communication Between Two Schneider M200 PLCs: Are You Capable?

Leave a Comment