Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
233
Special Motion Commands
4
4.1 Approaching coded positions (CAC, CIC, CDC, CACP, CACN)
Function
You can traverse linear and rotary axes via position numbers to fixed axis positions saved in
machine data tables using the following commands. This type of programming is called
"approach coded positions".
Syntax
CAC(<n>)
CIC(<n>)
CACP(<n>)
CACN(<n>)
Significance
CAC(<n>)
Approach coded position from position number n
CIC(<n>)
Starting from the actual position number, approach the coded position n
position locations before (+n) or back (–n)
CDC(<n>)
Approach the position from position number n along the shortest path
(only for rotary axes)
CACP(<n>)
Approach coded position from position number n in the positive direction
(only for rotary axes)
CACN(<n>)
Approach coded position from position number n in the negative direction
(only for rotary axes)
<n>
Position number within the machine data table
Value range: 0, 1, … (max. number of table locations - 1)
Example: Approach coded positions of a positioning axis
Programming code Comments
N10 FA[B]=300 ; Feedrate for positioning axis B
N20 POS[B]=CAC(10) ; Approach coded position from position number 10
N30 POS[B]=CIC(-4) ; Approach coded position from "current position
number" - 4
References
● Function Manual Expanded Functions; Indexing Axes (T1)
● Function Manual, Synchronized Actions