I have an upcoming project where I need to read Holding Register tags from a Schneider M580 PLC. Looking at the Ignition documentation, Holding Registers are consider to be 4XXXX and above, so in Ignition HR1 would read 40001 in the PLC.
But the M580 Holding Registers are in the 4XXXXX range. Would HR1 in Ignition read 400001 ?
I do not have access to M580 PLC to try this at the moment, but have to configure Ignition on the job site. Would like to be prepared if Ignition has an issue with the starting range of the Holding Registers
HR1 reads HR1. The 4 prefix is a made up convention used by some devices to indicate Holding Register area. You’ll have to try it and see. In this case it seems likely.
Made up for the original Gould Modicon family of PLCs. Before you were born, I think.
Consider setting up my Modbus Server driver temporarily, to provide a target for your development. (You can run it in a 2nd Ignition instance and point IA's native driver at it.)
Now I'm having flashback to a very long time ago. I can see in my mind the image of a genuine Gould Modicon PLC sitting in a cabinet, but for the life of me I can't remember what job site that was on.
My very first PLC programming task in my very first full-time job was a Modicon 584. The second PLC programming task was an adjacent Modicon 984. About a year later, a different part of that facility introduced me to Allen-Bradley (PLC-5).
Yeah, I'm old.
Yeah, well I started off with
-
Some PLC (Siemens?) that had a dedicated, hardware only programmer that had separate physical switches for inserting each type of logic element in a rung.
-
GE Series Six, and the 30lb "portable" programmer with the 6 inch screen.
-
Minicomputers that had their drum memory replaced with a solid state solution - but still had physical meters with moving needles that showed disk usage 0-100%
Great times
The PLC address of the first holding register on an M580 is %MW0. The Ignition address for that register is HR0. You must set up the device so that 1 based addressing is NOT selected and do select reverse word order.
The first coil in the M580 is %M0. That would be accessed from Ignition as %C0.
Unity processors do not use the 4xxxxx addressing unless you go out your way to enable them, usually from importing an old Proworx program.
I was able to connect to the PLC and read tags correctly. Floats were not correct until i selected Word swapping in the OPC-UA driver
OK. The address of "PV" in the M580 should be %MW14940 and %MW14941. You would see that in the Unity/ControlExpert program under "Elementary Variables"