app_weld_signal_contact_status(ch_arc=[0,1], ch_gas=[0,1], ch_wire=[0,1], ch_mcn=[0,1], timeout=0.1)
Features
It monitors the arc, gas, and wire signals during welding and raises an error handling popup if there is an abnormality.
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
ch_arc | list(int[2]) | [0,1] | [0] Arc Status Digital Input Channel (1-16), (default: 0) [1] Contact status (A contact:1, B contact: 2), (default : 1) |
ch_gas | list(int[2]) | [0,1] | [0] Gas status Digital input channel (1-16), (default: 0) [1] Contact status (A contact: 1, B contact: 2), (default : 1) |
ch_wire | list(int[2]) | [0,1] | [0] Wire Status Digital Input Channel (1~16), (default: 0) [1] Contact status (A contact: 1, B contact: 2), (default : 1) |
ch_mcn | list(int[2]) | [0,1] | [0] Machine Status's Digital Input Channel (1~16), (default: 0) [1] Contact status (A contact: 1, B contact: 2), (default: 1) |
timeout | float | 1.0 | The maximum waiting time about Arc-Wait (default: 1.0 sec) |
Return
Value | Description |
---|---|
0 | success |
negative value | fail |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data error |
DR_Error (DR_ERROR_VALUE) | Invalid parameter value |
DR_Error (DR_ERROR_RUNTIME) | C Extension module error |
DR_Error (DR_ERROR_STOP) | Program terminated forcibly |
Example
app_weld_signal_contact_status(ch_arc=[0,1], ch_gas=[0,1], ch_wire=[0,1], ch_mcn=[0,1], timeout=1.0)