EasyManua.ls Logo

Inovance H3U Series - PRUN Octal Bit Transfer

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
326
4
4 Instructions4.12.4 Other Peripheral Instructions
PRUN: Octal bit transfer
Overview
The PRUN instruction batch copies consecutive bit variables from head address S1 to a set of bit variables
from head address D1. The copy operation uses the octal width unit.
PRUN S D
Octal bit transfer Applicable model:
H3U
S
Transferred
bit head
address
Head address of bit variables to be copied. The ones
place of the address must be 0, such as X10 and
M20.
16-bit instruction
(5 steps)
PRUN:
Continuous
execution
PRUNP: Pulse
execution
32-bit instruction (9
steps)
DPRUN:
Continuous
execution
DPRUNP: Pulse
execution
D
Received bit
head address
Head address of destination bit variables in a copy
operation. The ones place of the address must be 0,
such as M30 and Y10.
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
Consecutive bit variables from head address S are batch copied to a set of bit variables from head address D.
The copy operation uses the octal width unit. In Kn, n ranges from 1 to 8.
Example 1:
;
Octal element
Decimal element
;;;;;;;
0
;;;;;;;;
0 0 0 0 0 0 0 0 00 0 00 0 0 0 0
ǒPRUN K4X10 K4M10Ǔ
M8000
Unchanged
Example 2:
Octal element
Decimal element
Not copied
ǒPRUN K4M10 K4Y0Ǔ
M8000
0 0 0 0 0 0 0 0 0 00 0 00 0 0 0 0
<<<<<<<<<<<<<<<<
Example 3:
Decimal element
Decimal element
Not copied
ǒPRUN K4M10 K4M40Ǔ
M8000
0 0 0 0 0 0 0 0 0 00 0 00 0 0 0 0
0000000000000000

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals