Confirming the Unit Settings and Design Contents
4.5.3 Writing Elapsed Value
The F151 instruction is used to write data to the shared memory of the positioning unit.
F151 (WRT) instruction
This is the instruction that write data to the shared memory of the positioning unit.
Explanation:
This stores the contents of the CPU area specified by "S2" and "n" in the address specified by "D" of the
shared memory of the unit mounted in the slot specified by "S1", at the beginning of the memory area.
Specified addresses
Data (elapsed values) are stored as 32 - bit data.
Address of shared memory (hexadecimal)
1st. axis
10Ah
10Bh
Note:
Elapsed values should be written while the operation is stopped.
Program example
Writes the data "0 (zero)" into the elapsed value area.
4-16
2nd. axis
11Ah
Elapsed value
count (absolute value)
11Bh
FP∑ Positioning Unit
Description
Signed 32 - bit
- 2,147,483,648
to +2,147,483,647