Using MODBUS_RTU function block in Codesys

I want to extract tag/variable values from a Mitsubishi PLC using MODBUS RTU protocol through the serial port.
I am using Codesys for programming the PLC.
Can anyone tell how to establish the mapping between the tag names and the MODBUS addresses in Codesys?

Thanks in advance..
 
As I know Codesys and Mitsubishi are going together only if you have iQ C controler (Q06CCPU-V-H01 or Q12DCCPU-V). If you don't have some of those two CPUs, you will have to do classical programming and you will have to make function in Mitsubishi CPU (Modbus Slave) and to program your Modbus Master to read it. Modbus communication is not tag based, but memory address based (see www.modbus.org).
 

Similar Topics

I just started using TwinCAT 3.1.4024 to program the Beckhoff PLC CX7080 to communicate with the ALICAT mass flow controller and other hydrogen...
5
Replies
2,098
Views
Hi I am having some trouble trying to control an Eaton M-Max VFD via Modbus RTU from a Siemens S7 PLC. I'm not too sure I have the Comm Load set...
6
Replies
1,429
Views
Iam Trying to read the energy meter reading from 4405 Model L&T through rs485 using delta plc 12sa2
5
Replies
1,704
Views
Hello, fellow PLC enthusiasts, I’m a newbie in PLC and am currently on a project that involves connecting an Omron CP1E (CP1W-CIF11) PLC to an...
7
Replies
3,002
Views
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
8
Replies
3,720
Views
Top