Rockwell Automation AutoMax Enhanced Ladder Editor User Manual
Page 16
1Ć8
Hardware events are generated by an external condition. These
AutoMax modules can set a hardware event:
D UDC module (57652)
D Pulse Tach Input module (57C421)
D Resolver Input module (57C411)
D 2ĆChannel Analog Input module (57C409)
D 32ĆBit Digital Input module (57C419)
However, hardware events cannot be used on the AutoMax PC3000.
See a module's instruction manual for information about interrupts.
For more information, see section 1.11.2.
Software events are flags generated by other programs. Software
events can be set by BASIC, control block, or ladder programs. For
information about programming software events, see your
programming language's instruction manual and section 1.11.3.
1.11.1
Specifying a Scan Time To Control Program
Execution
For a ladder program, you can define how often you want the
program to execute by defining scan time in ticks. The actual scan
time of a program is determined by this formula:
scan time (ms) = tick rate of the Processor module * number of ticks
Define the scan time by using the Scan Info tab under Program
Properties.
To define how often you want your program to execute
Step 1.
Access Program Properties. Make sure no rung or
instruction is selected, and choose Properties from the
File menu.
Step 2.
Choose the Scan Info tab.
Step 3.
Select Scanned for the Scan Mode.
Step 4.
In the Scan Time (ticks) field, enter the number of ticks
you want to use. Enter a value from 1 to 32767. The
default value is 20.
For example, if you want a program to execute every 30
ms, and the Processor has a tick rate of 3 ms, enter 10 in
the Scan Time field.
Step 5.
Click OK to accept the changes.
1.11.2
Specifying a Hardware Event To Control Program
Execution
Hardware events are generated by an external condition, such as a
digital input or a programmed hardware event from a Resolver
module. Specify the hardware event that triggers a program's
execution by using the Scan Info tab under Program Properties.