DS200KLDBG1ABC燃機卡件,DS200KLDBG1ABC怎么使用
90-30系列可編程邏輯的2通道模擬電流輸出模塊控制器提供兩個輸出通道,每個通道能夠轉換12位二進制(數字)數據傳輸到模擬輸出,以便根據應用程序的需要使用。模擬電流輸出模塊能夠提供0至20 mA范圍內的輸出。決議轉換信號為12位二進制(4096中的1部分)。轉換中不使用符號位過程每次掃描時(約5毫秒),兩個通道都會更新。
DS200KLDBG1ABC燃機卡件中的用戶數據%AQ寄存器采用16位2的補碼格式。來自%AQ寄存器由PLC轉換為符號幅度,并發送到模塊。第十二個位由D/A轉換器使用;第13位(符號)用于確定是否為負數據已發送到模塊。數據字中13位的位置如下所示。之間的關系D/A轉換器的電流輸出和數據如圖3-34和3-35所示。如果模塊被發送負數據,則輸出電流范圍的低端(即4 mA4至20 mA范圍)。如果輸入了超出范圍的值(即大于32767),軟件不接受該值。該模塊提供兩個輸出范圍。默認范圍為4至20 mA,用戶數據按比例縮放因此,計數0對應4 mA,計數32000對應20 mA1000個計數代表0.5 mA。當跳遠器(RANGE1或RANGE2)處于添加到輸入/輸出端子板,輸出范圍為0至20 mA,用戶數據按比例縮放,以便計數0對應于0 mA,計數32000對應于20 mA,每個800計數表示0.5 mA。每個輸出的范圍可以單獨編程。這個該模塊在任一范圍內提供完整的12位分辨率。輸出的縮放如所示圖3-36和3-37。
The 2-Channel Analog Current Output module for the Series 90-30 Programmable Logic
Controller provides two output channels, each capable of converting 12 bits of binary (digital)
data to an analog output for use as required by your application. The Analog Current Output
module is capable of providing outputs in the range of 0 to 20 mA. Resolution of the
converted signal is 12 bits binary (1 part in 4096). The sign bit is not used in the conversion
process. Both channels are updated on every scan (about 5 milliseconds). User data in the
%AQ registers is in a 16-bit 2’s complement format. The 13 most significant bits from the
%AQ register are converted to sign magnitude by the PLC and sent to the module. Twelve of
the bits are used by the D/A converter; the 13th bit (sign) is used to determine if negative data
was sent to the module.
The placement of the 13 bits within the data word is shown below. The relationship between
the current output and the data from the D/A converter is shown in Figures 3-34 and 3-35.If the module is sent negative data, it outputs the low end of the current range (that is, 4 mA for
the 4 to 20 mA range). If a value which is out of range is entered (that is. greater than 32767),
the software does not accept the value.
This module provides two output ranges. The default range is 4 to 20 mA with user data scaled
so that a count of 0 corresponds to 4 mA and a count of 32000 corresponds to 20 mA with each
1000 counts representing 0.5 mA. When a RANGE jumper (either RANGE1 or RANGE2) is
added to the I/O terminal board, the output range is 0 to 20 mA with user data scaled so that a
count of 0 corresponds to 0 mA and a count of 32000 corresponds to 20 mA with each 800
counts representing 0.5 mA. The range of each output can be programmed individually. The
module provides a full 12 bits of resolution in either range. Scaling of the output is as shown in
Figures 3-36 and 3-37.