Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - honeydrop

Pages: [1]
1
Support Questions / Re: ChartBySampling (ScaleFactor Problem)
« on: August 10, 2017, 01:18:12 AM »
After doing some trials and errors, finally i get it worked.
1) I still used the original AHMI version 3.99x (no patch applied)
2) I changed the Number Format in Control Panel->Region->Additional Settings...
    in Numbers Tab, i chose point (.) for Decimal symbol and comma (,) for List separator. AHMI's project will automatically uses that format.
3) Reopened the project, build, and nicely done :)

Thank you Archie for your help and support.

2
Support Questions / Re: ChartBySampling (ScaleFactor Problem)
« on: August 08, 2017, 11:06:38 PM »
The problem seems to be in anything that uses the PLCAddressItem, such as the AnalogValueDisplay. Try adding an AnalogValueDisplay to the form and set one of the addresses to verify if I am correct in my thinking.

you were right, i tried with AnalogValueDisplay and set the parameters, it still gave wrong result. I guess there is a conflict between comma (,) used to separate each parameter and comma (,) used in decimal number.
For AnalogValueDisplay, the format of PLCAddressValue: D0,1,b,a,1,5,0  (in attachment)
D0  : PLCAddress
1    : NumberOfElements
b    : Name
a    : Description
1,5 : ScaleFactor
0    : ScaleOffset
As you can see the number 1,5 is read as 1 instead of 1,5 because it assumes the comma (,) is the parameter separator.

3
Support Questions / Re: ChartBySampling (ScaleFactor Problem)
« on: August 07, 2017, 11:23:17 PM »
What version of AdvancedHMI are you using? I seem to remember this being fixed, but I can't find it in the release notes. I did a quick test using version 3.99x with the Modbus driver and it appears to be working correctly.

I'm using version 3.99x.
I tried decimal point but it gave error (in attachment).
I tried scale factor=1,5 in BasicLabel and it worked (600x1,5=900).
Scale factor=1,5 in ChartBySampling gave wrong result (600x1,5=600).
         

4
Support Questions / ChartBySampling (ScaleFactor Problem)
« on: August 07, 2017, 01:13:34 AM »
Hi Archie,

i have problem with ScaleFactor property in ChartBySampling, it outputs wrong result with floating number scale factor, looks like it doesn't read the decimal point. That problem doesn't occure with integer number scale factor.
I'm using Omron PLC with SerialFINS driver.

example:
1) input=0-600
    scale factor=0,5
    output=5 (constant)
2) input=0-600
    scale factor=0,1
    output=1 (constant)
3)  input=0-600
    scale factor=1,5
    output=0-600 (the result equal with scale factor=1)
4)  input=0-600
    scale factor=2,5
    output=0-1200 (the result equal with scale factor=2)
5)  input=0-600
    scale factor=2,9
    output=0-1200 (the result equal with scale factor=2)

5
Additional Components / Re: LED Matrix Control
« on: November 28, 2016, 11:32:15 PM »
You can correct all errors related to LEDMatrix and that might eliminate the very first error.

Rename CommComponent to ComComponent (one "m").
Rename AdvancedHMIDrivers.IComComponent to MfgControl.AdvancedHMI.Drivers.IComComponent.

thanks Godra, now it works nicely :)

6
Additional Components / Re: LED Matrix Control
« on: November 27, 2016, 11:28:08 PM »
Hi, Archie
I have added 3 files to PurchasedControls, and set BuildAction to Embedded Resource  at xml file, but when i rebuild i had some errors.
here i give the attachment.

7
Support Questions / Re: AHMI connect to Omron CP1E using USB cable?
« on: November 23, 2016, 05:07:22 AM »
You should be able to control 100.00 directly, but you will need to remove it from your ladder program. Otherwise the HMI will set the value, but the ladder program will immediately overwrite it.

Ok thanks Archie for your help and support, i really appreciate your work on AHMI.

If you take a look at the picture in this post:

http://advancedhmi.com/forum/index.php?topic=1501.msg8021#msg8021

it shows both direct and indirect control of the outputs (the logic should be applicable for your PLC as well).

thanks Godra

8
Support Questions / Re: AHMI connect to Omron CP1E using USB cable?
« on: November 22, 2016, 10:26:31 PM »
in my PLC 100.00 is output coil, i controlled it with W0.00 as input to 100.00, is it possible to control 100.00 directly from MomentaryButton(PLCAddressValue=100.00) ?
here i give attachment of my ladder program.
 
but this is just my opinion:
i think PLC doesn't allow direct access to output coils because it will cause unconsistency in ladder program as output coils always need input (just like in my ladder program).

9
Support Questions / Re: AHMI connect to Omron CP1E using USB cable?
« on: November 21, 2016, 10:59:55 PM »
I did some testing with the serial FINS driver and it would not work at all for me. There is a patch 5 that corrects the problem.:

https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/Patches

- Download and extract Patch 5 V399r
- Copy the extracted file to AdvancedHMIDrivers\Support and replace the existing file
- Rebuild the solution

Try again to see if you still have the problem.

wonderful! you've solved my problem Archie, thank you, now i can read output coils, input registers and write output register.

so i continued my project and found this fact: can not write directly to output coils (100.00-100.04), i'm wondering if Omron PLC doesn't allow it naturally, is it true ?

10
Support Questions / Re: AHMI connect to Omron CP1E using USB cable?
« on: November 21, 2016, 03:08:28 AM »
now i'm trying to connect using built in RS232 through USB to Serial converter cable. i'm using OmronSerialFINSCom1 driver.

it works, i can write PLC's works bit (W.00-W0.04), but i can not read output coils (100.00-100.04) and analog input register (90)

11
Support Questions / Re: AHMI connect to Omron CP1E using USB cable?
« on: November 16, 2016, 09:23:18 PM »
thanks Archie :), hope someday AHMI will have driver support to USB connection

12
Support Questions / AHMI connect to Omron CP1E using USB cable?
« on: November 11, 2016, 03:23:46 AM »
Hi anyone,
please help me to connect AHMI to Omron PLC CP1E-NA20DR-A using USB cable.
i have tried with AHMI's driver OmronSerialHostLinkCom1 but it doesn't work.

my project is simple, the momentary pushbutton on AHMI will turn "physical lamp" ON and display it's status back to AHMI.

Pages: [1]