A - sample applications, Appendix objectives, Sample applications – Rockwell Automation 1785-Vx0B, D17856.5.9 PLC-5 VME VMEbus Programmable Controllers User Manual User Manual
Page 123
A
Appendix
A-1
Sample Applications
Read this appendix to understand how to write applications in a separate
VMEbus CPU to interact with your PLC-5/VME processor.
The following programs are C-language programs that interact with the
PLC-5/VME processor from a separate CPU. The details of these
programs vary depending on the CPU, operating system, and C-complier
used. These specific programs run on RadiSys Corporation VMEbus EPC
(PC compatible) CPUs. The sample programs interact with the RadiSys’
EPConnect software library, which is a set of interfaces to the VMEbus
hardware on the EPC CPUs.
For this application:
Refer to page:
For this make file:
Refer to page:
VMEDEMO.CPP
A-2
VMEDEMO.MAK
A-13
UPLOAD.CPP
A-15
UPLOAD.MAK
A-26
DOWNLOAD.CPP
A-27
DOWNLOAD.MAK
A-34
ATTENTION: Because of the variety of uses for the functions
in these sample applications, the user and those responsible for
applying this information must satisfy themselves that all the
necessary steps have been taken to ensure that the application of
this information meets all performance and safety requirements.
In no event shall Allen-Bradley Company, Inc. be responsible or
liable for indirect or consequential damages resulting from the
use or application of this information.
These sample applications are intended solely to illustrate the
principles of using PCCC commands, Radisys VME Driver, and
C programming. Allen-Bradley Company, Inc. cannot assume
responsibility or liability (to include intellectual property
liability) for actual use based on these samples.
Note: These sample applications are available on the
Allen-Bradley SuppotPlus Bulletin Board [(216) 646-6728].
Download file VMEAPI.ZIP. This file also contains application
programming interface (API) code.
Appendix Objectives