1. Multi point move FMOV/FMOVD
ในหน้านี้5 หัวข้อ
1.1. Instruction Description#
Move the data from the source component (S) to (N) target components starting from the specified target (D), where the data in these N components is completely identical.
1.2. The valid operands of the instruction#
1.2.1. Single word Instruction(FMOV)#
| Input/Output | Data Type | operand | Description |
|---|---|---|---|
| IN | 16 bit integer | D/CV/TV/AI/AO/K/H/V/Z/FD, bit composite word (X/Y/M/C/T/S), local variable (LW) | Input |
| OUT | 16 bit integer | D/CV/TV/AO, bit composite word (Y/M/C/T/S) | Output |
| N | 16 bit integer | D/CV/TV/AI/AO/K/H/V/Z/FD, bit composite word (X/Y/M/C/T/S), local variable (LW) | quantity |
1.2.2. Double word instruction(FMOVD)#
| Input/Output | Data Type | operand | Description |
|---|---|---|---|
| IN | 32-bit integer | D/CV/K/H/FD, bit composite word (X/Y/M/C/T/S), local variable (LD) | input |
| OUT | 32-bit integer | D/CV, bit composite word (Y/M/C/T/S) | Output |
| N | 16 bit integer | D/CV/TV/AI/AO/K/H/V/Z/FD, bit composite word (X/Y/M/C/T/S), local variable (LW) | quantity |
1.3. Example#
command table:
NETWORK 000
LD M1
FMOV K100 D5 K5 // The values of execution results D5-D9 are all 100
LD M1
FMOVD K12345 D10 K5 // The values of execution results (D10, D11)~(D18, D19) are all 12345
图1 FMOV

