Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
Omron C200
« previous
next »
Print
Pages: [
1
]
Author
Topic: Omron C200 (Read 1020 times)
Neeh
Newbie
Posts: 21
Omron C200
«
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?
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Omron C200
«
Reply #1 on:
February 08, 2019, 09:09:11 PM »
Try using D0 in both PLCAddressValue and PLCAddressClick. See if it shows the value and lets you change it.
Logged
Neeh
Newbie
Posts: 21
Re: Omron C200
«
Reply #2 on:
February 08, 2019, 10:32:01 PM »
0.00 or 0.01 works but not 100.01 etc.
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Omron C200
«
Reply #3 on:
February 09, 2019, 05:03:07 AM »
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
Logged
Neeh
Newbie
Posts: 21
Re: Omron C200
«
Reply #4 on:
February 11, 2019, 11:53:43 AM »
Attached is the log file.
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Omron C200
«
Reply #5 on:
February 11, 2019, 01:05:00 PM »
- 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>>
«
Last Edit: February 11, 2019, 02:01:16 PM by Archie
»
Logged
Neeh
Newbie
Posts: 21
Re: Omron C200
«
Reply #6 on:
February 11, 2019, 01:56:54 PM »
That resolved the issue.
What is the proper notation to addressing: DM, HR, TC, etc. ?
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Omron C200
«
Reply #7 on:
February 11, 2019, 02:00:16 PM »
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
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
Omron C200