Example Programs |
| 105 |
205 |
305 |
350 |
405 |
T&D |
File
Name
|
Description
|
|
x |
|
|
x |
|
2_ascii.zip |
This file contains both documentation and examples of how the bottom
port of a 240 or 440 CPU could be used to send and receive ASCII data. |
|
x |
|
|
|
|
250ascii.zip |
This file contains an examples of how the bottom port of a 250 CPU
could be used to send and receive ASCII data. You should get the documentation
in 2_ascii.zip also for more information on how the ASCII information
is stored in the CPU. |
|
|
x |
|
|
|
Link to 340
CPU Configuration page. |
Example of how to configure port 2's communication parameters. |
|
x |
|
x |
x |
|
2_sqr.zip |
This file shows how the square root of a value between 1 and 9999
could be calculated. The resulting value has 2 implied decimal points.
The square root is determined by using an iterative approximation,
and therefore this algorithm requires a long time to execute. |
|
x |
x |
|
|
|
|
1_rpm.zip |
Example of how to calculate RPM for a device connected to the High
Speed Counter inputs on the 105 CPU. |
|
x |
|
|
|
|
2profile.zip |
This app shows how to combine Straight Velocity and Accel/Decel profiles
in mode 30. |
|
x |
|
|
|
|
|
105_trap_reg.zip |
This file that contains two projects for 105 mode 30 pulse output;
one for trapezoidal profile and one for registration. These projects
are enhancements of the examples show in the manual on pages 3-31
and 3-34 in that they provide logic for useing a momentary start pushbutton
instead of a maintained button. |
|
x |
|
x |
x |
|
commerr.zip |
This program shows how communication errors can be detected when using
the RX and WX instructions. |
| x |
x |
|
x |
x |
|
safety.zip |
This example shows how to program a two button safety system for operators
working around presses. |
| x |
x |
|
x |
x |
|
opt_comm_f.zip |
Example of how to detect that the Optimation panel is no longer communicating
from within the CPU. |
|
x |
|
x |
x |
|
countdown.zip |
This example shows how to convert the current value of a timer or
counter so that it appears to count down instead of up. This is useful
for displays on an operator interface or for relational contacts to
trigger an action at a low limit. |
|
x |
|
x |
x |
|
runtime.zip |
This project will create a table of values generated by measuring
the times an input is energized. |