Jump to content
OMRON Forums

While loop in rotary buffer


wbzhong

Recommended Posts

Hi, I am using the rotary buffer to run a large program file. I found the rotary buffer does not support while loop when initializing the buffer.

For example, run the scripts in the terminal:

&1 open prog 0
P0=0
while(P0<10){
P0+=1
}
close

PMAC reports "error #31: missing }: while(P0<10){"

However, the fixed buffer is fine.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.


×
×
  • Create New...