【正文】
in seconds TIME=到終值之前的剩余時間OUT = Output (Digital) turned ON when Preset value is reached or time reaches 0, depending on TIMDN input status.OUT:到達(dá)終值時輸出為ON遞增計時時: 從0或Preload到Preset(終值)遞減計時時: 從Preload或Preset到0(終值)Description 簡述The SW label stands for Analog Switch. This block is part of the Signal Selectors category. 標(biāo)簽SW代表模擬量選擇。屬于信號選擇器的范疇。Function 功用Selects input Y for output when digital input signal (SY) is ON.當(dāng)輸入端子SY為ON時選擇Y作為輸出。If SY = ON, then。 OUT = Y如果SY是ON則輸出YOtherwise, OUT = X否則輸出XInput 輸入X = First analog value 第一個模擬值Y = Second analog value 第二個模擬值SY = Select Y mand digital signal.SY選擇Y的數(shù)字信號Output輸出OUT = Selected valueOUT是選擇值觸發(fā)器 Description 簡述The TRIG label stands for Trigger or One Shot operation. This block is part of the Logic Blocks category. 標(biāo)簽TRIG代表觸發(fā)操作,屬于邏輯功能塊的范疇。Function 功用Turns a Logic output (OUT) ON for one logic scan cycle, when a logic input (X) goes from OFF to ON. 對于一個掃描周期如果邏輯輸入從低電位變到高電位,則邏輯輸出1。If X = ON and previous value of X was OFF, then: OUT = ON (one scan)如果X=ON并且在此以前為OFF則OUT=ON (一次掃描)Otherwise, OUT = OFF 如果X=OFF并且在此以前為ON則OUT=OFFInput 輸入X = Trigger mand signal X=觸發(fā)脈沖信號Output 輸出OUT = triggered pulse 觸發(fā)脈沖ATTENTION: 注意: The duration of the fast logic pulse output is 100ms or the fast logic cycle Description 簡述The UPDN label stands for UP/DOWN Counter. This block is part of the Counters/Timers category. 標(biāo)簽UPDN代表加/減計數(shù)器,屬于計數(shù)器/定時器的范疇Function 功用The output counts the number of rising edge logic transactions on the input to the block up to a preset value (RPRE or LPRE).輸出端累加向功能塊輸入的上升沿的個數(shù),到達(dá)預(yù)置值(遠(yuǎn)程預(yù)設(shè)或本地預(yù)設(shè))。 When the preset value is reached, a logic output (PREI) is enabled until a Reset input (RST) resets the block. A Reset input (RST) resets the block. 當(dāng)?shù)竭_(dá)預(yù)設(shè)值時,一個邏輯輸出被激活(端子PREI)直到復(fù)位輸入端(RST)復(fù)位功能塊。Value may be set to increase to the preset value or decrease from the preset (從0到Preset)或遞減計數(shù)(從Preset到0)Inputs 輸入^X = Positive Edge Detect Count Input 上升沿檢測輸入RPRE = Remote Preset 遠(yuǎn)程預(yù)設(shè)RST = ON resets the count 高電位將計數(shù)器復(fù)位CNTDN = ON counts down ON時遞減計數(shù) OFF時遞增計數(shù)Outputs 輸出OUT = Output 檢測到的上升沿的個數(shù)PREI = Preset Indicator 邏輯輸出寫變量Description 簡述The WVAR label stands for Write Variable. This block is part of the Auxiliary ,屬于輔助功能塊的范疇Function 功用Writes a new value to a selected Variable number. 向一個被選擇的變量寫入新值Select the target variable number from the specific function block reference data and enter it in the appropriate field in the Write Variable Number dialog ,并且寫入”White Variable Number”對話框的適當(dāng)位置。If EN is ON, then the Variable selected is set to the value of X. (For example: X = a constant value) 如果EN端子是高電位,則X的值可以被賦予被選擇的變量。(例如X=常數(shù))Inputs 輸入X = Value to be written to the selected variable被寫入的選擇變量的值EN = Enable mand 選能端主要功能是把X的值寫到第幾個變量。DescriptionThe XOR label stands for the Exclusive OR Boolean operation. This block is part of the Logic Blocks category. 標(biāo)簽XOR代表異或,屬于邏輯范疇FunctionTurns a digital output signal (OUT) ON only if one of two digital input signals (X, Y) is ON. Otherwise, the output is OFF.當(dāng)(X, Y)輸入端同時輸入數(shù)字信號ON時,輸就是OFF.If X = OFF and Y = ON, then: OUT = ON.設(shè) X輸入OFF ,Y輸入 ON時,輸出= ON.If X = ON and Y = OFF, then: OUT = ON.設(shè) X輸入ON,Y輸入OFF時,輸出= ON.If X = ON and Y = ON, or X = OFF and Y = OFF, then OUT = OFF.設(shè)X輸入ON,Y輸入ON時 。 X輸入OFF,Y輸入OFF時,輸出都= OFF.Input輸入X = First Digital Signal第一數(shù)字信號Y = Second Digital Signal第二數(shù)字信號Output輸出OUT = resultant digital signal輸出信號是數(shù)字信號25頁