Beginner Modbus/fieldbus question

I have a load cell amplifier that communicates over fieldbus and I am trying to read it via AD do-more h2 plc. It looks like it can communicate via Modbus, but is that the same? How do I go about finding the IP address of the amplifier? Am I completely off base? I apologize for my naivety, I am learning trial by fire here.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/atlas1012
πŸ“…︎ Jan 13 2022
🚨︎ report
Extended Modbus Registers - Middle Man/Converter

Hello,

I've recently been tasked with upgrading the motor controls on a pump station. We're adding a Toshiba AS3 VFD, replacing old single phase motor controls, start/run caps, run relay etc.

The intention is to have single phase in, 3-phase out (apparently this VFD will do this, and not the issue at hand).

Anyways, I've run into a problem with "extended" modbus registers/communications.

This Toshiba drive I'm hoping to install uses "extended" Modbus addresses and the RTU I was hoping to use (SCADApack32) only seems to talk standard range modbus for holding registers: 40001-49999**.** Has anyone had success using extended modbus in Telepace/Telepace Studio?

If not has anybody had success with a protocol converter/managed ethernet switch device that can convert from extended modbus to standard range, or from say Ethernet I/P (Common Industrial Protocol) to standard range modbus? I know Red Lion, Moxa, and Phoenix Contact make converters but I've never used them before.

Any help and recommendations appreciated.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Assjuice33
πŸ“…︎ Jan 10 2022
🚨︎ report
Secure Modbus

I have to implement secure Modbus communication, i.e. Modbus over SSL, using the standard SSL library. Is there any primer / example / tutorial on that?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Dan13l_N
πŸ“…︎ Jan 12 2022
🚨︎ report
Need help with ESP32 and Modbus RTU

I'm trying to read data from an energy meter using Modbus (RS485). My RS485 connector has 3 pins the normal A & B and enable pin.

The problem I'm facing is that I am unable to read any data from the Holding Registers. I am using Arduino Framework. I'm unable to figure out if there is an issue with my ESP32 hardware or my program.

The modbus on the energy meter side is working as I'm able to read data using the following modpoll command: mbpoll -a 2 -r 157 -t 4:float -b 9600 -P none -o 1 -F1 /dev/ttyUSB0

All I need now is a library for ESP32 Modbus Client (Arduino Framework) and an example program. Also I need the logic to convert the data to Float as the device sends the data in encoded form in Big Endian and Little Endian.

I've tried using eModbus library but I could not get it to work (Probably coding mistake by me).

Thanks in Advance!

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/StarOfSlytherin
πŸ“…︎ Dec 27 2021
🚨︎ report
Why do I need to deduct 1 from modbus register addresses?

Most of the time if the documentation says a holding register 1072 holds my value and I read address 1072 I get a correct value. But sometimes when I read 1072 I don't get the correct value. So I go and check did I use the correct slave address, is my config correct etc, but in actuality all i had to do is deduct 1 from the address in the documentation to get the correct address that has my value. It happens rarely that deducting 1 from the address to get 1071 is always the last thing I remember to do after wasting my time.

Why is that some documentation specifies correct register address (the address that I send to the master) and some I have to deduct 1 from the address?

πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/codebreaker101
πŸ“…︎ Dec 13 2021
🚨︎ report
Analog to Modbus scaling...without PLC

Hello,

I bought one of those Analog to Modbus modules where I can connect a bunch of 0-10V or 4-20ma sensors to the module and it will transmit that info over Modbus TCP/IP. All good so far. The data that is being transmitted is raw and needs to be scaled. Is there a way I can do this without a PLC and display it on computer/HMI?

Or do you think I need a PLC to just scale the information without having to use any of its IOs?

Thank you

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/zer0net
πŸ“…︎ Dec 21 2021
🚨︎ report
Modbus Communications Between 4 Siemens Power Meters & An SEL RTAC

https://www.reddit.com/r/SCADA/comments/r0ob5q/issue_with_sel_rtac_and_siemens_pac4200s_that_are/

I was told r/PLC was much more active, and I REALLY appreciate everyone who can help me with this issue. I didn't want to duplicate post between two threads, so I figured it'd be okay to link to this one :-)

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/sitegnalp
πŸ“…︎ Nov 30 2021
🚨︎ report
Best practice to Modbus registers?

Hello, I'm currently working on reading strings from a PLC to a Computer through it's modbus (ModbusTCP) registers.

The case is: I have 10 strings of 50 characters each one. And I convert each character to it's ASCII value and assign it to a register.

I mapped 50 registers in the modbus mapping, and iterate each string to overwrite the registers.

Should I just assign 500 registers and avoid the pain of iterations and overwriting the registers 10 times?

Application is not that big. And memory (From what I can visualize in the IDE) has no effect when assigning registers to a variable. What are your best practices when setting registers on the PLC?

πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/Atilozjb
πŸ“…︎ Nov 07 2021
🚨︎ report
Yet Another Modbus Simulator

Hi Reddit,

While working on Modbus devices I find myself often need to test a Server/Client with my PC but I cannot find a good (and free) simulator to do just that. So I made myself one: The YAMS.

It is still in early stage of development: a lot of functionalities are still to be implemented, but Modbus TCP Server/Client has its ReadInputRegister/ReadHoldingRegister/WriteMultipleRegisters working (in my test cases).

One key feature of YAMS is you can define the behavior and configuration of the simulated device with YAML file(s). This would, hopefully, make test automation much easier, and make it possible to build more close-to-real-life simulations.

Does it look like something you'd use? Anything you'd suggest correcting/adding?

Any feedback would be greatly appreciated!

πŸ‘︎ 33
πŸ’¬︎
πŸ‘€︎ u/justinyhuang
πŸ“…︎ Dec 01 2021
🚨︎ report
KINCO PLC as MODBUS RTU slave

Hello to everyone. I hope you are doing well.

I'm trying to establish a communication between my PC and my KINCO PLC. The manual states it supports MODBUS RTU protocol, so I downloaded two different Modbus Master simulator I found out: Multiway from OMRON and qModMaster. None of them seem to work properly. I attached some pictures of the messages I get.

https://ibb.co/f1mCSNt Multiway message

https://ibb.co/bP5cX1t qModMaster message

I include the configuration of the communication parameters.

https://ibb.co/nMty8D9 PLC parameters

https://ibb.co/6RTqVfC Multiway parameters

https://ibb.co/N1XTccd qModMaster parameters

According to the manual, in order to play the role of Modbus master with the PLC it's necessary to configure some instruction blocks (I'm programming in ladder). However, I could not find any block to configure as Modbus slave. I don't know what else I can do.

I'm in trouble with this task. Am I making some mistake?

Thanks for your attention.Β  Kind regards!

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/franciscoazzad
πŸ“…︎ Dec 15 2021
🚨︎ report
Playing with modbus TCP and google charts v.redd.it/32n1h6ah9hw71
πŸ‘︎ 32
πŸ’¬︎
πŸ‘€︎ u/Atilozjb
πŸ“…︎ Oct 29 2021
🚨︎ report
TIA Portal modbus

Hi!

Found a lot of useful information here on PLC programming. Had to ask one question about the Siemens software:

What’s the best practice on error handling with mb_client and modbus tcp?

I see that the block have a tendency to halt and not be able to restore coms if there are several disconnects. Changing connection ID restores coms instantly.

This made me think πŸ€”, is it a problem to run multiple client blocks on the same port (502). Thought Tia portal sorted this out automatically.

Also: tips on handling list coms and the data written to buffer DB. Do you set all array elements to zero in the code?

πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Nov 10 2021
🚨︎ report
Modbus vs BACnet

Hi All,

I'm currently doing a IBMS assignment at uni. My simple brain still cannot comprehend why BACnet or Modbus protocols is used or preferred on certain system. In a nutshell, I have to show topology on a system connecting to ICN backbone and suggest a protocol and give reason why I'm using that protocol.

If possible, can someone give a layman's explanation on how the two protocols work/differ or recommend me a good resource to go by?

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/mothjitsu
πŸ“…︎ Nov 02 2021
🚨︎ report
Modbus (RS485) communication between 2 S7-1200 PLCs.

Hi all, I’m about to start a project where I need to link 2 plcs with RS485, I’ve seen a few videos online about how to talk to modbus slaves and some about how to setup the plc as the slave but I really need both.

I want the user to press a button connected to either plc and turn lights on both of them at the same time.

Anyone done anything like this before?

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/megamef
πŸ“…︎ Nov 04 2021
🚨︎ report
Anyone worked with Wago 750-362 modbus tcp fieldbus couplers before?

I’m working with these things, with the intention of using them in a proprietary soft-plc (non-realtime).

Settinf and reading io is working. But there also are registers defining the attached modules, but it appears the docs are not quite right about the descriptive word you get back for some analog modules.

Anyone with similar experiences?

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/NLJeroen
πŸ“…︎ Nov 03 2021
🚨︎ report
Connecting modbus tcp/ip to rslogix 5000 5380 controller

I have a machine that uses modbus tcp ip just for third party interaction with the machine I Can specify the ip and I have a spare port on a2 for my plc . My first attempt is using the Aoi add on instruction to communicate. My logic socket compatibility should be good. How do I go about finding all the comm setting for this instruction in relation to my machine? All they gave me from the company is a list of registers and addresses and whether or not they are read only or read and write.

Admittedly this is over my head but I’m pretty stubborn when I set out to do something lol and help or reading material would be appreciated? Thank you

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/captainahab00
πŸ“…︎ Nov 18 2021
🚨︎ report
which modbus c library do you use?

i am looking for modbus master/slave library to be used with 8 bit & 32 bit controller. i have tried github but there so many options, couldnt really figure out

do you write your own modbus library or using any open source?

really appreciate all kind of help and assistance

πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/Sushantnaik21
πŸ“…︎ Aug 04 2021
🚨︎ report
Micrologix 1400 Modbus RTU

I'm using Modbus RTU on the Micrologic 1400 to communicate with several motor controllers. When setting up my rung logic with MSG commands, can I send simultaneous MSG commands to each motor controller or do I need to sequence my logic so that only one MSG command is executing at time and step through each, one at a time?

Thanks

πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Nov 10 2021
🚨︎ report
Yet Another Modbus Simulator /r/PLC/comments/r6t0r3/ye…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/justinyhuang
πŸ“…︎ Dec 02 2021
🚨︎ report
Help with modbus

Okay so I am starting to get Into modbus for where I work. I have all the code to communicate over rs 485. I download it to the plc and that loads fine. But when I open modbus slave I can't seem to connect to the right thing. Do I need to get a USB to rs 485 connecter for my pc. Or can I do it over ethernet?

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/kidsickness
πŸ“…︎ Oct 12 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.