Relevant regulations for the programming of CNC machine tools (2)


(2) Coordinate function word. The coordinate function word (also known as the size word) is used to set the displacement of each coordinate of the machine. It generally uses X, Y, Z, U, V, W, P, Q, R, A, B, C, D, E and other address characters as the first, followed by the address character followed by "+" (positive) or " —” (negative) and a string of numbers, usually in units of system pulse equivalents, without the use of a decimal point. When there are multiple size words in a block, they are generally arranged in the order of the above address characters.

(3) Feed function word. The feed function word is used to specify the speed at which the tool moves relative to the workpiece. Its unit is generally mm/min. When the feed speed is related to the spindle speed, such as threading, tapping, etc., the unit used is mm/r. The feed function word is preceded by the address character "F" followed by a string of numeric codes. Specifically, there are several ways to specify:

1 Three-digit code method: F followed by three digits, the first digit is the integer digit of the feedrate plus "3", the last two digits are the first two significant digits of the feedrate. For example, the feed rate of 1728 mm/min is specified by F717; the feed rate of 15.25 mm/min is specified by F515; the feed rate of 0.1537 mm/min is specified by F315.

2 Two-digit code method: For the two-digit code followed by F, the speed table corresponding to 00-99 is specified. Except for 00 and 99, when the digital code is incremented from 01 to 98, the speed is increased by the proportional relationship. of. The 20th root of the scale factor is 10 ( ≈ 1.12), that is, the adjacent rear speed is increased by about 12% from the previous speed. For example, F20 is 10mm/min, F21 is 11.2 mm/min, F54 is 50 mm/min, and F55 is 560 mm/min. The feed rate comparison relationship of F00-F99 is shown in Table 2.

Table 2 Two-digit digital feed rate comparison table mm/min

Code

speed

Code

speed

Code

speed

Code

speed

Code

speed

00

stop

20

10.0

40

100

60

1000

80

10000

01

1.12

twenty one

11.2

41

112

61

1120

81

11200

02

1.25

twenty two

12.5

42

125

62

1250

82

12500

03

1.40

twenty three

14.0

43

140

63

1400

83

14000

04

1.60

twenty four

16.0

44

160

64

1600

84

16000

05

1.80

25

18.0

45

180

65

1800

85

18000

06

2.00

26

20.0

46

200

66

2000

86

20000

07

2.24

27

22.4

47

224

67

2240

87

22400

08

2.50

28

25.0

48

250

68

2500

88

25000

09

2.80

29

28.0

49

280

69

2800

89

28000

10

3.15

30

31.5

50

315

70

3150

90

31500

11

3.55

31

35.5

51

355

71

3550

91

35500

12

4.00

32

40.0

52

400

72

4000

92

40000

13

4.50

33

45.0

53

450

73

4500

93

45000

14

5.00

34

50.0

54

500

74

4500

94

50000

15

5.60

35

56.0

55

560

75

5600

95

56000

16

6.30

36

63.0

56

630

76

6300

96

63000

17

7.10

37

71.0

57

710

77

7100

97

71000

18

8.00

38

80.0

58

800

78

8000

98

80000

19

9.00

39

90.0

59

900

79

9000

99

high speed

3 One-digit code method: For CNC machines with less speed, F can be followed by a digit, ie 0-9, corresponding to 10 predetermined speeds.

4 Direct specification method: Just like the coordinate displacement in the dimension word, write the required feedrate directly after F in the predetermined unit.

(4) Spindle speed function word. The spindle speed function word is used to specify the spindle speed in r/min, which is preceded by the address character S followed by a string of numbers. It can use the three-digit, two-digit, one-digit code method or direct designation method as the F-first feed function word. The meaning of the numbers, the division method and the comparison table are common to the feed function word. Just change the unit to r/min.

(5) Tool function word. When the system has a tool change function, the tool function word is used to select the replacement tool. The tool function word is headed by the address character T, and is usually followed by two digits, representing the tool number.

(6) Auxiliary function word. The auxiliary function word is preceded by the address M, followed by two digits (M00-M99). The provisions of the ISO1056 standard for the auxiliary function M are shown in Table 3. This table is equivalent to the provisions of the M-function in China's standard JB3208-83. These auxiliary functions include: specifying the steering and starting and stopping of the main shaft; specifying the opening and stopping of the system coolant; specifying the clamping and loosening of the machine; specifying the fixed straight line and angular displacement of the table; etc.; indicating that the program stops or the tape ends, etc. . Some auxiliary functions not specified in the standard can be selected for special purposes. When designing a machine tool numerical control system, select some of the auxiliary function codes required by the system in the M code specified by the standard as the basis for the part of the circuit design and future programming.

Previous page next page

Chemical Pump

Chemical Pump,Chemical Dosing Pump,Chemical Transfer Pump,Chemical Injection Pump

Hengshui Yuanhan Trading Co.,Ltd , https://www.hengshuiyuanhanpump.com