Siemens Sentron PAC4200
Siemens Sentron PAC4200
FBD 功能圖如下:
STL語句表如下:
A I 0.0
CU C 10 計數(shù)器加計數(shù)
A I 0.1
CD C 10 計數(shù)器減計數(shù)
A I 0.2
S C 10 計數(shù)初值預(yù)置
L C#55 裝入計數(shù)初值到ACCU1
A I 0.3
R C 10 計數(shù)器C10復(fù)位
A C 10
= Q 4.0
l 當(dāng)輸入信號I 0.2由“0”變?yōu)?ldquo;1”時,計數(shù)初值55被裝入計數(shù)器C10;
l 如果輸入信號I 0.0由“0”變?yōu)?ldquo;1”,計數(shù)器C10的計數(shù)值加1(除非C10的計數(shù)值已達(dá)到999);
l 如果輸入信號I 0.1由“0”變?yōu)?ldquo;1”,計數(shù)器C10的計數(shù)值減1;(除非C10的計數(shù)值已減到0);
l 如果輸入信號I 0.3由“0”變?yōu)?ldquo;1”,計數(shù)器C10被復(fù)位,計數(shù)值為0;
l 只要計數(shù)器C10的計數(shù)值不為0,則Q 4.0輸出就為“1”。
ALLEN BRADLEY 1791-N4V2 I/O BLOCK 120VAC 6 POINT ANALOG MODULE
ALLEN BRADLEY 1791-NDC I/O BLOCK 120VAC 6 POINT ANALOG MODULE
ALLEN BRADLEY 1791-NDV I/O BLOCK 120VAC 6 POINT ANALOG MODULE
ALLEN BRADLEY 1791-TB2 TERMINAL, 30 POSITION, 10 PCS KIT
ALLEN BRADLEY 1791D-OB16P 24VDC I/O BLOCK 16 OUT SOURCE REMOVABLE TAB
ALLEN BRADLEY 1791D-OB16PX BLOCK I/O EXPANSION 24VDC 16 OUT SOURCE RTB
ALLEN BRADLEY 1791D-OV16P 24VDC I/O BLOCK EXPANSION 16 IN SINK RTB
ALLEN BRADLEY 1791D-OV16PX BLOCK I/O EXPANSION 24VDC 16 OUT SOURCE RTB
ALLEN BRADLEY 1791D-16BO BLOCK I/O 24VDC 16 IN SINK REMOVABLE TB
ALLEN BRADLEY 1791D-16BOX 24VDC I/O BLOCK EXPANSION 16 IN SINK RTB
ALLEN BRADLEY 1791D-16VO BLOCK I/O EXPANSION 24VDC 16 OUT SOURCE RTB
ALLEN BRADLEY 1791D-16VOX BLOCK I/O EXPANSION 24VDC 16 OUT SOURCE RTB
ALLEN BRADLEY 1791D-8B8P 24VDC I/O BLOCK 8 IN SINK 8 OUT SOURCE RTB