Jump to content
OMRON Forums

Recommended Posts

Posted

What is the cause of this error, I checked the manual and said that it was Error in synchronous variable assignment buffer, but I don't know what I did to cause this error? Could you please help me take a look

Posted (edited)
1 hour ago, Unicornai said:

about M1==180000 it will come,the syncbuffererror

error prop.pmc 8.41 MB · 0 downloads

Please do not use synchronous M variables as line numbers in Power PMAC.
In Power PMAC, use Coord[x].Nsync to retrieve the line number.
In the program, you need to add N{data} X{data} Y{data}, and be careful not to add a : after N{data}.

Frequent use of synchronous M variable operations may lead to buffer overflow.

Edited by MoMo
Posted

because my hmi need Mvariables to mark  How many lines did the NC program run, And then use this line number to show the program on the HMI where it ran to? If this doesn't work, is there any other way to do it?

Posted
15 hours ago, leandro.martins said:

你可以让 M1 指向 Coord[x]。NSync 的
 

M1->Coord[1].Nsync

 

So i need send m1->coord[1].nsync to pmac,and then i run this prog it will not appear this error(syncbuffererror)?

Posted (edited)

[EDIT] Remove ":" after "N{data}", as noted by MoMo.

As MoMo said, you have to substitute M1=={data} by N{data} or your motion program, and this is the probable fix for the issue.
Making M1 point to Coord[x].Nsync is required because your HMI depends on that.

So assuming that the synchronous assignment is the only issue, the error should go away doing theses steps.

Edited by leandro.martins
Posted
21 hours ago, leandro.martins said:

As MoMo said, you have to substitute M1=={data} by N{data}: or your motion program, and this is the probable fix for the issue.
Making M1 point to Coord[x].Nsync is required because your HMI depends on that.

So assuming that the synchronous assignment is the only issue, the error should go away doing theses steps.

N{data}: do not include :

the line numbers with : are used for jump.

  • Thanks 1

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...