xarm_config_gpio_reset_when_stop
1. Introduction
Reset 'IO Ouput' when the robot is stopped. Button: [Settings] - [General] - [Advanced Settings] - Clear the IO output when the robot is stopped.
2. Request & Response
Message
json
{
"cmd": "xarm_config_gpio_reset_when_stop",
"data": {
'save': True,
'cgpio': 0,
'tgpio': 0
},
"id": "1"
}
Request
Name | Type | Required fields | Description |
---|---|---|---|
save | bool | No | |
cgpio | int | Yes | Controller Output |
tgpio | int | Yes | Tool Digital Output |
Response
code=0->success;
code!=0->Failed, refer to xarm_api_code;