Macro ads::make_string_type
source · macro_rules! make_string_type {
($name:ident, $len:expr) => { ... };
}
Expand description
Create a new type representing a STRING(len)
in the PLC, which can be used
with Device::read/write_value or Symbol::read/write_value.
For example:
ads::make_string_type!(String256, 256);
String80
is already predefined in ads::strings
.