Jump to content
OMRON Forums

I want use S-code to change Spindle speed in my program,but It doesn't look like it's working


Recommended Posts

such as this,


Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

The S{data} command causes Power PMAC to load the value in {data} into the local variable D53 for the coordinate system executing the program. It takes no other action, unless Coord[x].Sprog (default is zero) is set to a value greater than zero to specify a subprogram call on this command. If Coord[x].Sprog is set to a value greater than 0 when this command is executed, then after setting D53 to the value of {data}, the subprogram whose number is specified by Coord[x].Sprog is called. If the specified subprogram has a numeric jump label with a value 1000 times that of {data}, the subprogram execution will start at that label. If it does not have a jump label with this value, the subprogram execution will start at the top and the value in D53 could be used. This is distinct from S{data} information passed as part of a subroutine call through a read(S) command; in that form, the value is placed in local variable D19 for the coordinate system.

Which method are you implementing?

Link to comment
Share on other sites

Join the conversation

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

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