app_weld_set_weld_cond_digital(flag_dry_run=0, vel_target=0, vel_min=0, vel_max=0, welding_mode=0, s_2t=0, pulse_mode=0, wm_opt1=0, simulation=0, ts_opt1=0, ts_opt2=0,...)
기능
통신방식 용접기의 용접조건을 설정합니다. 용접조건은 용접기능 활성화 (app_weld_enable_digital()) 부터 비활성화(app_weld_disable_digital())로 정의한 용접구간 내에서만 유효하며 이외에 실행 시 에러가 발생합니다. 용접조건으로 설정할 수 있는 항목은 다음 명령어(app_weld_set_interface_eip_r2m_mode(), app_weld_set_interface_eip_r2m_condition(), app_weld_set_interface_eip_r2m_option())에 해당하는 용접기와 통신 인터페이스 설정을 완료한 항목에 대해서만 가능합니다.
하나의 용접구간 내에서는 하나의 용접조건만 허용되며 용접 중 app_weld_adj_welding_cond_dgital() 명령어를 통해 용접조건을 조정하거나, 티치펜던트의 용접조건 조정 popup에서 전압조정/동적인자조정/피딩속도/속도 (및 위빙옵셋)를 조정할 수 있습니다. 다만 티치펜던트에서의 용접조건 조정은 명령어를 통한 용접조건 조정상태가 RESET상태 (즉, app_weld_set_weld_cond_digital()으로 지정한 용접조건 설정)인 경우에만 가능합니다.
알아두기
- 전압조정(voltage correction) : 아크 길이를 조정 합니다.
- 동적인자조정(dynamic correction) : 아크 특성을 조정 합니다
인수
인수명 | 자료형 | 기본값 | 설명 |
---|---|---|---|
flag_dry_run | int | 0 | 모의용접(Dry-run) 모드 실용접(0) 모의용접(1) : 모션/위빙/옵셋만 진행 |
vel_target | float | 0 | 목표속도 (mm/sec) * 티치펜던트의 입력단위와 다른 것에 유의할 것(Cm/min) |
vel_min | float | 0 | 목표속도 조정 최소값 (mm/sec) * 티치펜던트의 입력단위와 다른 것에 유의할 것(Cm/min) |
vel_max | float | 0 | 목표속도 조정 최대값 (mm/sec) * 티치펜던트의 입력단위와 다른 것에 유의할 것(Cm/min) |
welding_mode | Int | 0 | 용접 모드 설정 |
s_2t | Int | 0 | 2T, 2T special 설정 |
pulse_mode | Int | 0 | 펄스 모드 설정 |
wm_opt1 | Int | 0 | 용접모드 옵션1 설정 |
simulation | int | 0 | 시뮬레이션 모드 설정 |
ts_opt1 | Int | 0 | 테스트 신호 옵션1 설정 |
ts_opt2 | Int | 0 | 테스트 신호 옵션2 설정 |
Job_num | Int | 0 | Job 번호 설정 |
synergic_id | Int | 0 | Synergic ID 설정 |
r_wire_feed_speed | float | 0 | 와이어 피딩 속도 설정 |
voltage_correct | float | 0 | 전압 조정 설정 |
dynamic_correct | float | 0 | 동적 인자 조정 설정 |
r_opt1 | float | 0 | 옵션1 설정 |
r_opt2 | float | 0 | 옵션2 설정 |
r_opt3 | float | 0 | 옵션3 설정 |
r_opt4 | float | 0 | 옵션4 설정 |
r_opt5 | float | 0 | 옵션5 설정 |
r_opt6 | float | 0 | 옵션6 설정 |
r_opt7 | float | 0 | 옵션7 설정 |
r_opt8 | float | 0 | 옵션8 설정 |
r_opt9 | float | 0 | 옵션9 설정 |
r_opt10 | float | 0 | 옵션10 설정 |
r_opt11 | float | 0 | 옵션11 설정 |
r_opt12 | float | 0 | 옵션12 설정 |
r_opt13 | float | 0 | 옵션13 설정 |
r_opt14 | float | 0 | 옵션14 설정 |
r_opt15 | float | 0 | 옵션15 설정 |
리턴
값 | 설명 |
---|---|
0 | 설정 성공 |
음수값 | 설정 실패 |
예외
예외 | 설명 |
---|---|
DR_Error (DR_ERROR_TYPE) | 인수들의 데이터형 오류 시 |
DR_Error (DR_ERROR_VALUE) | 인수의 값이 유효하지 않을 시 |
DR_Error (DR_ERROR_RUNTIME) | C Extension 모듈 에러 발생 시 |
DR_Error (DR_ERROR_STOP) | 프로그램 강제 종료 시 |
예제
app_weld_enable_digital()
app_weld_set_weld_cond_digital(flag_dry_run=0, vel_target=16, vel_min=0.00, vel_max=16.67, welding_mode=3, s_2t=0, pulse_mode=0, wm_opt1=0, simulation=0, ts_opt1=0, ts_opt2=0, job_num=4, synergic_id=0, r_wire_feed_speed=10, voltage_correct=0, dynamic_correct=0, r_opt1=0, r_opt2=0, r_opt3=0, r_opt4=0, r_opt5=0, r_opt6=0, r_opt7=0, r_opt8=0, r_opt9=0, r_opt10=0, r_opt11=0, r_opt12=0, r_opt13=0, r_opt14=0, r_opt15=0)
#용접속도=60mm/sec(=1Cm/min), 용접모드=3, Job번호=4, 와이어 피딩 속도=10m/min
app_weld_disable_digital()
관련 명령어
- app_weld_set_interface_eip_r2m_process(welding_start=[0,0,0,0,0,0,0,0,0], robot_ready=[0,0,0,0,0,0,0,0,0], error_reset=[0,0,0,0,0,0,0,0,0])
- app_weld_set_interface_eip_r2m_mode(welding_mode=[0,0,0,0,0,0,0,0,0], s_2t=[0,0,0,0,0,0,0,0,0], pulse_mode=[0,0,0,0,0,0,0,0,0],wm_opt1=[0,0,0,0,0,0,0,0,0])
- (V2.11.0.1_temp-ko_KR) app_weld_set_interface_eip_r2m_test(gas_test=[0,0,0,0,0,0,0,0,0], inching_plus=[0,0,0,0,0,0,0,0,0], inching_minus=[0,0,0,0,0,0,0,0,0], blow_out_torch=[0,0,0,0,0,0,0,0,0], simulation=[0,0,0,0,0,0,0,0,0], ts_opt1=[0,0,0,0,0,0,0,0,0], ...)
- (2.11.2_temp-ko_KR) app_weld_set_interface_eip_r2m_condition(job_num=[0,0,0,0,0,0,0,0,0], synergic_id=[0,0,0,0,0,0,0,0,0], r_wire_feed_speed=[0,0,0,0,0,0,0,0,0], voltage_corret=[0,0,0,0,0,0,0,0.0,0.0], dynamic_correct=[0,0,0,0,0,0,0,0,0])
- (2.11.2_temp-ko_KR) app_weld_set_interface_eip_r2m_option(opt1=[0,0,0,0,0,0,0,0,0], opt2=[0,0,0,0,0,0,0,0,0], opt3=[0,0,0,0,0,0,0,0,0], opt4=[0,0,0,0,0,0,0,0,0], opt5=[0,0,0,0,0,0,0,0,0], opt6=[0,0,0,0,0,0,0,0,0],...)
- app_weld_set_interface_eip_m2r_process(current_flow=[0,0,0,0,0,0,0,0,0], process_active=[0,0,0,0,0,0,0,0,0], main_current=[0,0,0,0,0,0,0,0,0], machine_ready=[0,0,0,0,0,0,0,0,0], comm_ready=[0,0,0,0,0,0,0,0,0])
- app_weld_set_interface_eip_m2r_monitoring(welding_voltage=[0,0,0,0,0,0,0,0,0], welding_current=[0,0,0,0,0,0,0,0,0], wire_feed_speed=[0,0,0,0,0,0,0,0,0], wire_stick=[0,0,0,0,0,0,0,0,0], error=[0,0,0,0,0,0,0,0,0] ...)
- app_weld_set_interface_eip_m2r_other(opt1=[0,0,0,0,0,0,0,0,0], opt2=[0,0,0,0,0,0,0,0,0], opt3=[0,0,0,0,0,0,0,0,0], opt4=[0,0,0,0,0,0,0,0,0], opt5=[0,0,0,0,0,0,0,0,0], opt6=[0,0,0,0,0,0,0,0,0], opt7=[0,0,0,0,0,0,0,0,0],...)
- app_weld_enable_digital()
- app_weld_set_weld_cond_digital(flag_dry_run=0, vel_target=0, vel_min=0, vel_max=0, welding_mode=0, s_2t=0, pulse_mode=0, wm_opt1=0, simulation=0, ts_opt1=0, ts_opt2=0,...)
- app_weld_adj_welding_cond_digital(flag_reset=None, f_target=None, vel_target=None, wv_offset=None, wv_width_ratio=None, dynamic_cor=None, voltage_cor=None, job_number=None, synergic_id=None)
- app_weld_adj_welding_cond_digital(flag_reset=None, f_target=None, vel_target=None, wv_offset=None, wv_width_ratio=None, dynamic_cor=None, voltage_cor=None, job_number=None, synergic_id=None)
- (2.11.2_temp-ko_KR) app_weld_disable_digital()
- (2.11.2_temp-ko_KR) app_weld_weave_cond_trapezoidal(wv_offset=[0,0], wv_ang=0, wv_param=[0,1.5,0,-1.5,0.3,0.1,0.3,0.3,0.1,0.3])
- (2.11.2_temp-ko_KR) app_weld_weave_cond_zigzag(wv_offset=[0,0], wv_ang=0, wv_param=[3,0.6])
- (2.11.2_temp-ko_KR) app_weld_weave_cond_circular(wv_offset=[0,0], wv_ang=0, wv_param=[3,3,0.3,0.3])
- (2.11.2_temp-ko_KR) app_weld_weave_cond_sinusoidal(wv_offset=[0,0], wv_ang=0, wv_param=[3,0.6])