INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Control via OPC

Control via OPC

(OP)
Hi,

I want to remotely control program cyclic execution over OPC. My goal is next: If a PLC variable which is controled via OPC change to defined value program must "stop". B&R PLC is used. How to do that?

Best regards,
Stevan

RE: Control via OPC

Step 1: In the PLC, if the variable changes to the defined value turn on a bit/flag
Step 2: When flag is set turn off the bits of code you don't want to run

In some PLC's you can deactivate whole programs at a time by setting a bit. Sometimes you can change the PLC state by setting a controller bit. If you can't do any of this, I would suggest maybe doing something like turning all outputs off when the flag is set (and any other parts of the program that you don't want to run). Not the most elegant solution though, could be quite a lot of programming.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close