app_weld_enable_analog
Features
This function activates the analog welding function. It takes the connection and environment information of the welder, which can be connected via analog input/output and digital signal output, as input parameters.
The target welder must support the analog interface method and be able to receive target current and target voltage commands from the analog output channels of the connected controller.
Analog Output Configuration:
Set the channel number (1 or 2) and output mode (current/voltage) of the physically connected analog channel to
ch_v_outandch_f_out, respectively.The analog input/output range of the controller is 0~10V for voltage mode and 4~20mA for current mode.
Ensure that the setting mode and output range for each channel are compatible with the input specifications and range of the welder.
For example, if the target value input range of the welder is 0~10V, it is appropriate to set the output channel of the controller to voltage mode (0~10V output range).
As another example, if the input channel specification of the welder is 2~15V, set the corresponding analog channel of the controller to current mode (4~20mA output range) and connect a 75 ohm resistor to the output line to output a voltage in the range of 3~15V. In this case, commands cannot be given in the range between 2V and 3V, which cannot be set by the controller.
It is recommended to configure the settings to include as much of the input range required by the welder as possible.
Set the maximum and minimum analog output range of the controller and the maximum and minimum output range of the welder in
spec_v_outandspec_f_out.spec_v_out/spec_f_outfirst item =WO_minspec_v_out/spec_f_outsecond item =CO_minspec_v_out/spec_f_outthird item =WO_maxspec_v_out/spec_f_outfourth item =CO_max
where
WO_minandWO_maxare the minimum and maximum output specifications of the welder, andCO_minandCO_maxare the analog output values of the controller corresponding toWO_minandWO_max, respectively.
Welding Current and Monitoring:
The welding current output from the welder varies depending on the wire feeding speed, the material of the base material, the material/type/discharge length of the welding wire, the welding voltage, etc., and this must be checked by connecting a welder or a separately mounted current sensor.
To check the voltage/current measurement value being welded, an analog output type welder or a separate sensor must be connected. Set the analog input channel number and input mode of the controller corresponding to this to
ch_v_inandch_c_in.Set the maximum and minimum analog input range of the controller and the maximum and minimum measurement range of the sensor in
spec_v_inandspec_c_in.spec_v_in/spec_c_infirst item =SO_minspec_v_in/spec_c_insecond item =CI_minspec_v_in/spec_c_inthird item =SO_maxspec_v_in/spec_c_infourth item =CI_max
where
SO_minandSO_maxare the minimum and maximum measurement values of the sensor, respectively, andCI_minandCI_maxare the input values of the controller corresponding toSO_minandSO_max, respectively.
Digital Signal Configuration:
Set the channel numbers for ARC-ON/OFF (welding output signal-start/end), GAS-ON/OFF (gas output signal-start/end), INCHING-Forward-ON/OFF (forward wire feeding signal-start/end), INCHING-Backward-ON/OFF (reverse wire feeding signal-start/end), and BlowOut-ON/OFF (torch cleaning gas output signal-start/end) connected to the welder in a digital contact method.
Selectively enter signal outputs other than the ARC-ON/OFF signal according to whether the welder supports the corresponding function.
Arguments
Argument Name | Data Type | Default Value | Description |
|---|---|---|---|
|
| - | Analog welding interface structure |
Return
Value | Description |
|---|---|
0 | Error |
1 | Success |
Example
CODE
|