onboardx

Gx Works 2 Program Executing

6 posts in this topic

Hi. I explained my issue on the picture..Thank you..

 

 

1.jpg

Share this post


Link to post
Share on other sites

Probably the most common and simplest way to do it would be to nest each program in a master control which is enabled by the bit you require.

e.g.

(b_TESTMODE)------[MC N1 M0]

|

your program

|

--------------[MCR N1]

--------------[END]

Share this post


Link to post
Share on other sites

See the scan options up top?  That tells me this is newer PLC like Q Series or L Series.

What I would do is write a main program, and in that main program, write function blocks to start and stop the other programs.  Leave all the programs other than the main one as no execution type, and make the main program a scan program.

Been out of the Mits world for a couple years, forget the name of the functions to start and stop programs.

Share this post


Link to post
Share on other sites

Why don't you us the program control instruction PSTOP, POFF,PSCAN,PLOW,PCHK crossbow is mentioning

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now