產(chǎn)品細節(jié)介紹
XVC768102通道隔離卡件
Modbus的RTU版本包括每個傳輸?shù)膬勺止?jié)CRC-16(16位循環(huán)冗余校驗)。這個CRC-16算法基本上將整個數(shù)據(jù)流(僅數(shù)據(jù)位;忽略開始、停止和奇偶校驗)視為一個連續(xù)的數(shù)據(jù)流
二進制數(shù)。該數(shù)字首先左移16位,然后除以特征多項式(1100000000000000101B)。除法的16位余數(shù)被附加到傳輸?shù)哪┪?,首先是LSByte。這個結(jié)果消息(包括CRC)在接收器處除以相同的多項式時,如果否,將給出零余數(shù)發(fā)生傳輸錯誤。
如果369 Modbus從設(shè)備接收到CRC-16計算指示錯誤的傳輸,則從設(shè)備設(shè)備不會響應(yīng)傳輸。CRC-16錯誤表示傳輸?shù)囊粋€或多個字節(jié)接收錯誤,因此應(yīng)忽略整個傳輸,以避免369執(zhí)行任何錯誤活動
CRC-16計算是用于錯誤檢測的行業(yè)標準方法。這里包括一個算法來幫助程序員在沒有標準CRC-16計算例程可用的情況下。用戶可定義內(nèi)存映射區(qū)369有一個強大的功能,稱為用戶可定義內(nèi)存映射,它允許計算機使用一個Modbus數(shù)據(jù)包讀取多達124個不連續(xù)的數(shù)據(jù)寄存器(設(shè)置點或?qū)嶋H值)。主計算機通常需要連續(xù)輪詢每個連接的從屬繼電器中的各種值。如果這些值分散在存儲地圖,讀取它們將需要多次傳輸,并會給通信鏈路帶來負擔。用戶可對可定義內(nèi)存映射進行編程,以將任何內(nèi)存映射地址連接到連續(xù)用戶映射塊中的一個地址位置,以便可以通過讀取這些連續(xù)的位置來訪問它們。
用戶可定義區(qū)域有兩個部分:
1.包含125個實際值或設(shè)定點寄存器的寄存器索引區(qū)域(內(nèi)存映射地址0180h-01FCh)地址。
2.寄存器區(qū)域(內(nèi)存映射地址0100h-017Ch),包含寄存器索引中地址處的數(shù)據(jù)。
內(nèi)存映射其余部分中分隔的寄存器數(shù)據(jù)可以重新映射到用戶中的相鄰寄存器地址可定義寄存器區(qū)域。這是通過在用戶可定義的寄存器索引區(qū)域中寫入寄存器地址來實現(xiàn)的。這允許改進數(shù)據(jù)的吞吐量,并可以消除對多個讀取命令序列的需要。例如,如果需要從369讀取平均相電流(寄存器地址0306h)和最熱定子RTD溫度(寄存器地址0.320h)的值
它們的地址可以重新映射如下:
1.使用功能代碼06或16將0306h寫入地址0180h(用戶可定義寄存器索引0000)。
2.使用功能代碼06或16將0320h寫入地址0181h(用戶可定義寄存器索引0001)。
寄存器0100h(用戶可定義寄存器0000)的讀?。üδ艽a03或04)將返回A相電流,寄存器0101h(用戶定義寄存器0001)將返回最熱定子RTD溫度。
10.4.3事件記錄器
369事件記錄器數(shù)據(jù)從地址3000h開始。地址3003h是指向相關(guān)事件的指針(1表示最古老的事件和40代表最新的事件。要檢索事件1,請將“1”寫入事件記錄選擇器(3003h),然后讀取3004h至3022h的數(shù)據(jù)。要檢索事件2,請將“2”寫入事件記錄選擇器(3003h)并讀取數(shù)據(jù)從3004小時到3022小時??梢杂眠@種方式檢索所有40個事件??梢允褂妹總€事件的時間和日期戳確保所有事件都已按順序檢索,而新事件不會破壞事件序列(事件1應(yīng)該比事件2更新,事件2應(yīng)該比事件3更新,等等)。
The RTU version of Modbus
includes a two byte CRC-16 (16 bit cyclic redundancy check) with every transmission. The CRC-16 algorithm essentially treats the entire data stream (data bits only; start, stop and parity ignored) as one continuous binary number. This number is first shifted left 16 bits and then divided by a characteristic polynomial (11000000000000101B). The 16 bit remainder of the division is appended to the end of the transmission, LSByte first. The resulting message including CRC, when divided by the same polynomial at the receiver will give a zero remainder if no transmission errors have occurred. If an 369 Modbus slave device receives a transmission in which an error is indicated by the CRC-16 calculation, the slave device will not respond to the transmission. A CRC-16 error indicates than one or more bytes of the transmission were received incorrectly and thus the entire transmission should be ignored in order to avoid the 369 performing any incorrect operation. The CRC-16 calculation is an industry standard method used for error detection. An algorithm is included here to assist programmers in situations where no standard CRC-16 calculation routines are available.
USER DEFINABLE MEMORY MAP AREA
The 369 has a powerful feature, called the User Definable Memory Map, which allows a computer to read up to 124 nonconsecutive data registers (setpoints or actual values) by using one Modbus packet. It is often necessary for a master computer to continuously poll various values in each of the connected slave relays. If these values are scattered throughout the memory map, reading them would require numerous transmissions and would burden the communication link. The User Definable Memory Map can be programmed to join any memory map address to one in the block of consecutive User Map locations, so that they can be accessed by reading these consecutive locations. The User Definable area has two sections: 1. A Register Index area (memory map addresses 0180h-01FCh) that contains 125 Actual Values or Setpoints register addresses. 2. A Register area (memory map addresses 0100h-017Ch) that contains the data at the addresses in the Register Index. Register data that is separated in the rest of the memory map may be remapped to adjacent register addresses in the User Definable Registers area. This is accomplished by writing to register addresses in the User Definable Register Index area. This allows for improved through-put of data and can eliminate the need for multiple read command sequences. For example, if the values of Average Phase Current (register address 0306h) and Hottest Stator RTD Temperature (register address 0320h) are required to be read from an 369,
their addresses may be remapped as follows:
1. Write 0306h to address 0180h (User Definable Register Index 0000) using function code 06 or 16. 2. Write 0320h to address 0181h (User Definable Register Index 0001) using function code 06 or 16. A read (function code 03 or 04) of registers 0100h (User Definable Register 0000) will return the Phase A Current and register 0101h (User Definable Register 0001) will return Hottest Stator RTD Temperature. 10.4.3 EVENT RECORDER The 369 event recorder data starts at address 3000h. Address 3003h is a pointer to the event of interest (1 representing the oldest event and 40 representing the latest event. To retrieve event 1, write ‘1’ to the Event Record Selector (3003h) and read the data from 3004h to 3022h. To retrieve event 2, write ‘2’ to the Event Record Selector (3003h) and read the data from 3004h to 3022h. All 40 events may be retrieved in this manner. The time and date stamp of each event may be used to ensure that all events have been retrieved in order without new events corrupting the sequence of events (event 1 should be more recent than event 2, event 2 should be more recent than event 3, etc.).
公司主營產(chǎn)品圖展示
產(chǎn)品優(yōu)勢
1:國外專業(yè)的供貨渠道,具有價格優(yōu)勢
2:產(chǎn)品質(zhì)量保證,讓您售后無憂
3:全國快遞包郵
4:一對一服務(wù)
公司主營范圍簡介
PLC可編程控制器模塊,DCS卡件,ESD系統(tǒng)卡件,振動監(jiān)測系統(tǒng)卡件,汽輪機控制系統(tǒng)模塊,燃氣發(fā)電機備件等,優(yōu)勢品牌:Allen Bradley、BentlyNevada、ABB、Emerson Ovation、Honeywell DCS、Rockwell ICS Triplex、FOXBORO、Schneider PLC、GE Fanuc、Motorola、HIMA、TRICONEX、Prosoft等各種進口工業(yè)零部件、歐美進口模塊。
產(chǎn)品廣泛應(yīng)用于冶金、石油天然氣、玻璃制造業(yè)、鋁業(yè)、石油化工、煤礦、造紙印刷、紡織印染、機械、電子制造、汽車制造、塑膠機械、電力、水利、水處理/環(huán)保、鍋爐供暖、能源、輸配電等等