Configuring your application program – Rockwell Automation 6001-F2E AB STANDARD DRIVER SFTW User Manual

Page 22

Advertising
background image

Compiling, Linking, and Configuring Your
Application Program

Chapter 5

5-2

The following are compile line examples of Microsoft C and Borland
Turbo C:

Microsoft C

C>CL /AL /Gs <PROGRAM.C> L_MSAPP.LIB L_MSKT.LIB

Borland Turbo C

C>TCC -ml <PROGRAM> L_TCAPP.LIB L_TCKT.LIB

To configure your application program:

1.

Type

START485

followed by the communication option settings. For

example, type:

START485 a0 m31 cM b9600

where:

This Variable

Is

a

the DH-485 address of the 1784-KR (valid addresses are 0-31)

m

the maximum node address on the Dh-485 link (valid addresses
are 0-31)

c

the category of operation (this is always m)

b

the DH-485 baud rate (valid entries are 300, 1200, 2400, 4800,
9600, or 19,200 baud only)

Important: SLC-500 processors operate at 9600 or 19,200 baud only.

2.

Press [ENTER].

This operation initializes the 1784-KR. Now that the 1784-KR board and
driver are installed and configured, you can run your application program.

Configuring Your Application
Program

Advertising