Rockwell Automation AutoMax Enhanced Ladder Editor User Manual

Page 62

Advertising
background image

5Ć16

5.11.6

Clearing a Trigger

You can remove a set trigger for a selected rung. Once the trigger is

removed, the rung's status area returns to the state it was in prior to

the trigger being set.

To clear a trigger
Step 1.

Select the rung or at least one instruction in the rung

containing the trigger you want to remove. See Selecting

Rungs," section 2.2, or Selecting Instructions," section

2.7, for more information.

Step 2.

From the Online menu, select Capture Trigger. Move the

mouse to the right to display the Capture Trigger menu.

Step 3.

From the Capture Trigger menu, choose Clear Trigger.

The Editor also clears triggers when the selected rung is scrolled

out of view on the screen or when an online program is closed.

5.12

Setting and Forcing Variables in Ladder

Programs

You can set and force variables in ladder programs to put them

temporarily in a known state for debugging purposes. To set, force,

and unforce variables, you must have an online program window

open. You can set or force any global variable in the configuration or

any local variable present in a task that is loaded into the rack.
I

MPORTANT

You can force only simple variables. You cannot force

elementĆindexed or bitĆindexed variables. For example, you cannot

force variables like: vat.13, array_var[11], array_var[index_name],

array_var[11].12, or array_var[index_name].bit_name.

WARNING

THE SET AND FORCE FUNCTIONS BYPASS CONTROL OF THE APPLICATION

PROCESS BY THE APPLICATION PROGRAMS. IT IS THE RESPONSIBILITY OF

THE USER TO DETERMINE THE POTENTIAL HAZARDS INVOLVED. FAILURE TO

OBSERVE THESE PRECAUTIONS COULD RESULT IN BODILY INJURY.

WARNING

VARIABLES AND OUTPUTS THAT ARE FORCED BEFORE AC POWER IS LOST

WILL REMAIN FORCED WHEN AC POWER IS RESTORED. SHOULD AC POWER

BE LOST WHILE VARIABLES ARE FORCED, THE USER MUST ENSURE THAT

UNEXPECTED MACHINE MOVEMENT DOES NOT OCCUR WHEN AC POWER IS

RESTORED. FAILURE TO OBSERVE THESE PRECAUTIONS COULD RESULT IN

BODILY INJURY.

Advertising