General Category > EasyPLC v.4.x

Console Configurator

(1/2) > >>

Is there a way to style the message box border in the console configurator?
I want to be able to have an optional label on equipment shown in the console.
I have managed to work this out by having message boxes as labels, but the borders are ugly and unnecessary in this application.

Also, I can only get the console to work if it is in the console directory. Is this intended?

I have attached the program and console program which is a simple mimic of track circuits in a signalling system at the moment, with controls for occupancy of the track circuits.

I am very excited at using IPAC with EasyPLC 64 inputs for not very much spend, do you think it will work well with EasyPLC?

Thanks for a great program. I need to get this simulation working, then I can justify the spend to my boss to buy the program.


[attachment deleted by admin]

No, for the moment is not possible to style the message box control in the console, you can only change the height, width, backcolor and font properties.

You can use labels easily, in the label's text property you can type [Dx] then the label's text will be replaced by the content of the plc data stack number x. For example if you insert in the console a new label and type in the text property [D5], then when the PLC pass to run mode and shows the console in the label you will see the content of the data stack element number 5 (remember that the data stacks elements can be numbers or text).

Yes, the console files ALWAYS must reside in the EasyPLC Console folder, this is not configurable.

As I have seen the IPAC device is a Keyboard emulator, then you must be able to manage it with the Key control of EasyPLC contacts.

Feel free to have any questions, if you still have doubts.


Thanks for the quick response. I really like the console creator, I just wish that there were more options available to me.
I need a button that will respond differently to right mouse click and left mouse click is this possible?
I also really need to be able to make a picture act as a button whilst not looking like one.
Would it be possible in the future to have common objects that you would find on a panel like switches, buttons and indication lamps built in as common objects? Or the facility to be able to create them?

My main need at the moment is for a picture to act as a 3 position switch (pressed, middle, pulled) without having to have seperate buttons for that purpose.

I think the IPAC is a great idea, but on counting I need 52 outputs, so I will end up buying phidgets for this I think which will give me the 16 inputs that I need.

I'll submit a program again when I have something more meaningful.

For all the users that need advanced HMI functions, a solution was created, the HumanInterface External Library, this component allows to customize totally your console, but the programming must be done by code, I will try to send you an example of how to use for your specific needs. Any way you can see how it works in the tutorial EasyPLC example program called Sample_Ext_1.

I'm attach the example I tell you before, here the HumanInterface External library is used to create a customized console window.
See how the picture box is used like a button, when you press on it the image changes, then I think you can use it like you want (switch with 3 positions) you only need to copy the image files (switch positions) on the EasyPLC Grafs folder and change the code to assing this files when the mouse click on the picture.

For the moment is not possible to read a right click on one command button, but I will analize if there possible to apply some trick to solve this option.

Its a good idea the possibility to have a library of objects as you told me, I will study the possibility to add in next releases. Anyway I think the HumanInterface External library can provide this behaviour (with a little bit of work!!! :))


[attachment deleted by admin]


[0] Message Index

[#] Next page

Go to full version