AdvancedHMI Software
General Category => Support Questions => Topic started by: Lixoudis on December 07, 2017, 12:09:14 PM
-
Hello guys I have a question regarding the omron fins serial driver. Am using a CP1L Plc and I try to read or write float numbers to Plc with no luck. Is it possible to do it or not? For the reading part I have succeeded to read them by convert the real number to int inside the ladder and then just putting on the analog display value a scale factor but for the write I haven't found any way to do it. I await your suggestions
-
There is a beta patch for 3.99x that adds this feature to the Omron FINS driver. It works by using address modifiers. For example:
D0,F will read a floating point
D0,L will read a long 32 bit integer
You can download the V3.99xPatched2 file from here:
https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5
-
Thanks for the quick replay I will try the update and come back with feedback
-
Doing some tests its seams that I can read float values in a basic label, I can pass float values through keypad and other means but when I try to read values on analog display through plcaddressvalues I can't use the format D0,F and also i can't read values through datasuscriber event again for the same reason. Is there any way to use it that format in the above controls or not?
-
There was a conflict with the "," when using controls that used a PCLAddressItem object such as the AnalogValueDisplay. A third patched version has been posted that uses the @ symbol instead of a comma. Example addresses will now be:
D0@F
D0@L
https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5
-
Thanks Archie for the quick response. I will come back if any others bugs will be found. Thanks again
-
Today I tested it with OMRON PLC CP1LE and Ethernet driver OmronEthernetFINSCom1 and DataSubsciber.
It is works very well.