Input string not in correct format #6
Replies: 4 comments 3 replies
-
That seems to be an address of an EXPANSION DM MEMORY AREA, I have never used it. I've added some additional MemoryAreas: (There are 7 new memory areas depending on the bank) So you have to clone it again or pull the changes. It seems to be missing a WinForms example. You can download the example from CodeProject mcOmron/mc.omron.v1.00/FINSCommands/IFinsCommand.cs Lines 35 to 41 in 10db84a So, have a look at ReadDM methods: mcOmron/mc.omron.v1.00/OmronPLC.cs Lines 173 to 184 in 10db84a Now, try by adding a new method, some like ReadDME:
Use the proper bank area: |
Beta Was this translation helpful? Give feedback.
-
Hi now is working but |
Beta Was this translation helpful? Give feedback.
-
You should try to find a Command reference manual, google for it, you'll find some PDF's you can download. DM.E sounds like a Expansion Memory area. To access this memory you have to address the specific MemoryArea, it depends on your PLC model. mcOmron/mc.omron.v1.00/FINSCommands/IFinsCommand.cs Lines 11 to 44 in 10db84a So instead of:
you should try something like
|
Beta Was this translation helpful? Give feedback.
-
I made some tests and now I can write/read in all variables, I have the last thing to resolve how I can write characters in a memory area ? |
Beta Was this translation helpful? Give feedback.
-
Hi is the first time I have tried to connect to an OMRON PLC your software is my starting point. The manufacturer gives me PLC addresses in the following format: E0.0, E10, E200.0 ....I tried to insert in the DM DM's and CI0 but it gave me the error "Input string not in the correct format" I tried to remove E letter it responded but I think values are not correct.
Beta Was this translation helpful? Give feedback.
All reactions