3
Preset Value
0 to 32,767
4
Timer Value
0 to 32,767
Examples: T,0,0 = This UAF indicates if Timer 0 is enabled or disabled
T,12,4 = This UAF references the current timer value of timer number 12
Counter
The SCADA 3000 contains 64 counters for use within the Ladder program. There are two
types of Counters, Count Up and Count Down. The Group for this type is the counter num-
ber from 0-63. The Element specifies an individual function for the selected counter. There
are 7 elements associated with each counter:
Element
Element
Range of
Number
Description
Values
0
Up Counter Enabled
0 or 1 (0=disabled, 1=enabled)
1
Down Counter Enabled
0 or 1 (0=disabled, 1=enabled)
2
Counter Done
0 or 1 (0=disabled, 1=enabled)
3
Counter Overflow
0 or 1 (0=disabled, 1=enabled)
4
Counter Underflow
0 or 1 (0=disabled, 1=enabled)
5
Counter Preset
-32,768 to 32,767
6
Counter Value
-32,768 to 32,767
Examples:
C,0,0 = This UAF indicates if Counter 0 is enabled or disabled
C,19,6 = This UAF references the current value of Counter number 19
Bit
The SCADA 3000 contains 4096 bits, arranged as 256 16-bit words, that can be used within
the Ladder program. Bits can only have one of two possible values, 0 or 1. The Group for this
type refers to the word number from 0 to 255. The Element refers to the actual bit number
from 0 to 15.
Word
Bit Number
Number
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0
1
0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0
2
0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1
:
:
Examples:
B,0,0 = This UAF refers to bit number 0 of word number 0
B,2,12 = This UAF refers to bit number 12 of word number 3
Ladder Variable
The SCADA 3000 contains 128 user-defined floating point variables for use within the Ladder
program. The Group specifies which of the 128 variables is referenced. The Element field is
not used and should be set to 0.
Examples:
V,0,0 = This UAF references ladder variable number 0
V,35,0 = This UAF references ladder variable number 35
10-7
Chapter 10: Generic Programming
Содержание Sensaphone SCADA 3000
Страница 1: ...Sensaphone SCADA 3000 User s Manual Version 2 34...
Страница 6: ...vi SCADA 3000 User s Manual...
Страница 10: ...x SCADA 3000 User s Manual...
Страница 30: ...1 6 SCADA 3000 User s Manual...
Страница 48: ...4 6 SCADA 3000 User s Manual...
Страница 70: ...9 8 SCADA 3000 User s Manual...
Страница 122: ...12 8 SCADA 3000 User s Manual...
Страница 190: ...15 30 SCADA 3000 User s Manual...
Страница 211: ...lead 1 lag 0 else lead 0 lag 1 16 21 Chapter 16 Programming in C...
Страница 212: ...16 22 SCADA 3000 User s Manual...
Страница 236: ...21 8 SCADA 3000 User s Manual...
Страница 248: ...22 12 SCADA 3000 User s Manual...
Страница 258: ...23 10 SCADA 3000 User s Manual...
Страница 274: ...25 8 SCADA 3000 User s Manual...
Страница 288: ...27 8 SCADA 3000 User s Manual...
Страница 294: ...28 6 SCADA 3000 User s Manual...
Страница 296: ...A 2 SCADA 3000 User s Manual...
Страница 302: ...D 2 SCADA 3000 User s Manual...
Страница 318: ...I 2 SCADA 3000 User s Manual...
Страница 320: ...J 2 SCADA 3000 User s Manual...
Страница 322: ...K 2 SCADA 3000 User s Manual...
Страница 335: ...Test Log...
Страница 336: ......