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 - sunny

Pages: [1] 2
1
Additional Components / Re: Stack Light
« on: May 02, 2017, 02:53:07 PM »
I changed the stacklight control a bit. Now You can have 5 lights and with all off them you can choose out of 6 colors.
Namely red, green, amber, yellow, white and blue.
Download these files and the image files from above. Then first delete the stacklight control from the controls folder. Than go to the AdvancedHMIControls project and then go to add -> existing item. And add the two files.
For the three images. You should do this.

In Solution Explorer, right click the AdvancedHMIControls project and select Properties
- In the Project Properties select the Resources tab
- Select Add Resource->Add Existing file
- Browse to and select the 3 image files

After thet rebuild and done.
When you like to use the stacklight use the "StackLightHMI_5Pos" from the toolbox.
I hope it will be of any use to someone.

2
Support Questions / Re: Change stacklight
« on: April 16, 2017, 09:49:51 AM »
I am yusing the "stacklight2" control to try and modify it to my needs. The "stacklight2" control has 4 positions (if you buy a stacklight it can have up to 5 positions). And in this control every color has his fixed position. I want to try and make the control that you can change the color of all the positions in what you want. (you can buy white, blue, green, yellow, red, amber and a beeper). But it looks like that the control is drawn wrong if I change the white light.
I hope someone can help me.

3
Support Questions / Change stacklight
« on: April 14, 2017, 02:34:47 PM »
Hello all,

I am trying to change the stacklightcontrol in this post:

http://advancedhmi.com/forum/index.php?topic=1676.0

I have now 5 positions and one position I can change the color.
The thing is now that if I sellect the control from the toolbox you can see all 5 postions (so far so good) If I change the fifth position to either "none" of an other color the fift position goes away (stil good).
But if al resellect it it should be enabled again and that is not going oke. I have noticed that it looks like it is enabling but the whole stacklight is drawn wrong the lowest position is now over the base.
I have looked in the code but I can't find anything. I am a complete beginner with VB so it is not so easy for me. I hope that someone can have a look at it.

I have attached the control that i am working on.

Thanks in advance

4
Additional Components / Re: Stack Light
« on: March 12, 2017, 03:39:36 PM »
Thanks verry much. I went to the wrong resorces map. Now it is working like a charm.

5
Additional Components / Re: Stack Light
« on: March 12, 2017, 03:09:11 PM »
Hi

I gave it a go but I get 40 errors. Is there someting I misted??

6
Open Discussion / Re: making a stacklight
« on: March 12, 2017, 02:48:38 PM »
Thanks Archie for the quick reply. I will give it a go. See how far I come.

7
Open Discussion / making a stacklight
« on: March 11, 2017, 03:13:20 PM »
Hi everyone

I have no experiance with VB, but I have a question. Is it doable to expand the stacklight to 5 lights (because that is how you can buy them with 5 positions) and use a list box so you can choose the color that you want (I think you can buy them in Blue, Red, Green, Amber and White).

Thanks for any answers

8
Hi Archie

Thanks for the reply. I understand that that driver is resonably obsolete. But it is for a hobby PLC at home.
I hope that you can fix some of the problems

9
Hi All

I continued this project I was working on. Now I use version 3.99. But it looks like I have still the same problems with OmronSerialHostLinkCom1. Can someone help me or have an example maby I am doing something wrong.

regards

10
Support Questions / Re: How to use modbus tcp
« on: June 14, 2015, 04:00:06 PM »
Hi Archie

Thanks for the quick reply. I was trying to set the setpoint of the temp controler. So I gues that is only possible with that bit of code that you wrote.
If I want to set a bit in the holding register yousing a basicbutton that will write a value that is fine with me.

11
Support Questions / Re: How to use modbus tcp
« on: June 14, 2015, 04:17:05 AM »
The modbus comunication is now working. I can read inputs (1xxxx). I can read / write outputs (0xxxx). I can read write from the holding registers (4xxxxx). But if I want to read or write single bits from the holding register it does not do enything. In the plc I use a array of bool. Maybe that is wrong I can't figure it out. Can someone help me??

ragards

12
Support Questions / How to use modbus tcp
« on: June 02, 2015, 04:36:34 PM »
Hi All

I like to learn about communication with modbus tcp. I have zero experiance with that. I have a Siemens S7-1200 plc ad home. I have red here on te forum that some of you did some work with modbus tcp and a S7-1200. My question is does someone has an example program or somthint to get me going. Because I don't have a clou where to start.
thanks in advance

13
Support Questions / Re: omron with hostlink driver
« on: May 02, 2015, 02:31:32 PM »
Hi Archie

Thanks for all the work. I will try it during next week. (if I can find the time somewhere).
Greetings Marcel

14
Hi Archie

I have not tried the FINS driver yet, because this plc does no support FINS commands.
I am completely new to VB and ahmi. So I first wanted to test this driver and understand how everything works befor I was going to try something else.
greetings Marcel

15
Hi,

I am working on a project with a omron PLC. It is a CPM1 and I am using the OmronSerialHostLinkCom1 driver.
I use 2 DM words for the inputs. If I use 2 Annunciators to view for exaple D0.00 and D0.01 and turn only D0.00 true, than both of them light up. But on the label I put in to read the whole D0 word I see the correct value. And I can only read one word. If I put another annunciator on the mainform that reads D1.00 it wil do nothing. Unless I delete the first two annunciators.
When I want to wright it is pretty much the same thing. If I put two BasicButtons on the mainform and try to wright to D2.00 and D2.01. I can only see that D2.00 is doing something.

With regards Marcel

Pages: [1] 2