macro_rules! make_wstring_type {
    ($name:ident, $len:expr) => { ... };
}
Expand description

Create a new type representing a WSTRING(len) in the PLC, which can be used with Device::read/write_value or Symbol::read/write_value.

For example:

ads::make_wstring_type!(WString256, 256);

WString80 is already predefined in ads::strings.