High
−
level Instructions
3
−
450
Writing the elapsed value
This instruction writes the 32
−
bit data specified in “S” to the elapsed value area of the high
−
speed counter
and pulse output channel being used, and simultaneously sets the data in the elapsed value area of the
high
−
speed counter used inside the system.
Make sure the 32
−
bit data value that is written to the elapsed value is within the following range.
Type
Allowed setting range
FP0/FP
−
e
K
−
8,388,608 to K 8,388,607
FP
Σ
/FP
−
X/FP0R
K
−
2,147,483,648 to K 2,147,483,647
Writing is only possible using an
F1(DMV)
instruction. Writing is not possible using other applied instructions
such as the transfer instruction
F0(MV)
or arithmetic instructions.
When specifying the memory area in “S” or “D” (when reading), specify only the lower
−
order 16 bits of the
memory area number.
Explanation of example
When the execution condition R0 is on, K3000 is written to the elapsed value area of ch0 of the high
−
speed
counter and pulse output.
Reading the elapsed value
The contents of the special data register that stores the elapsed value of the high
−
speed counter and pulse
output is written to the area specified in “D”.
Explanation of example
When the execution condition R10 is on, the elapsed value of the high
−
speed counter and pulse output is
transferred to data registers DT6 and DT7.
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The area is exceeded when an index modifier is used
−
The “S” is outside specification range
FP0/FP
−
e/FP
Σ
/FP
−
X/FP0R
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...