Operation, Sample api, Restore port configuration – Rockwell Automation 1785-Vx0B, D17856.5.9 PLC-5 VME VMEbus Programmable Controllers User Manual User Manual

Page 101: Command parameters

Advertising
background image

Chapter 6

PLC-5/VME Processor
Communications Commands

6-32

Operation

Processor Memory

Port-Configuration

Active Port Configuration

Information

This command applies the port-configuration information that exists in
physical memory to the chips that control the I/O ports. This makes it
possible to restore the I/O ports to the state that they were in during full
physical memory restore operations (i.e., download all request).

Sample API

For a sample
interface
header file:

Refer to page:

For a sample
implementation
source file:

Refer to page:

P40VAPC.H

B-46

P40VAPC.C

B-47

Use this command to replace the working configuration with the
permanent configuration. This command saves the current active I/O
port-configuration information into the processor’s physical memory. It is
normally used as part of a physical upload operation where the processor
memory and configuration are to be fully saved.

The edit resource is required for this operation.

Command Parameters

1.

Number of ports to change—zero means all ports

2.

Port-number list

Restore Port Configuration

Advertising