Entering of Duration while Using Timers

Top  Previous  Next

 

While starting the duration of timers has to be there in accu 1 resp. has to be specified in FBD or LAD at the TW-input in the 4-digit BCD format, the fourth decimal place (thousands) specifies the time base:

 

      0      0,01s

      1      0,1 s

      2      1 s

      3      10 s

 

The loading of the accu with such a coded number happens easiest by the instruction

L   S5T#.     The duration is specified in the format ‘hHmMsSmsMS’.

Example:

 

             S5T#1H20M           1 hour 20 minutes

             S5T#3M10S400MS      3 minutes 10 seconds and

                                 400 milli seconds

             S5T#5S              5 seconds

 

The time base is selected with this entering format as small as possible automatically.

The maximum timer is 999 * 10 s = 2 h 46 min 30 sec.

Because the duration that is specified in units of the time base can only go up to 999 the less significant decimal places will disappear if the timer is specified too exactly:

 

             S5T#2H500MS         changes into        S5T#2H.

 

The T#....-format is not suitable for loading of the timer value in the correct format because so coded timer durations are loaded as double integer in ms into the accu!

 

Timers in general