2017-12-05 08:44:22 +00:00
|
|
|
# Describes the format for available ADS services
|
|
|
|
|
|
|
|
write_data_by_name:
|
2021-05-09 00:21:00 +00:00
|
|
|
name: Write data by name
|
2017-12-05 08:44:22 +00:00
|
|
|
description: Write a value to the connected ADS device.
|
|
|
|
fields:
|
|
|
|
adsvar:
|
2021-05-09 00:21:00 +00:00
|
|
|
name: ADS variable
|
2017-12-05 08:44:22 +00:00
|
|
|
description: The name of the variable to write to.
|
2021-05-09 00:21:00 +00:00
|
|
|
required: true
|
2020-04-05 15:27:16 +00:00
|
|
|
example: ".global_var"
|
2021-05-09 00:21:00 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2017-12-05 08:44:22 +00:00
|
|
|
adstype:
|
2021-05-09 00:21:00 +00:00
|
|
|
name: ADS type
|
2017-12-05 08:44:22 +00:00
|
|
|
description: The data type of the variable to write to.
|
2021-05-09 00:21:00 +00:00
|
|
|
required: true
|
|
|
|
selector:
|
|
|
|
select:
|
|
|
|
options:
|
|
|
|
- 'bool'
|
|
|
|
- 'byte'
|
|
|
|
- 'dint'
|
|
|
|
- 'int'
|
|
|
|
- 'udint'
|
|
|
|
- 'uint'
|
2017-12-05 08:44:22 +00:00
|
|
|
value:
|
2021-05-09 00:21:00 +00:00
|
|
|
name: Value
|
2017-12-05 08:44:22 +00:00
|
|
|
description: The value to write to the variable.
|
2021-05-09 00:21:00 +00:00
|
|
|
required: true
|
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 10000
|