General Category > Application Showcase

Sample App New Multistate with Designer and import/export

<< < (2/13) > >>

oqapsking:
what i mean by instructions is

i am using 4 delta plcs in my project all using modbustcb
so how should i configure ur project
to work with myne
i mean i am gonna move my project inside yours so i can use your controls
( audit , alarm , history , users ,the new modified controls u add to it...)

and one more thing
the ( Who Am I Selection ')
what is it ?

NOTE " MY PROJECT IS WORKING FINE BUT I WANT TO USE YOUR CONTROLS BECAUSE THEY LOOK AND WORK MORE PROFESSIONAL AND I DON`T HAVE DATABASE IN MY PROJECT OR KNOW HOW TO DO IT YET )
with thanks

Phrog30:

--- Quote from: oqapsking on June 27, 2018, 06:06:30 AM ---so how should i configure ur project to work with myne
i mean i am gonna move my project inside yours so i can use your controls
( audit , alarm , history , users ,the new modified controls u add to it...)

--- End quote ---

I can't answer that, not enough information... not sure about your project and your goals.  Personally, I would merge into Archie's latest beta.  I tried to make it easy by putting all of my stuff inside of a folder, just copy and paste.  Last time I updated it only took 2-3 minutes.


--- Quote from: oqapsking on June 27, 2018, 06:06:30 AM ---and one more thing
the ( Who Am I Selection ')
what is it ?

--- End quote ---

This is a remnant of a feature from another project that I left in.  You should probably delete it,

--- Code: ---Public Shared Who_Am_I As Integer
--- End code ---
in Class/Globals, then go and delete all of the errors reference.

This was a means to control zones or nodes.  For example, we had 2 HMIs running the same program, but I didn't want the operator to be able to do the same things on each.  Our alarms had a property for zones, which allowed me to show certain alarms for certain zones and allow certain zones to silence or reset alarms.  I could also add a property to a basicbutton, for example, and prevent operation unless in that zone.  Just remember, this sample app I posted was part of a larger application, I tried to delete all non-relevant items, but I'm sure I missed a few.

The goal of the original post was for multistate, it was just to show the control, not really meant to show the whole app.  I included the entire app just to make it easier for people to run it.

I'm working on several projects so I really don't have time to write out detailed instructions on this stuff.  Just do your best and come back with a question or two and I will try and help.  Godra has been very good lately about giving help, so I'm not the only one that can help.  My point, someone should be able to help you.

James

Edit: I can't promise anything, but if you can send me your project I could try and merge files for you.  It depends on several factors.  One thing to answer, how do you have alarm triggers?  My app is really designed for arrays.  So, you will need to decide on triggers.  My app can do alarm descriptions from both a local file, or strings from a PLC, but I never tested with Modbus, so I would just stick to local.  That is easy to do, I can show you if necessary.

Godra:
oqapsking,

James offered to possibly do it for you so don't hesitate to send your project to him (if anybody can do it accurate and fast enough it would be James).

Make sure to refine your project and provide all the details so James doesn't waste to much time deciphering it.

Otherwise, doing it bit by bit will be a huge waste of your and everybody else's time.

oqapsking:
thanks guys what i need in my project i already used ctrlbasicbutton the one that u made
so what i need is only to make the connection status for my 4 plc
but i can`t find where to chose its com component and the alarms too
and how to make it read the alarms and audit it for multiple com components
my project is simple but full with images and i would rather to finish it my self so i will be learning in the process
i liked the idea of the audit
so i can see the alarms the system and the users

for the alarms the way i use it is for example i read the value of register (d100)
each value has a meaning for example from 0 to 20
0 = door1 open
1 = door 2 open
and so on
like u use in ur project
but i cant find the area to choose the com component and the plc address and so on

thanks in advance



Phrog30:
There are four main parents.  I had my reasons for doing this, but will not go into now.  This app gives you the ability to run on 4 monitors, hence 4 parents.  However, only the 1st parent has a ComComponent.  So, open up _0000_1st_Parent, and you will see it.  What you can do is delete that, then look at all of the errors and you can see where I was using it.  But, for alarms open the code for 1st parent (F7), then do find (Ctrl + F), search the current document for TODO.  i used TODO as a reference for where user defined stuff is at.  TODO_1 is alarm quantity, you don't need to use this though, you can simply hard code it.  TODO_2 I think is at 16, change to suit your needs.  If your words are 16 bit, then you are fine.  TODO_5 is the trigger array (there multiple places to edit).  I think the app I shared had 40020i, so what I'm doing is starting i=0 - 400200 and going to alarm quantity, let's say for example 3, so 400200, 400201, 400202 (Qty is base 0).  I shove those addresses in a datasubscriber.  TODO_6 is alarm descriptions, you can just comment that out.  You can comment out TODO_8 stuff.

I'm rushed for time, so hopefully that little bit helps...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version