CNC 기계
Okuma CNC 밀링 머신에서 작업하는 CNC 기계 기술자를 위한 전체 Okuma Mill G 및 M 코드 목록입니다.
오쿠마 밀 OSP-P200M
| G 코드 | 설명 |
|---|---|
| G00 | 포지셔닝 |
| G01 | 선형 보간 |
| G02 | 원호 보간 – 헬리컬 절단(CW) |
| G03 | 원형 보간 – 헬리컬 커팅(CCW) |
| G04 | 드웰 |
| G09 | 정위치 |
| G10 | G11 취소 |
| G11 | 좌표계의 평행 및 회전 이동 |
| G14 | 축 이름 지정 |
| G15 | 작업 좌표계 선택(Modal) |
| G16 | 작업 좌표계 선택(One-shot) |
| G17 | 평면 선택:XY |
| G18 | 평면 선택:ZX |
| G19 | 평면 선택:YZ |
| G20 | 인치 입력 확인 |
| G21 | 측정항목 입력 확인 |
| G22 | 프로그래밍 가능한 스트로크 제한 ON |
| G23 | 프로그래밍 가능한 스트로크 제한 취소 |
| G30 | 홈 포지션에 위치 |
| G31 | 건너뛰기 기능 |
| G33 | 나사 절삭의 고정되지 않은 주기 |
| G37 | G38 취소 |
| G38 | 에어 컷 감소 모드 ON |
| G39 | 코너 원형 보간(벡터 포함)에서 I, J, K 명령 및 G39 무시 |
| G40 | 커터 반경 보정(G41, G42) 취소 |
| G41 | 커터 반경 보정, 좌측 |
| G42 | 커터 반경 보정, 우측 |
| G43 | 3D 오프셋(G44) 취소 |
| G44 | 3D 오프셋 켜짐 |
| G50 | 지오메트리 취소 확대 및 축소 |
| G51 | 도형 확대 및 축소 "ON" |
| G53 | 공구 길이 오프셋 취소 |
| G54 | 공구 길이 오프셋, X축 |
| G55 | 공구 길이 오프셋, Y축 |
| G56 | 공구 길이 오프셋, Z축 |
| G57 | 공구 길이 오프셋, 4축 |
| G58 | 공구 길이 오프셋, 5축 |
| G59 | 공구 길이 오프셋, 6번째 축 |
| G60 | 단방향 포지셔닝 |
| G61 | 정위치 정지 모드 ON |
| G62 | 프로그래밍 가능한 미러 이미지 모드 |
| G64 | 절단 모드 켜짐 |
| G68 | 슬로프 좌표 OFF |
| G69 | 슬로프 좌표 ON |
| G71 | M53의 리턴 레벨 지정 |
| G72 | 좌표 계산 기능을 위한 패턴 기준점(시작 위치) 지정 |
| G73 | 고정 주기, 고속 드릴링 주기 |
| G74 | 고정 주기, 역 태핑 주기 |
| G75 | 고정주기; 단계 및 선택 주기 |
| G76 | 고정 주기, 정밀 보링 |
| G79 | 고정주기; 가변 피치 주기 |
| G80 | 고정 주기, 모달 취소 |
| G81 | 고정주기; 스팟 보링 |
| G82 | 고정주기; 카운터 보링 |
| G83 | 고정 주기, 심공 드릴링 주기 |
| G84 | 고정주기, 태핑주기 |
| G85 | 고정주기, 보링주기 |
| G86 | 고정주기, 보링주기 |
| G87 | 고정주기, 백보링주기 |
| G88 | 고정주기; 다단계 보링 사이클 |
| G89 | 고정주기, 보링주기 |
| G90 | 절대 치수기입 모드 |
| G91 | 증분 치수기입 모드 |
| G92 | 작업 좌표계 설정 |
| G93 | 인버스 타임 피드 |
| G94 | 분당 피드 |
| G95 | 회전당 이송 모드 |
| G96 | 로컬 좌표계 설정 |
| G97 | 좌표 재계산 기능 |
| G100 | G101 ~ G110에 의해 선택된 매크로 MODIN 모드 취소 |
| G101-G110 | G 코드 매크로 MODIN 유형 |
| G111-G120 | G 코드 매크로 CALL 유형 |
| G130 | 고속 윤곽 제어 OFF |
| G131 | 고속 윤곽 제어 ON |
| G133 | 일정 주변 속도 제어 OFF |
| G134 | 일정 주변 속도 제어 ON |
| G137 | 윤곽 가공 모드 OFF |
| G138 | 윤곽 가공 모드 ON |
| G139 | G00 특수 선형 보간 OFF |
| G140 | G00 특수 선형 보간 ON |
| G141 | 공구 그루빙 OFF |
| G142 | 공구 그루빙 ON |
| G143 | 회전축 위치 명령(Super hi-NC에 의한 회전축 제어) |
| G145 | 패턴 기준점 반환 모드 |
| G146 | 패턴 끝점 반환 모드 |
| G147 | 기계 좌표계 위치 명령 |
| G148 | 컷 기능 끄기 |
| G149 | 컷팅 기능 ON |
| G150 | 자동 가속/감속 ON |
| G151 | 자동 가속/감속 취소 |
| G152 | 자동 가속 |
| G153 | 자동 감속 |
| G154 | 스핀들 경로 제어 OFF |
| G155 | 스핀들 경로 제어 ON |
| G159 | 인포지션 체크 금지 명령 |
| G164 | 터닝 컷에서 연속 원형 이동 정지 명령 |
| G165 | 터닝 컷에서 연속 원형 이동(CW) 시작 명령 |
| G166 | 터닝 컷에서 연속 원형 이동(CCW) 시작 명령 |
| G167 | 로터리 테이블 및 스핀들 제어 OFF |
| G168 | 로터리 테이블 및 스핀들 제어 ON |
| G169 | 절삭날 ON에서 공구 길이 오프셋 |
| G170 | 절삭날 및 축 방향에서 공구 길이 오프셋 취소 |
| G171 | 축 방향 켜짐에서 공구 길이 오프셋 |
| G174 | 원통면 절단 "OFF" |
| G175 | 원통면 절단 "ON" |
| G176 | F, S 코드는 취소 무시 |
| G177 | F, S 코드 무시 |
| G178 | 평면에서 첫 번째 축 방향으로 나사 절삭 주기 고정 |
| G179 | 평면에서 두 번째 축 방향으로 나사 절삭 주기 고정 |
| G180 | 첨부 회전 오프셋 취소 |
| G181 | 첨부 회전 오프셋; 앞으로 |
| G182 | 첨부 회전 오프셋; 왼쪽으로 |
| G183 | 첨부 회전 오프셋; 뒤로 |
| G184 | 첨부 회전 오프셋; 오른쪽으로 |
| G185 | 첨부 회전 오프셋; 하향 |
| G186 | 공차 제어 모드 취소 |
| G187 | 공차 제어 모드 "ON" |
| G188 | 두 번째 공구 길이 오프셋 취소 |
| G189 | 두 번째 공구 길이 오프셋 ON |
| G192 | 고정주기; 윗면 감지 취소 |
| G193 | 고정주기; 윗면 감지 ON |
| G194 | 고정주기; 공구 파손 감지 취소 |
| G195 | 고정주기; 공구 파손 감지 ON |
| G260 | 스핀들 편향 보정 OFF |
| G261 | 스핀들 편향 보정 ON |
| G266 | 리미트 스위치 선택됨 |
| G267 | 리미트 스위치가 선택되지 않음 |
| G272 | 고정주기; 심공 태핑 및 리버스 태핑 |
| G273 | 고정주기; 고속 심공 태핑 및 역 태핑 |
| G274 | 고정주기; 동기 태핑, 리버스 태핑 |
| G281 | 고정주기; 소구경 및 심공 드릴링 |
| G282 | 고정주기; 심공 동기 태핑 |
| G283 | 고정주기; 고속 심공 싱크로 태핑 |
| G284 | 고정주기; 동기화된 탭 |
| G296 | G297 취소 |
| G297 | S command in C-axis mode (S command is regarded as the spindle position.) |
| G300 | G301 to G349 macro MODIN cancel (NC. P. B No. 34 bit 3:1) |
| G336 | I-MAP-A function; Fixed circle cutting cycle (CW) |
| G337 | I-MAP-A function; Fixed circle cutting cycle (CCW) |
| G501-G580 | G code macro changeable between MODIN and CALL |
| M Code | Description |
|---|---|
| M00 | Program stop |
| M01 | Optional stop |
| M02 | End of program |
| M03 | Work spindle start (CW) |
| M04 | Work spindle start (CCW) |
| M05 | Spindle stop |
| M06 | Vertical spindle tool change |
| M07 | Oil mist coolant ON |
| M08 | Coolant pump ON |
| M09 | Coolant system OFF |
| M10 | A-axis clamp |
| M11 | A-axis unclamp |
| M12 | Chip air blow ON |
| M15 | 4th-axis rotary index table CW |
| M16 | 4th-axis rotary index table CCW |
| M17 | Indexing head index CCW |
| M19 | Spindle orientation (forward) |
| M20 | B-axis clamp |
| M21 | B-axis unclamp |
| M22 | Y-axis clamp |
| M23 | Y-axis unclamp |
| M24 | Z-axis clamp |
| M25 | Z-axis unclamp |
| M26 | C-axis clamp |
| M27 | C-axis unclamp |
| M30 | End of tape |
| M32 | Splash guard door close |
| M33 | Splash guard door open |
| M40 | High/middle-high/middle-low/low range |
| M41 | High/middle-high/middle-low range |
| M42 | High/middle-high range |
| M43 | High range |
| M44 | AAC (F) 1 Next attachment clear |
| M45 | AAC (F) 1 Preparation for attachment change preparation |
| M46 | AAC (F) 1 No next attachment |
| M47 | AAC (F) 1 No next attachment |
| M48 | AAC (T) Next attachment clear |
| M49 | AAC (T) Preparation for attachment change preparation |
| M50 | Through-the-tool coolant, low pressure ON |
| M51 | Through-the-tool coolant, high pressure ON |
| M52 | Return level in fixed cycle, Upper limit |
| M53 | Return level in fixed cycle, Specified level |
| M54 | Return level in fixed cycle, Point R level |
| M57 | W-axis clamp |
| M58 | W-axis unclamp |
| M59 | Chip air blow ON |
| M60 | Pallet change command |
| M62 | Vertical spindle tool change preparation |
| M63 | No next tool for ATC |
| M64 | Next tool return cycle |
| M65 | ATC preparation |
| M66 | Continuous tool change between the vertical and horizontal spindles (same tool) |
| M67 | Continuous tool change between the vertical and horizontal spindles (different tool) |
| M68 | Vertical spindle tool clamp |
| M69 | Vertical spindle tool unclamp |
| M70 | Manual tool change |
| M71 | Manual attachment tool change |
| M72 | Horizontal spindle tool change preparation |
| M73 | Swivel head, front position |
| M74 | Swivel head, left position |
| M75 | Swivel head, rear position |
| M76 | Swivel head, right position |
| M77 | Horizontal spindle tool change |
| M78 | Horizontal spindle tool clamp |
| M79 | Horizontal spindle tool unclamp |
| M81 | Automatic W-axis positioning 1 |
| M82 | Automatic W-axis positioning 2 |
| M83 | Automatic W-axis positioning 3 |
| M84 | Automatic W-axis positioning 4 |
| M85 | Automatic W-axis positioning 5 |
| M87 | Oil mist/air blow ON |
| M87 | Oil mist/air blow ON |
| M88 | Dust collector ON |
| M89 | Dust collector OFF |
| M90 | Vertical spindle oil mist cycle mode ON |
| M91 | Tap-drill hole chip air blow cycle mode ON |
| M93 | Thru-spindle coolant at medium pressure/2nd coolant ON |
| M94 | Attachment indexing by forward rotation |
| M95 | Attachment indexing by reverse rotation |
| M98 | Horizontal spindle oil mist cycle mode ON |
| M101 | Pallet 1 selection |
| M102 | Pallet 2 selection |
| M103 | Pallet 3 selection |
| M104 | Pallet 4 selection |
| M105 | Pallet 5 selection |
| M106 | Pallet 6 selection |
| M107 | Pallet 7 selection |
| M108 | Pallet 8 selection |
| M109 | Pallet 9 selection |
| M110 | Pallet 10 selection |
| M111 | Pallet 11 selection |
| M112 | Pallet 12 selection |
| M115 | 5th-axis rotary table CW |
| M116 | 5th-axis rotary table CCW |
| M118 | Spindle orientation (reverse) |
| M119 | Spindle orientation (forward/reverse) |
| M120 | Work shower ON |
| M121 | Attachment air blow ON/Tool nose air blow ON |
| M127 | Touch probe ON |
| M130 | Spindle rotation condition for cutting feed OFF |
| M131 | Spindle rotation condition for cutting feed ON |
| M132 | Single block invalid |
| M133 | Single block valid |
| M134 | Spindle speed override invalid |
| M135 | Spindle speed override valid |
| M136 | Feedrate override invalid |
| M137 | Feedrate override valid |
| M138 | Dry run invalid |
| M139 | Dry run valid |
| M140 | Slide hold invalid |
| M141 | Slide hold valid |
| M142 | Spindle overload detection invalid |
| M143 | Spindle overload detection valid |
| M144 | Touch sensor advance |
| M145 | Touch sensor retract |
| M146 | Work air blow OFF |
| M147 | Work air blow ON |
| M148 | Work clamp (fixture 1) |
| M149 | Work unclamp (fixture 1) |
| M150 | Coolant group specification, Vertical spindle |
| M151 | Coolant group specification, Horizontal spindle |
| M152 | Coolant group specification, 3rd group |
| M153 | Coolant group specification, 4th group |
| M154 | Sensor air blow OFF |
| M155 | Sensor air blow ON |
| M157 | AAC (2 st.), No next tool |
| M158 | AAC (2 st.), Next tool clear |
| M159 | AAC (2 st.), Preparation for the next tool |
| M160 | PPC pallet loading |
| M161 | PPC pallet unloading |
| M163 | Long tool, No next tool |
| M165 | Long tool, Preparation for tool change |
| M166 | ATC active tool return mode specification |
| M170 | AAC (F), Attachment change |
| M171 | AAC (T), Attachment change |
| M172 | Long tool, Tool change command |
| M173 | AAC (2 st.), Attachment change command |
| M176 | Dust collection mode, Air blow |
| M177 | Angular attachment, Tool change |
| M178 | Dust collection mode, ON |
| M179 | Dust collection mode, OFF |
| M181 | External M signal |
| M182 | External M signal |
| M183 | External M signal |
| M184 | External M signal |
| M185 | External M signal |
| M186 | External M signal |
| M187 | External M signal |
| M188 | External M signal |
| M190 | Automatic W-axis positioning 1 |
| M191 | Automatic W-axis positioning 2 |
| M192 | Automatic W-axis positioning 3 |
| M193 | Automatic W-axis positioning 4 |
| M194 | Automatic W-axis positioning 5 |
| M195 | Automatic W-axis positioning 6 |
| M196 | Automatic W-axis positioning 7 |
| M197 | Automatic W-axis positioning 8 |
| M198 | Automatic W-axis positioning 9 |
| M199 | Automatic W-axis positioning 10 |
| M201-M220 | M code macro |
| M230 | Tool length offset direction; Used as it is |
| M231 | Tool length offset direction; Used after reversing the direction |
| M232 | 3D tool length offset direction; Used as it is |
| M233 | 3D tool length offset direction; Reversed and used |
| M234 | Synchronized tapping gear selection:Low, Middle low, Middle high, High |
| M235 | Synchronized tapping gear selection:Middle low, Middle high, High |
| M236 | Synchronized tapping gear selection:Middle high, High |
| M237 | Synchronized tapping gear selection:Middle high, High |
| M238 | Software override invalid |
| M239 | Software override valid |
| M278 | Chip conveyor OFF |
| M279 | Chip conveyor ON |
| M280 | Work counter count up |
| M281 | Work clamp (fixture 2) |
| M282 | Work unclamp (fixture 2) |
| M287 | Work clamp (fixture 3) |
| M288 | Work unclamp (fixture 3) |
| M289 | Pallet identification |
| M292 | Chamfering OFF |
| M293 | Chamfering ON |
| M294 | Fixed compound cycle; Cutting pattern 1 |
| M295 | Fixed compound cycle; Cutting pattern 2 |
| M296 | Fixed compound cycle; Cutting pattern 3 |
| M297 | Thermal deformation amount transfer command |
| M300 | Ignoring Spindle rotation answer |
| M301 | Ignoring M code answer other than spindle rotation |
| M302 | M301 answer confirmation |
| M311 | Robot request 1 |
| M312 | Robot request 2 |
| M313 | Robot request 3 |
| M314 | Robot request 4 |
| M315 | U-axis connection OFF |
| M316 | U-axis connection ON |
| M317 | U-axis air blow OFF |
| M318 | U-axis air blow ON |
| M319 | Operation time transfer command (DNC-C) |
| M320 | Tailstock advance |
| M321 | Tailstock retract |
| M326 | Synchronized tapping monitor OFF |
| M327 | Synchronized tapping monitor ON |
| M328 | Spindle no-tool interlock valid |
| M329 | Spindle no-tool interlock invalid |
| M331 | 6th rotary axis CW |
| M332 | 6th rotary axis CCW |
| M339 | Thru-spindle air blow ON |
| M340 | Work seating monitor ON |
| M341 | Work seating monitor OFF |
| M342 | Work seating confirmation air ON |
| M343 | Work seating confirmation air OFF |
| M346 | B-axis rotation interlock valid |
| M347 | B-axis rotation interlock invalid |
| M351 | AT retraction to MG upper part (MCV-A II simplified 5-face MC) |
| M352 | Adaptor retraction to MG upper part (MCV-A II simplified 5-face MC) |
| M354 | Chip flusher OFF |
| M355 | Chip flusher ON |
| M356 | MG pot swing to tool change position |
| M368 | Mist collector OFF |
| M369 | Mist collector ON |
| M374 | Non-contact sensor; Laser OFF |
| M375 | Non-contact sensor; Laser ON |
| M378 | Coolant flow rate detection; Monitor mode ON |
| M379 | Coolant flow rate detection; Monitor mode OFF |
| M385 | Work clamp at low pressure (fixture 1) |