Chapter 3 Macro Key Programming

3.1 Introduction

Our workstations are equipped with programmable function keys (macro keys) that greatly enhance the operator interface. Macros, which are far more powerful than batch files, automate the most commonly used input sequences. They extended their functional reach to within application programs.

3.2 Macro Key Review

The complete macro function consists of the following elements:

Macro keys (SF1, SF2,... SF10)

Ten programmable macro keys that are located on the dust-proof door on the front panel of your workstation.

Macro EEPROM

Holds the key sequences that are activated when the corresponding macro key is pushed.

Macro programming utility

In the sub-directory, Drive&utility/FPM series/KBT-utility, of the HMI utility CD-ROM, you will find a program called SFED3220.COM. The SFED3220 program provides an edit function to produce an ASCII file that contains key stroke sequences for every macro key. After you have finished editing the file, the program will ask you whether you want to save the macro script and/or transmit it to the EEPROM. Macros consist of keystroke sequences to automate the most common procedures in your application. The way they function is much like batch files (.BAT) under DOS, but there are some differences. In a Macro, you have to specify the ENTER key explicitly. Also, macros give you the option of entering key sequences in an application that was executed by the macro itself.

FPM-3220 User’s Manual

18