Bosch 6000 User's Guide Page 223

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 222
208
6000 Series Programmer's Guide
cycle length is less than the current master cycle position, the new master cycle position
becomes equal to the old cycle position minus one or more multiples of the new cycle length.
Example
Code
FMCLEN23,10,12,22 ; Set master cycle length for all four axes:
; (axis 1: 23 units; axis 2: 10 units;
; axis 3: 12 units; and axis 4: 22 units)
Restart Master Cycle
Counting (FMCNEW or
TRGFNcx1xxxxxx)
Once the length of the master cycle has been specified with the FMCLEN command, master
cycle counting may be restarted immediately with the FMCNEW command, or based on
activating a trigger input as specified with the TRGFNcx1xxxxxx command. The new
master cycle count is started at an initial position specified with the FMCP command (see
below).
When the TRGFNcx1 command is used, the restart of master cycle counting is pending
activation of the specified trigger. If an FMCNEW command is issued while waiting for the
specified trigger to activate, counting is restarted immediately with the FMCNEW command,
and the TRGFNcx1xxxxxx command is canceled.
When using TRGFNcx1xxxxxx
Before the TRGFN command can be used, you must first assign the trigger interrupt function
to the specified trigger input with the INFNCi-H command, where “i” is the input number of
the trigger input desired for the function (input bit assignments vary by product).
Because the 6000 controller program will not wait for the trigger to occur before continuing
on with normal program execution, a WAIT or GOWHEN condition based on PMAS will not
evaluate true if the restart of master cycle counting is pending the activation of a trigger.
To halt program operation, the WAIT command can be used.
A new master cycle will restart automatically when the total master cycle length (FMCLEN value)
is reached. This is useful in continuous feed applications.
Example
Code
FMCNEW11xx ; Restart new master cycle counting on axes 1 and 2
INFNC26-H ; Assign input #26 (trigger B) the
trigger interrupt
; function (prerequisite to using the TRGFN features)
TRGFNBx1xxxxxx x1 ; When trigger input B (
TRG-B) goes active,
; restart new master cycle counting on axes 1 and 2
Initial Master Cycle
Position (FMCP)
The FMCP command allows you to assign for the first cycle only, an initial master cycle
position to be a value other than zero. When master cycle counting is restarted with the
FMCNEW command or with the trigger specified in the TRGFNcx1 command, the master cycle
position takes the initial value previously specified with the FMCP command. The value for
FMCP is scaled by SCLMAS if scaling is enabled (SCALE1)
FMCP was designed to accommodate situations in which the trigger that restarts master cycle
counting occurs either before the desired cycle start, or somewhere in the middle of what is to
be the first cycle. In the former case, the FMCP value must be negative. The master cycle
position is initialized with that value, and will increase right through zero until it reaches the
master cycle length (FMCLEN). At that point, it will roll over to zero as usual.
The continuous cut-to-length example below illustrates the use of a negative FMCP (a trigger
that senses the motion of the master is physically offset from the master position at which
some action must take place). If it is desired that the first cycle is defined as already partially
complete when master cycle counting is restarted, the FMCP value must be greater than zero,
but less than the master cycle length.
To give a value for FMCP which is greater than master cycle length is meaningless since
master cycle positions are always less than the master cycle length. The 6000 controller
responds to this case as soon as a new master cycle counting begins by using zero instead of
the initial value specified with FMCP.
Page view 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 267 268

Comments to this Manuals

No comments