4 instructions – Micromod Micro-DCI: 53MC5000 Training Manual User Manual

Page 150

Advertising
background image

Training Manual

F-TRAN Programming Lab

10- 4

10.4 Instructions

10.4.1

Part 1 – A simple F-TRAN Program

We will program a simple Control F-TRAN program in this part of the lab. We will begin
by just moving data around. The process variable for Control Loop 0 is stored in database
location C100. The value for Analog Output 0 is stored at C000.

#

Your controller should have a loop back wire attached between analog output and
analog input. To do this connect terminal 2 to terminal 10 and terminals 5 to 12

The purpose of this is to use the analog output to drive the analog input. The analog
input will in turn be assigned to the process variable.

1.

Create a new Control F-TRAN program:

• To create/edit a new control F-TRAN program, right mouse click Control within

the F-TRAN Programs folder in the project tree as shown in the next figure:

Figure 10 .1.

Project Explorer

• A sub menu will be displayed as shown in the figure above.
• Select New from this sub menu. The Open FTRAN File dialog box will be

displayed as shown in the next figure:

• Enter a name for the F-TRAN program. We will call it Ftran1. Type Ftran1 in the

file name field as shown in the next figure.

Advertising