Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Simple guide to use LDmicro with Scada

(you are viewing a thread; or go back to list of threads)

Simple guide to use LDmicro with Scada (by Russell )
Hi.... Does any know of a good plain English tutorial to connect LDmicro with Scada through Modbus. I've looked at many but they don't explain the initial basic starting points. Plus video very hard to read so really can't follow it. I'm OK with LDmicro but can't get the two working together.
Appreciate any help
Tue Dec 5 2023, 08:06:58
(no subject) (by MGP)
I have never seen a modbus program in LDmicro, it was always RS232 driven.
https://cq.cx/ladder-forum.pl?...parent=10356&tt=1621166338
Tue Dec 5 2023, 10:21:55
(no subject) (by Russell )
They have it available to assign element tag address so I assume it exist. There are also a video about it but very high level and very difficult to see or read screen shots. Was looking for a simple tutorial on either serial USB connection or Modbus for arduino mega 2560 board with HMI control screen based on LDmicro as the ladder program.
Thu Dec 7 2023, 09:48:52
(no subject) (by Flenser)
I think that modbus can only be used with arduino using LDuino.

The only reference to modbus in the LDmicro CHANGES.txt is for version 3.4.0:
== Release 3.4.0

* Added: This release include fork https://github.com/f1oat/LDmicro.

Compressed bytecodes, Controllino Maxi support, MODBUS support.
http://cq.cx/ladder-forum.pl?action=viewthread&parent=5007
MODBUS use RTU over TCP. But that should work also in RS485 mode by
linking with the proper Arduino library.

Announcing LDuino, an Arduino based PLC software compatible with LDmicro
http://cq.cx/ladder-forum.pl?action=viewthread&parent=5070

Controllino is here: http://controllino.biz/
This a nice product. Unfortunately the creator got bad reputation on Kickstarter.
https://www.kickstarter.com/pr...arduino-compatible/description

More information you can get from author of Controllino Maxi support in LDmicro:
Frederic Rible <[email protected]>

Attention! Not compatible with LDmicro2.3, if modbus contacts used.

The only reference to modbus in the LDmicro source code is for the ldinterpreter example. There is no reference to modbus in the code for the compiled version of LDmicro and no examples of how to use modbus with LDmicro on the LDmicro wiki.

The LDuino home page https://github.com/f1oat/LDuino describes how modbus can be used with that software and has a screenshot of an example that uses modbus.
Fri Dec 8 2023, 10:30:08
(no subject) (by José)
Hi everybody

We have made some Modbus tests in Ldmicro with another user ; but it has not been terminated...

The main pb is that Modbus is highly time depended, which is not realy compatible with ldmicro cyclic way of doing...

Best regards
José
Fri Dec 8 2023, 14:53:34
(no subject) (by José)
PS:
... time dependent ...
Fri Dec 8 2023, 14:54:10
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):