Chapter 6 FBD Block Diagram Programming
132
Chapter 6: FBD Block Diagram Programming
FBD Instructions................................................................................................................................................. 133
FBD system memory space................................................................................................................................. 134
Analog................................................................................................................................................................. 136
Analog Input ............................................................................................................................................... 136
Analog Output............................................................................................................................................. 137
Coil Block Instruction......................................................................................................................................... 138
HMI............................................................................................................................................................. 139
PWM function block (only transistor output version)................................................................................. 140
IO Link function block................................................................................................................................ 142
SHIFT function block ................................................................................................................................. 144
Logic Block Instructions..................................................................................................................................... 145
AND Logic Diagram................................................................................................................................... 145
AND (EDGE) Logic Diagram .................................................................................................................... 145
NAND Logic Diagram................................................................................................................................ 146
NAND (EDGE) Logic Diagram.................................................................................................................. 146
OR Logic Diagram...................................................................................................................................... 146
NOR Logic Diagram................................................................................................................................... 147
XOR Logic Diagram................................................................................................................................... 147
SR Logic Diagram ...................................................................................................................................... 147
NOT Logic Diagram ................................................................................................................................... 147
Pulse Logic Diagram................................................................................................................................... 148
BOOLEAN Logic Diagram ........................................................................................................................ 148
Function Block.................................................................................................................................................... 149
Timer Function Block ................................................................................................................................. 150
Common Counter function block................................................................................................................ 158
High Speed Counter Function Block (DC Version Only) ........................................................................... 164
RTC Comparator Function Block ............................................................................................................... 166
Analog Comparator Function Block ........................................................................................................... 171
AS (ADD-SUB) function block .................................................................................................................. 174
MD (MUL-DIV) function block ................................................................................................................. 175
PID (Proportion- Integral- Differential) function block.............................................................................. 176
MX (Multiplexer) function block................................................................................................................ 177
AR (Analog-Ramp) function block............................................................................................................. 178
Example: ..................................................................................................................................................... 181
DR (Data-Register) function block ............................................................................................................. 182
MU (Modbus) function block ..................................................................................................................... 183
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor