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

Posted

such as this,

X12.293460Z0.171288S50.123
X12.293463Z0.171177S50.234
X12.293466Z0.171052S50.456
X12.293470Z0.170915S50.678
X12.293474Z0.170765S50.789
X12.293479Z0.170602S51.123
X12.293484Z0.170426S52.123
X12.293490Z0.170237S53.123

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

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?

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