Common memory offset feature: comoffset( )
[Operation performed]
When this handler is executed, the starting address for data transfer is set at a position that is
shifted by a specified offset amount from the beginning of a specified node's common memory
area.
For each node, the offset size can be variously set for common memory area 1 and 2.
This handler is effective when only part of the received data is to be used.
The examples given below indicate the difference between a normal operation (no offset used)
and an operation performed with the offset specified.
Example: When a normal operation is performed (with no offset specified)
Common memory area 2 address: 0x0020
Common memory area 2 word count: 0x0030
PCs memory address: FW000
PCs memory word count: 30
Common memory
0x0000
0x0020
Reception data area
0x0050
area 2
5-95
PCs memory
FW000
FW030
The reception data is
entirely transferred to
the common memory
area.
5 USER GUIDE