User manual
Chapter 6
PLC-5/VME Processor
Communications Commands
6-23
Use this command to place the PLC-5/VME processor in download mode
before downloading memory. This command clears PLC-5/VME
processor memory and loads default program files 0 and 1 (ladder), and
data files 0, 1, and 2 (I/O and status).
See the “Header Bit/Byte Descriptions” section on page 6-4 for a
description of each byte.
For a complete description of the download algorithm, see page 6-34.
Message Format
DST
00
PSN
00
SRC
00
PSN
00
CMD
0F
STS
00
TNS FNC
50H
Command Packet
DST
00
PSN
00
SRC
00
PSN
00
CMD
4FH
STS EXT
STS
Reply Packet
TNSLNH
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—PLC-5/VME processor is in run mode, memory
protected, or being programmed from a programming terminal
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:
P40VDLA.H B-52 P40VDLA.C B-53
Download All Request