09.95 12 Functional Descriptions
12.19.5 Interpolation and compensation with tables
3. IKA configuration [ika1 data] :
N0150 @40c K1 K2 K1 - IKA 2 uses curve 1
N0155 @40c K40 K2 K1 - Activate extended IKA
N0160 @40c K43 K2 K1 - Cubic interpolation on
- Definition of input A :
N0165 @40c K20 K2 K102 Type : Feedrate axis actual value
N0170 @40c K2 K2 K1 No. : 1 [=X]
- Definition of the output :
N0175 @40c K33 K2 K101 Type : Feedrate axis set position
N0180 @40c K3 K2 K2 No. : 2 [=Y]
- Input B=R20 implemented as scaling
N0181 R20=1000 with: R20 = 1000 <-> factor = 1
- Definition of input B :
N0182 @40c K26 K2 K411 Type : R parameter channel 1
N0183 @40c K25 K2 K20 No.: 20
- Limitations :
N0185 @40c K31 K2 K500000 Maximum traversing range + -500 mm
N0190 @40c K32 K2 K-500000
N0195 @40c K34 K2 K2000 Modification limitation : 2000 units/IPO
cycle with IPO cycle of 16 ms : 7500 mm/min
- Weighting I/O :
N0200 @40c K18 K2 K5 Weighting input : 5/7
N0205 @40c K19 K2 K7
N0210 @40c K4 K2 K16 Weighting output : 16/3000
N0215 @40c K30 K2 K3000 [note scaling factor R20 !]
[R20=1000 produces 16/3]
- Modulo function and shift :
N0220 @40c K16 K2 K360000 Weighted input A modulo 360
N0225 @40c K15 K2 K-90000 Shift input by -90 degrees
to obtain a cosine
therefore Y = Y0+16/3 * SIN[5/7*X-90]
= Y0+16/3 * COS[5/7*X]
4. Approach, activation and machining :
N0235 G0 X252 Y100 - Approach starting point: 7/5*180=252
@714
N0240 @40c K11 K2 K1 - Activate IKA 2
N0241 G4 X1.8 - Wait until start point is reached
N0245 G1 X0 F1000 - Machining
@714
© Siemens AG 1992 All Rights Reserved 6FC5197- AA50
12–197
SINUMERIK 840C (IA)