Jump to content
Sign in to follow this  
Marco G

Software to remotely control a PLC

Recommended Posts

Hello,

 

If someone has already asked this, i'm sorry, i checked the forum but didn't find anything.

 

I'm currently busy with a combinations of machines that each have their own PLC and communicate with eachother. This part is figured out, we let the machines communicate using WIFI (2 of the 3 machines need to be able to drive around). 

However, what remains is the software to tell the machines what to do. 

 

The operator of the machines should be able to just choose the type(s) of food, the amount in kg's of each food and where it has to be taken to by the last machine. He has to be able to schedule the task and be able to schedule several tasks. 

 

i tried a lot of googling, but either i'm searching in the wrong places or using the wrong keywords or something, cause i can not find usefull information. 

So i was wondering, can any of you help me get started? I expected to have to write software for this in VB, but i understand that it should also be possible to do this in Excel? 

Share this post


Link to post
Share on other sites

You can use the free Unitronics OPC server and access PLC registers from Excel or VB.  Excel would initially be easier, and you can write VBA macros to control views and handle the data you're looking for.  Google "OPC Excel" or "OPC VB" for some ideas on how to get started.

 

 

 

Joe T.

Share this post


Link to post
Share on other sites

Thanks, 

We decided to go and use Visual Basic as we want as little software to be needed as possible. 

How about the own .net drivers from Unitronics? my knowledge of PLC's is little, as i just started working with them. From what i understand, they use a table to control the I/0 devices attached to the plc.

Do you have any handles for me on how to convert a textbox filled by the user(with for example a weight of 100kg) thus that it can be send to the plc?

I thought the textboxes have to be saved to a .CSV which can somehow be send to the PLC (which can then convert it). 

Share this post


Link to post
Share on other sites

If you're going to write a VB program you can definitely use the .NET driver.  I'd download the driver, look through the documentation, and then read the posts on the .NET forum.

 

The data in the PLC is mostly 16 bit signed integers and bits.  The .NET driver will be able to write the values directly.

 

Joe T.

Share this post


Link to post
Share on other sites

I think the best way is to let the application create a CSV that is then send by the app to the main PLC. Luckily, The data needed for the plc consists only of numbers(Weight and locations) so it should be relatively easy to convert to csv. but How?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...