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

Chapter 6
PLC-5/VME Processor
Communications Commands
6-24
Use this command at the completion of an upload to return the
PLC-5/VME processor to its pre-upload operating mode. If the upload
was initiated with the PLC-5/VME processor in program mode, now your
driver program can change the 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
55H
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 STS byte contains 00H if no error. When detected, the PLC-5/VME
processor reports errors 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:
P40VULC.H
B-49
P40VULC.C
B-50
Upload Complete