background image

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

Содержание DSU100

Страница 1: ...Operating instructions IO Link data memory DSU100 11405785 00 11 2021 GB ...

Страница 2: ...tion 9 7 1 3 Device specific parameters 9 7 1 3 1 Parameter Auto Read Write Address 9 7 1 3 2 Parameter Auto Read WriteData Length 9 8 Operation 11 8 1 Status bits 11 8 2 Error values in the process input 11 8 3 Read UID operating mode 12 8 4 Auto read data operating mode 12 8 5 Auto write data operating mode 13 8 6 Read data operating mode 14 8 6 1 Successfully reading example 15 8 6 2 Reading no...

Страница 3: ...on of keys buttons or indications Cross reference Important note Non compliance may result in malfunction or interference Information Supplementary note 1 2 Legal and copyright information All rights reserved by ifm electronic gmbh No part of these instructions may be reproduced and used without the consent of ifm electronic gmbh All product names pictures companies or other brands used on our pag...

Страница 4: ...tect of the system Read this document before setting up the product and keep it during the entire service life The product must be suitable for the corresponding applications and environmental conditions without any restrictions Only use the product for its intended purpose Ò Intended use If the operating instructions or the technical data are not adhered to personal injury and or damage to proper...

Страница 5: ...he IO Link storage device saves data in non volatile memory in industrial environments Data is exchanged and device parameters are set via the IO Link interface The device is typically used for identifying interchangeable tools or plant components ...

Страница 6: ... u Insert the top of the device 1 into the mounting adapter u Press the bottom of the device 2 into the mounting adapter w The device can be inserted into the mounting adapter from the top or the bottom u Fasten the device on the mounting adapter with the screws supplied 3 u Install the mounting adapter on the tank with the screws supplied 4 4 3 Installation without mounting adapter Fig 3 Installi...

Страница 7: ...otection class III PC III w The electrical supply must only be made via PELV SELV circuits u Disconnect power before connecting the device Connecting the device u Connect the device to the IO Link master using the M12 connector w Voltage is supplied via the IO Link master Information about available accessories at www ifm com ...

Страница 8: ...n Green LED is permanently on Successful reading writing from to IO Link memory Yellow LED flashes briefly 1x Error when reading writing from to IO Link memory Yellow LED flashes quickly repeatedly Flashing function Green LED flashes 2x per second Yellow LED flashes 2x per second w The device can be easily located in plants with its flashing function ...

Страница 9: ... 1 Parameter Auto Read Write Address Index 1903 subindex 0 In the operating modes READ DATA AUTO WRITE DATA AUTO the device automatically reads writes a specified number of data bytes The parameter defines the address in the memory area which is accessed during the read write operation The address is indicated in bytes from the start of the memory area The data is processed as a data word 2 bytes ...

Страница 10: ...ad write operation cannot be outside the memory area of the device u Address for auto read auto write data length for auto read auto write number of available bytes on the device The minimum length for auto read auto write is 2 bytes and the maximum length is 28 bytes ...

Страница 11: ... 1 0 Name Cmd Start Status bit Value Description Cmd End 0 Read write operation not yet started or active 1 Read write operation terminated Cmd Start Acknowledge 0 Start of a read write operation not ac knowledged 1 Start of a read write operation acknowl edged Cmd Start 0 Reset trigger for read write operation 1 Set trigger for read write operation w The status bits Cmd Start Cmd Start Acknowledg...

Страница 12: ...UID 5 8 ignored UID 6 9 ignored UID 7 10 ignored 0x00 11 ignored 0x00 12 ignored 0x00 13 ignored 0x00 14 ignored 0x00 15 ignored 0x00 16 ignored 0x00 17 ignored 0x00 18 ignored 0x00 19 ignored 0x00 20 ignored 0x00 21 ignored 0x00 22 ignored 0x00 23 ignored 0x00 24 ignored 0x00 25 ignored 0x00 26 ignored 0x00 27 ignored 0x00 28 ignored 0x00 29 ignored 0x00 30 ignored 0x00 31 ignored Error value 8 4...

Страница 13: ...data 17 20 ignored data 18 21 ignored data 19 22 ignored data 20 23 ignored data 21 24 ignored data 22 25 ignored data 23 26 ignored data 24 27 ignored data 25 28 ignored data 26 29 ignored data 27 30 ignored 0x00 31 ignored error value 8 5 Auto write data operating mode In the Auto write data operating mode the data to be written is defined by the process data output image The data is set by the ...

Страница 14: ... data 20 data 20 23 data 21 data 21 24 data 22 data 22 25 data 23 data 23 26 data 24 data 24 27 data 25 data 25 28 data 26 data 26 29 data 27 data 27 30 ignored 0x00 31 ignored error value 8 6 Read data operating mode In the Read data operating mode more than 28 bytes can be read with a read operation The data is sequentially transferred from the device to the controller Transfer data from the dev...

Страница 15: ...pted Byte Process data output Process data input 0 Command value 0x03 Command value 0x03 1 Status Status 2 ignored Data 0 3 ignored Data 1 4 Address 3 Data 2 5 Address 2 Data 3 6 Address 1 Data 4 7 Address 0 Data 5 8 Length 3 Data 6 9 Length 2 Data 7 10 Length 1 Data 8 11 Length 0 Data 9 12 ignored Data 10 13 ignored Data 11 14 ignored Data 12 15 ignored Data 13 16 ignored Data 14 17 ignored Data ...

Страница 16: ...3 0x00 0x02 1 0x03 Data 0x02 0x00 1 1 Controller with draws command value 0x00 0x00 0x00 0x00 0x00 0 0x03 Data 0x02 0x00 1 1 The device car ries out the pre set command 0x00 0x00 0x00 0x00 0x00 0 0x00 UID 0x00 0x00 0 0 8 6 2 Reading not executed example The example shows a reading command abort Command value Address Length Data 0 to 27 Block counter Status bit Cmd Start Command value Data 0 to 27 ...

Страница 17: ... 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 transfe...

Страница 18: ...us bit Cmd Start Command value Data 0 to 27 Block counter Error value Status bit Cmd End Status bit Cmd Start Process data output image Process data input image Preset com mand 0x00 0x00 0x00 0x00 0x00 0 0x00 UID 0x00 0x00 0 0 Controller sets command write 40 bytes to ad dress 0x10 0x04 0x10 0x28 0x00 0x00 1 0x04 UID 0x00 0x00 0 0 Device acknowl edges command 0x04 0x10 0x28 0x00 0x00 1 0x04 0x00 0...

Страница 19: ... trans fers more data 0x04 Data 0x02 1 0x04 0x00 0x01 0x00 0 1 Device sets er ror value Com mand Syntax 0x04 Data 0x02 1 0x04 0x00 0x01 0x22 1 1 Controller with draws command value 0x00 0x00 0x00 0x00 0x00 0 0x04 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 8 Delete data operating mode With the Delete data operating mode the com...

Страница 20: ...ut 12 ignored 0 13 ignored 0 14 ignored 0 15 ignored 0 16 ignored 0 17 ignored 0 18 ignored 0 19 ignored 0 20 ignored 0 21 ignored 0 22 ignored 0 23 ignored 0 24 ignored 0 25 ignored 0 26 ignored 0 27 ignored 0 28 ignored 0 29 ignored 0 30 ignored 0 31 ignored Error value ...

Страница 21: ...e repair and disposal The operation of the unit is maintenance free Only the manufacturer is allowed to repair the unit u After use dispose of the device in an environmentally friendly way in accordance with the applicable national regulations ...

Страница 22: ...dards For approvals and standards the following information is available Test standards and regulations documentation ifm com EU declaration of conformity and approvals documentation ifm com Notes relevant for approval package inserts of the device ...

Страница 23: ...IO Link data memory DSU100 23 List of figures Fig 1 Device 6 Fig 2 Installing the device with mounting adapter 6 Fig 3 Installing the device without mounting adapter 6 Fig 4 Light indicators 8 ...

Страница 24: ... IO Link data memory 24 Glossary IODD Digital description of the device The IODD is required for device parameter setting via IO Link UID Unique Identification Number unique identification number of a device ...

Отзывы: