DTM434 DTM435
32
Automatic writing of data can be activated with the object "Auto write" (OV index 0x2302). As soon as
an ID tag is in the detection range, the last data is written to the ID tag.
Only data up to the configured data length is written to the ID tag. Subsequent data is ignored.
For the writing of more than 8 bytes (4 bytes for 32-bit data objects), more RPDOs have to be
assigned and the respective data objects have to be configured.
For 32-bit controllers, the object 0x230B must be used instead of object 0x230A. The maximum
data length is restricted to 32-bit data (4 bytes).
The trigger is divided between the objects 0x231E and 0x231F. The object 0x231E contains the
triggers for ID data 33 to 64. The object 0x231F contains the triggers for ID data 1 to 32.
9.2.3.1 Example 1
The data range 0x10 to 0x18 (8 bytes) is to be transferred with the 2nd RPDO.
RPDO
Settings
for PDO
mapping:
COB
Object
directory:
Object
index
Object
directory:
Object
sub-
index
Object
directory:
Object
length
2
Node ID + 0x0200
0x230A
0x01
0x40
Object directory
Index
Sub-index
Name (object)
Value
0x2300
0x01
Read start of the address
(start of the address range on
the ID tag to be read)
0x10
0x2301
0x01
Read length (length of the
memory range on the ID tag
to be read; max. 8 bytes)
0x08
0x2302
0x01
Auto-write
0x00
Transfer data via RPDO:
PDO Transmission
PDO
Data
To the device
RPDO 2
0x12345678
Start write access:
PDO Transmission
PDO
Data
To the device
RPDO 1
Select bit 0 status
9.2.3.2 Example 2
The data range 0x44 to 0x48 (4 bytes) is to be transferred with the 6th RPDO. In addition, this data is
to be written to an ID tag each time it reaches the detection range of the device.
RPDO
Settings
for PDO
mapping:
COB
Object
directory:
Object
index
Object
directory:
Object
sub-
index
Object
directory:
Object
length
6
Node ID + 0x0600
0x230A
0x05
0x40
Object directory
Index
Sub-index
Name (object)
Value
0x2300
0x05
Read start of the address
(start of the address range on
the ID tag to be read)
0x44