Sign in to follow this  
Followers 0
Frans van Enschot

Beckhoff 2.11 simulation mode

5 posts in this topic

All,

When i work with a 2.11 IDE from beckhoff in simulation mode i must everytime when i change a input give a write commando.

I think it must be possible that the outputs changed automaticly when i give or change an input.

What do i wrong??

best regards

Frans

Share this post


Link to post
Share on other sites

You have to program that in the PLCControl... once you have it programmed then it will work.

 

Could you explain that a little bit more?

Share this post


Link to post
Share on other sites

Hi Joan,

What i mean is the following.

I have write a program in ladder.

I put the program in simulation mode.

after i click on an input i expected that the output that act on that input wil react directly.

Now i must before the output react on the switch give every time a write commando.

i think that is not normal. 

Share this post


Link to post
Share on other sites

I don't know if I understand you (sorry, my English is not my best)...

But in CodeSys (and of course in TwinCAT), when you want to change the value of a bool/bit variable, you click it with the mouse and you can see how the prepared value gets changed.

In order to get the value written or forced to the input this is not enough so you will have to write or force the value.

Keep in mind that if you only write it, at the next scan cycle the value (if it depends on an input) it will be overwritten again, so the recommendation in those cases is usually forcing the variable...

Notice that even if you force a variable, if during your code you change it's value the force will be lost until the next scan cycle happens.

Hope this helps.

 

Share this post


Link to post
Share on other sites

Thanks Joan, that is wat i want know. Always to commando's. select first and then write or forced.

It is much easier by other plc's

there you can click the switch and the output changed directly.

I could believe that i needed two commands.

thanks for your help

frans

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
Sign in to follow this  
Followers 0