Skip to main content
Skip table of contents

app_weld_signal_contact_status(ch_arc=[0,1], ch_gas=[0,1], ch_wire=[0,1], ch_mcn=[0,1], timeout=1.0)

기능

Welding 시 arc, gas, wire, mcn 신호를 모니터링 하고, 이상이 있는 경우 에러 핸들링 팝업을 발생 시킨다.

인수

인수명

자료형

기본값

설명

ch_arclist(int[2])[0, 1]

[0] 아크 상태 디지털 입력 채널(1~16), (default: 0)

[1] 접점 상태 (A접점 :1, B접점:2), (default :  1)

ch_gaslist(int[2])[0, 1]

[0] 가스 상태 디지털 입력 채널(1~16), (default: 0)

[1] 접점 상태 (A접점 :1, B접점:2),  (default :  1)

ch_wirelist(int[2])[0, 1]

[0] 와이어 상태 디지털 입력 채널(1~16), (default: 0)

[1] 접점 상태 (A접점 :1, B접점:2),  (default :  1)

ch_mcnlist(int[2])[0, 1]

[0] 머신 상태의 디지털 입력 채널 (1~16), (default: 0)

[1] 접점 상태 (A접점: 1, B접점: 2), (default: 1)

timeoutfloat1.0Arc Wait 기능의 최대 대기 시간 (default: 1.0 sec)

리턴

설명

0

성공

음수

실패

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
app_weld_signal_contact_status(ch_arc=[0,1], ch_gas=[0,1], ch_wire=[0,1], ch_mcn=[0,1], timeout=1.0) 
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.