AdvancedHMI Software
General Category => Support Questions => Topic started by: Neeh on February 08, 2019, 06:56:59 PM
-
I am connecting to Omron C200 PLC using serialhostlink at 19200,7,E,2 and I have a basic label with PLCAddressValue = 100.01. It just toggles every second.
There is no error indication but the label does not show the value. What am I missing?
-
Try using D0 in both PLCAddressValue and PLCAddressClick. See if it shows the value and lets you change it.
-
0.00 or 0.01 works but not 100.01 etc.
-
If you are using 3.99y Beta, set EnableLogging to True.
Put only 1 BasicLabel on the form with PLCAddressValue set to 100.01
Run the application for about 30 seconds.
Look in AdvancedHMI\bin\Debug for the log file
Post that file here
-
Attached is the log file.
-
- Download the attached patch
- Open your solution in VS
- In Solution Explorer, expand down the AdvancedHMIDrivers project
- Right click the support folder and select Add->Existing Item
- Browse to the file downloaded from here
- Rebuild the solution
Let me know if that resolves the issue
<<Attachment removed. Will be part of 3.99y Beta 19>>
-
That resolved the issue.
What is the proper notation to addressing: DM, HR, TC, etc. ?
-
Typically just a single letter prefix such as D100
You can also use address modifiers to get long integers, float, and BCD. For example:
D100@F
D000@L