西門子變頻器定時器有哪幾種?
定時器類型|用 秒MS表示分表率|用秒s表示最大當(dāng)前值|定時器型號|
TONR|1ms|32.767s|T0,T64|
10ms|327.67s|T1-T4,T65-T68|
100ms|3276.7s|T5-T31,T69-T95|
TON,TOF|1ms|32.767s|T32,T96|
10ms|327.67s|T33-T36,T97-T100|
100ms|3276.7s|T37-T63,T101-T255|
CTU|加計(jì)數(shù)器|0 to 255|
CTD|減計(jì)數(shù)器|0 to 255|
CTUD|加/減計(jì)數(shù)器|0 to 255|
SR|置位優(yōu)先位觸發(fā)器|RS|復(fù)位優(yōu)先觸發(fā)器|
數(shù)據(jù)類型
基本數(shù)據(jù)類型|內(nèi)容|數(shù)據(jù)范圍|
BOOL (1位)|布爾型|0 to 1|
BYTE(8位)|無符號型|0 to 255|
WORD(16位)|無符號型整數(shù)|0 to 65536|
INT (16位)|有符號整數(shù)|-32768 to 32767|
DWORD(32位)|無符號雙整數(shù)|0 to 2E32-1|
DINT(32位)|有符號雙字整數(shù)|-2E31 to2E31-1|
REAL(32位)|IEEE32位浮點(diǎn)數(shù)|-10E38 to 10E38|
直接地址數(shù)據(jù)類型:
名字|地址|數(shù)據(jù)類型|注釋|
Var1|REAL|這是浮點(diǎn)數(shù)變量|
Var2|DINT|這是雙整數(shù)變量|
Var3|INT|這是整數(shù)變量|
轉(zhuǎn)換指令:
轉(zhuǎn)換指令|操作數(shù)的完全數(shù)據(jù)類型檢查|操作數(shù)的數(shù)據(jù)類型檢查|
BYTE TO INT |IN:|OUT:|IN: BYTE|OUT:WORD,INT|
INT TO BYTE|IN:|OUT:|IN: WORD,INT|OUT: BYTE|
INT TO DINT|IN:|OUT:|IN: WORD,INT|OUT:DWORD,DINT|
DINT TO INT|IN:|OUT: