Variables, Menu items, Program flow – Yaskawa SMCGUI-THK1 User Manual

Page 21

Advertising
background image

17

Variables

When variables are entered into the program, they automatically

appear in the variable table. Variables in the program must be
initialized. Specify a value for all variables used in the program
or the compiler will prompt for values.

Menu Items

The File menu contains the standard items that allow the user to

create a new project (New), open an existing project (Open), save
the current project (Save), and create a copy of the current project
with a new name (Save As).

The Project menu allows the user to create a downloadable

program file (Compile), to download the executable program to
the controller (Send to Controller/Download), and to save the
current project (Send Project File to Controller) on the controller.

All of the questions in the modules must be answered and at least

one move sequence with a minimum of one event existing before
the user is allowed to compile.

The Tools menu allows the user to rerun the VLA slide selection

Wizard if the user needs to change the model number.

Program Flow

The program will begin running immediately after it is

downloaded or whenever the power is cycled. It will set all
necessary parameters, wait for the condition chosen to energize
the servomotor, and then enter either the manual or automatic
mode. If input 8 is High/Off, the program enters Manual mode. If
it is Low/On, Auto mode is engaged; but only after the servo is
enabled the first time.

Manual mode allows the user to enable and disable the servo (if

the choice to energize the servo was by input or variable), and
once the servo is enabled, to jog forward or reverse. Jogging
forward or reverse is achieved by pressing the reverse or forward
limit switch respectively. Jogging will continue for as long as the
switch is held on.

Advertising