IO-Link data memory
DSU100
17
Command
value
Address
Length
Data 0 to 27
Block
counter
Status bit
"Cmd Start"
Command
value
Data 0 to 27
Block
counter
Error value
Status bit
"Cmd End"
Status bit
"Cmd Start"
Controller with-
draws command
value
0x00
0x00
0x00
0x00
0x00
0
0x03
0x00
0x01
0x22
1
1
The device car-
ries out the pre-
set command
0x00
0x00
0x00
0x00
0x00
0
0x00
UID
0x00
0x00
0
0
8.7 "Write data" operating mode
In the "Write data" operating mode more than 28 bytes can be written with one write operation. The
data is sequentially transferred from the controller to the device.
Transferring data from the controller to the device:
u
The controller sets the command value "0x04", the address (32 bits) and the data length (32 bits) in
the process data output image.
u
The controller starts the write operation with the status bit "Cmd Start".
u
The device acknowledges the start of the write operation by setting the status bit "Cmd Start
Acknowledge" in the process data input image.
u
The controller fills the data in the process data output image (data 0 to 27) and increases the block
counter by 1.
u
The device acknowledges receipt of the data by increasing the block counter in the process data
output image by 1.
u
The two previous steps are repeated until all data has been transferred.
u
The device sets the status bit "Cmd End" with the last transfer to the internal memory. Then the
write operation is terminated.
w
If writing was unsuccessful, the device sets the error value and the status bit "Cmd End" in
the process image. Data transfer is interrupted.
Byte
Process data output when
starting the write operation
Process data output during
data transfer
Process data input
0
command value=0x04
command value=0x04
command value=0x04
1
status
status
status
2
ignored
data 0
0x00
3
ignored
data 1
0x00
4
address 3
data 2
0x00
5
address 2
data 3
0x00
6
address 1
data 4
0x00
7
address 0
data 5
0x00
8
length 3
data 6
0x00
9
length 2
data 7
0x00
10
length 1
data 8
0x00
11
length 0
data 9
0x00
12
ignored
data 10
0x00
13
ignored
data 11
0x00
14
ignored
data 12
0x00
15
ignored
data 13
0x00