Chapter 6 FBD Block Diagram Programming
134
FBD system memory space
The size of a FBD program in SG2 is limited by the memory space (memory used by the blocks).
Resources available in SG2:
Block number
System memory (byte)
260 6000
※
Each FBD block’s size isn’t restricted, it depends its function.
※
Function Block includes three kinds of function: special function, adjust-controlling function and communication
function. Function type and number are shown in the table below.
Function type
Number
Timer (T)
250
Counter (C)
250
RTC (R)
250
special function
Analog Comparator (G)
250
Addition and Subtraction (AS)
250
Multiplication and Division (MD)
250
PID control (PI)
30
Multiplexer (MX)
250
Analog Ramp control (AR)
30
adjust-controlling function
data register (DR)
240
communication function
Modbus instruction (MU)
250
※
Each function block occupied a BLOCK; the available number is limited by the number of B, system memory
space and function block number.
Function Block number
Block
number
System
memory
(byte)
T
C
R
G
AS
MD
PI
MX AR DR
MU
Total source
260
6000
250 250 250
250
250
250
30
250 30 240
250
Timer mode 0
1
5
1
Timer mode1~6
1
10
1
Timer mode 7
1
12
2
Counter mode 0
1
5
1
Counter mode 1~7
1
14
1
Counter mode 8
1
16
1
RTC mode 0
1
5
1
RTC mode 1~4
1
11
1
Analog mode 0
1
5
1
Analog
mode
1~7 1 12 1
AS
1
11 1
MD 1
11
1
PID 1
17
1
MX 1
17
1
AR 1
23
1
DR 1
6
1
MU 1
12
1
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor