Download complete, Message format, Error codes – Rockwell Automation 1785-Vx0B, D17856.5.9 PLC-5 VME VMEbus Programmable Controllers User Manual User Manual
Page 94: Sample api module

Chapter 6
PLC-5/VME Processor
Communications Commands
6-25
Use this command to return the PLC-5/VME processor from
download/program to Program mode after downloading memory. Now,
your driver program can change the PLC-5/VME processor’s operating
mode to run or Run/Program to resume processor operation.
See the “Header Bit/Byte Descriptions” section on page 6-4 for a
description of each byte.
Message Format
DST
00
PSN
00
SRC
00
PSN
00
CMD
0F
STS
00
TNS
FNC
52H
Command Packet
DST
00
PSN
00
SRC
00
PSN
00
CMD
4FH
STS
EXT
STS
Reply Packet
TNS
LNH
Hi
LNH
Lo
Error Codes
The PLC-5/VME processor reports errors, if detected, in its reply packet
as follows:
STS
EXT STS
Description
00H
–
No error
F0H
0BH
Access denied
0DH
PLC-5/VME processor already available
Refer to page D-3 for additional information on PCCC status codes.
Sample API Module
For a sample
interface
header file:
Refer to page:
For a sample
implementation
source file:
Refer to page:
P40VDLC.H
B-55
P40VDLC.C
B-56
Download Complete