Ladder Logic Programming Tutorial   STEP 2      backbutton.gif (507 bytes)  nextbutton.gif (690 bytes)

 
  1. Timer table has an extra column "Set Value" located to the right of the "Label Name" column.

  2. After you have entered the label name "Duration" for Timer #1, a  text entry box is opened up at the "Set Value" location of Timer #1 for you to enter the SV for the timer. SV range is between 0 and 9999. Enter the value 1000 at this location.

  3. For a normal timer with 0.1s time base, the value 1000 represents 100.0 seconds, which means that the "Duration" timer will time-out after 100.0 seconds. If the timer had been configured as "High Speed Timer"  using the TBASIC "HSTimer" command, then the time-base would become 0.01s, meaning the value 1000 represents only 10.00 seconds.

tutorial1b1.gif (6541 bytes)
  1. We are now left to define the sequencer, "Seq1". The sequencer is an extremely useful device for implementing sequencing logic found in many automated equipment. i-TRiLOGI supports 8 sequencers of 32 steps each. Each sequencer requires a "Step counter" to keep track of the current step sequence.

    The first 8 counters in the counter table double as the step counters for the 8 sequencers. These sequencers must be named "Seq1" to "Seq8" if they are to be used, i.e. Counter #1 to be named as "Seq1", Counter #2 as "Seq2", etc. However, any counter not used as sequencer may assume any other name (up to a maximum of 10 characters) if they are used as ordinary counters.

If you are at the "Timers" table, pressing the right cursor key again  will bring up the "Counters" table. Enter the name: "Seq1" at the label column for Counter #1. Press <Enter> and the text entry field will be opened at the  "Set Value" column. For now, let's enter a preset value of "4" for "Seq1".

  1. We have now completed defining the I/Os, timers and counters. Press the <ESC> key to close the counter or other tables. Note that not all labels need to be defined before programming. You may create the label names any timer during circuit creation by pressing hotkeys <F2>.


Back to Assignment backbutton.gif (507 bytes)      nextbutton.gif (690 bytes) Go To STEP3