159
6-3. Description of High-level Instructions
Description
• The 16-bit data or 16-bit equivalent constant specified by S is copied to the area specified by D
when the trigger turns ON.
■
Flag condition
• Error flag (R9007):
Turns ON and keeps the ON state when the area specified using the index
modifier exceeds the limit. The error address is transferred to DT9017
and held. (See notes below.)
• Error flag (R9008):
Turns ON for an instant when the area specified using the index modifier
exceeds the limit. The error address is transferred to DT9018. (See notes
below.)
Notes:
■
Application example
Example 1: Put the value of the dial set register in the timer set value area.
Example 2: Transfer the timer elapsed value EV0 to the data register DT0 when X2 turns ON.
0
X2
F0 MV, EV0, DT0
0
R9010
F0 MV, DT9040, SV0
R9010: Always ON special internal relay
DT9040: Manual dial set register for "V0"
• Special data registers DT9017 and DT9018 are available only for FP1s with CPU
version 2.7 or later. (All FP1s with a suffix “B” on the part number have this function.)
• When using special internal relay R9008 as the flag for this instruction, be sure to
program the flag at the address immediately after the instruction.
• Refer to page 223, “8-3. Table of Special Internal Relays”, for details about error
flags.
Bit position
WX0
WX1
WX2
WX3
WX4
11
8
1 0 1 0
1 1 0 0
1 0 1 0
1 1 1 0
3
0
Source
Trigger X0: ON
15
•
•
12
•
•
•
•
7
4
•
•
0 0 0 0
0 0 0 0
0 0 0 0
0 0 1 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 1 1
0 0 0 0
0 0 0 0
0 0 0 0
0 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 1 0 1
[S]
Bit position
WR0
WR1
WR2
WR3
WR4
11
8
0 0 0 0
0 0 0 0
0 0 0 0
1 1 1 1
3
0
Destination
15
•
•
12
•
•
•
•
7
4
•
•
0 0 0 0
0 0 0 0
0 0 0 0
1 1 1 0
0 0 0 0
0 0 0 0
0 0 0 0
1 1 0 1
0 0 0 0
0 0 0 0
0 0 0 0
1 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
1 0 1 1
[D]
Bit position
WX0
WX1
WX2
WX3
WX4
11
8
1 0 1 0
1 1 0 0
1 0 1 0
1 1 1 0
3
0
Source
15
•
•
12
•
•
•
•
7
4
•
•
0 0 0 0
0 0 0 0
0 0 0 0
0 0 1 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 1 1
0 0 0 0
0 0 0 0
0 0 0 0
0 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 1 0 1
[S]
Bit position
WR0
WR1
WR2
WR3
WR4
11
8
1 0 1 0
1 1 0 0
1 0 1 0
1 1 1 0
3
0
Destination
15
•
•
12
•
•
•
•
7
4
•
•
0 0 0 0
0 0 0 0
0 0 0 0
1 1 1 0
0 0 0 0
0 0 0 0
0 0 0 0
1 1 0 1
0 0 0 0
0 0 0 0
0 0 0 0
1 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
1 0 1 1
[D]
Содержание FP1
Страница 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Страница 28: ...20 ...
Страница 98: ...90 ...
Страница 150: ...142 ...
Страница 208: ...200 ...
Страница 226: ...218 ...
Страница 280: ...272 ...