Users manual

xix
Table of Contents
Adding Rungs ........................................................................................................15-18
Instruction Toolbars ..........................................................................................15-18
Branching ..............................................................................................................15-19
Entering Data Points, Titles, and Comments ......................................................15-19
Changing Instructions .......................................................................................15-20
Cut, Copy, Paste ................................................................................................ 15-20
UAF Search ......................................................................................................15-20
Repainting the Screen ....................................................................................... 15-20
Saving and Loading files ...................................................................................15-20
Deleting Rungs and Instructions .......................................................................15-20
Syntax Checking ...............................................................................................15-21
Compiling, Verifying and Uploading .....................................................................15-21
Running and Stopping Ladder Execution ...............................................................15-21
Ladder Program Statistics ..................................................................................15-22
Ladder Run Viewer ...........................................................................................15-22
Printing ............................................................................................................. 15-22
Viewing and Forcing Ladder Variables, Counters, Timers & Bits ...............................15-23
Ladder Variables ....................................................................................................15-23
Remote Variable Programming via Touch-Tone telephone.................................15-23
Ladder Timers ........................................................................................................15-23
Ladder Counters ....................................................................................................15-24
Ladder Bits ............................................................................................................15-24
Ladder Program Performance ................................................................................15-25
Examples ..........................................................................................................15-25
Ladder Program Examples ........................................................................................15-27
Chapter 16: PROGRAMMING IN C ........................................................ 16-1
Specifications ........................................................................................................... 16-1
About the C language .................................................................................................16-1
STRUCTURE ............................................................................................................16-2
KEYWORDS ...............................................................................................................16-4
PREDEFINED VARIABLES ............................................................................................16-7
MONTH, DAY, YEAR, HOURS, MINUTES, & SECONDS .........................................16-7
FUNCTION LIBRARY ...............................................................................................16-8
ARRAYS .................................................................................................................16-10
SAMPLE PROGRAM ..............................................................................................16-11
ERROR HANDLING ..............................................................................................16-12
C EDITOR .................................................................................................................16-13
Uploading, Compiling, & Starting ..................................................................... 16-14
Downloading .................................................................................................... 16-14
Run ...................................................................................................................16-14