Use Explicit Messages to Read and Write IO-Link Device Parameters
You can use message instructions to read from and write to IO-Link device parameters.
The data in the controller is big endian, whereas the data of the IO-Link devices is
little endian. If any of the data is larger than one byte, then reverse the byte order
with a swap byte command with order mode set to ‘reverse’ to get the correct values.
In Protection Mode, the messages should have the ‘Connected’ checkbox selected. You do
not need to cache the messages. If the ‘Connected’ checkbox is not selected, the
messages may fail with a connection error.
Service Code | Service Name | Description |
|---|---|---|
0x32 | Raw_Get | This service behaves the same as Raw_Get_Single if the application
path in the request contains a nonzero Attribute ID. Otherwise it
behaves the same as Raw_Get_All. |
0x33 | Raw_Set | This service behaves the same as Raw_Set_Single if the application
path in the request contains a nonzero Attribute ID. Otherwise it
behaves the same as Raw_Set_All. |
Provide Feedback