Message format, Error codes, Operation – Rockwell Automation 1785-Vx0B, D17856.5.9 PLC-5 VME VMEbus Programmable Controllers User Manual User Manual

Page 102: Sample api

Advertising
background image

Chapter 6

PLC-5/VME Processor
Communications Commands

6-33

Message Format

a

DST

00

PSN

00

SRC

00

PSN

00

CMD

0F

STS

00

TNS

FNC

90H

Command Packet

Reply Packet

b

DST

00

PSN

00

SRC

00

PSN

00

CMD

4FH

STS

00

TNS

EXT

STS

a – The number of ports to change is a one-byte field—00 means “all ports.”
b – Port numbers in this list are two bytes each, low byte first.

LNH

Hi

LNH

Lo

Error Codes

STS

EXT STS

Description

00H

No error

Refer to page D-3 for additional information on PCCC status codes.

Operation

Processor Memory

Port-Configuration

Active Port Configuration

Information

This command saves the port-configuration information in the chips that
control the I/O ports into the physical image. This makes it possible to
save it during full physical memory save operations (i.e., upload all
request).

Sample API

For a sample
interface
header file:

Refer to page:

For a sample
implementation
source file:

Refer to page:

P40VRPC.H

B-80

P40VRPC.C

B-81

Advertising