7-155
FPOP(P)
1
2
3
4
6
6
7
8
7.7 Data Table Operation Instructions
7.7.3 Reading newest data from data tables (FPOP(P))
7.7.3 Reading newest data from data tables (FPOP(P))
FPOP(P)
Function
(1) Stores the newest data input to the table designated by at the device designated by .
After the execution of the FPOP instruction, the device storing the data read by the FPOP
instruction is reset to 0.
(2) Perform interlock to avoid executing the FPOP instruction when the value stored at is 0.
[See Program Example (1)]
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The FPOP instruction was executed when the value of was 0. (Error code: 4100)
• The data table range exceeded the corresponding device range at execution of the FPOP
instruction. (Error code: 4101)
: Head number of the devices where the data read from the table will be stored (BIN 16 bits)
: Head number of the table (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
––
–– –– ––
Basic
Process
High
performance
Redundant
Universal
Command
Command
FPOPP
FPOP
S
S
FPOP
FPOPP
D
D
S
D
S
D
D
S
+1
+2
Data table
Number of stored
data blocks
1234
5432
7
-1000
0
+7
-4321
+1
+2
Data table
1234
5432
6
-1000
0
+7
0
-4321
Stores 0.
D
D
D
D
D
D
D
D
S
D
D