Copy to vme – Rockwell Automation 1785-Vx0B, D17856.5.9 PLC-5 VME VMEbus Programmable Controllers User Manual User Manual
Page 50
![background image](/manuals/579929/50/background.png)
Chapter 4
Ladder-Program Interfaces
4-3
width
is the width of VME transfers.
Width
Denotes
D16
16-bit transfers
D08
8-bit transfers (even/odd)
D08O
8-bit transfers (odd only)
D08B
8-bit transfers (even or odd depending on the starting VME address)
numelts
is the number of elements to be transferred (1-1000 decimal).
vmeint
is the VMEbus interrupt number (1-7).
statid
is the interrupt status/ID, a two-character hexadecimal
number given to the interrupt handler during the interrupt
acknowledge cycle.
You can use indirect addressing for the
f
and
e
parameters. Indirect
address format is:
X
f
:
e
where:
X
,
f
, and
e
are as specified above, except that
f
and
e
cannot specify
indirect addresses.
Copy to VME
This message tells the processor to read the specified amount of data from
the specified file and write it using one or more VMEbus write operations.
As with the continuous-copy operations, if the address falls within the
enabled VMEbus slave memory of the PLC-5/VME processor, the data is
written into this dual-port memory directly without doing actual VMEbus
operations.
Example 1:
CTV
#
N8:10
A00000
D16
2
Example 1 reads elements 10 and 11 from file N8 and writes them in two
D16 writes to addresses A00000 and A00002 in the VME A24
address space.