Chapter objectives, Compiling and linking your application program – Rockwell Automation 6001-F2E AB STANDARD DRIVER SFTW User Manual

Page 21

Advertising
background image

Chapter

5

5-1

Compiling, Linking, and Configuring Your
Application Program

This chapter tells you what you need to do before your application
program can communicate with other devices on the network. First, you
compile and link the software, then configure it. See the instructions
below.

To compile and link the linkable driver application software, do the
following:

1.

Create your application program and “include” the KRDEFS.H and
STDDRV.H files.

2.

Compile your application program with the large memory model
option.

3.

Link your driver with an appropriate standard driver and application
library module.

Important: In addition to including header files in your application, you
need to link with an appropriate Standard Driver and Application Library
file (whether you are using the Application Library or not).

4.

Copy your application.EXE and START485.EXE programs to the
directory you wish to use.

5.

If the 1784-KR card switch settings are configured for other than
default settings, enter an environment string. See the PC DH-485
Interface Module Installation Data (publication 1784-2.23) for more
information.

Chapter Objectives

Compiling and Linking Your
Application Program

Advertising