產(chǎn)品展示
聯(lián)系我們
聯(lián)系人:麥女士
手機:+86 15270269218
電話:
Q Q:3136378118
郵箱:stodcdcs@gmail.com
地址:江西省九江市瑞昌市東益路23號賽湖農(nóng)商城401號
MVI56-MNET
ModDef設(shè)置
MCM。配置。MODDEF標記定義用于讀取的5000個數(shù)據(jù)寄存器
并在MVI56-MCM模塊內(nèi)寫入數(shù)據(jù)。您將使用這些數(shù)據(jù)讀取和
在每個主命令內(nèi)的IntAddress標記中寫入位置(第45頁)。
下圖顯示了示例程序中的值。
WRITESTARTREG標記確定
WRITEDATA[0到599]數(shù)組。WRITEREGCNT標記確定
5000個寄存器用于向模塊發(fā)送數(shù)據(jù)。示例梯形圖文件使用
600個寫數(shù)據(jù)寄存器,標記為MCM。WRITEDATA[0到599]。
標簽說明
WRITESTARTREG指定在5000寄存器模塊內(nèi)存中放置發(fā)送數(shù)據(jù)的位置
來自ControlLogix處理器中的WriteData標記。
WRITEREGCNT指定MVI56-MCM模塊將有多少個數(shù)據(jù)寄存器
來自ControlLogix處理器的請求。因為模塊頁面
數(shù)據(jù)以200字為單位,此數(shù)字必須能被
200
READSTARTREG指定模塊讀取數(shù)據(jù)區(qū)域中要發(fā)送到的寄存器
ControlLogix處理器中的ReadData標記。
READREGCNT設(shè)置MVI56-MCM模塊將發(fā)送到的數(shù)據(jù)寄存器數(shù)量
ControlLogix處理器。該值還應(yīng)為200的倍數(shù)。
BPFAIL設(shè)置將導(dǎo)致
模塊停止Modbus網(wǎng)絡(luò)上的通信。通常使用
當模塊配置為從模塊時。
ERRSTATPTR也主要用于將模塊配置為從屬模塊時。這
參數(shù)將狀態(tài)數(shù)據(jù)放置到模塊的數(shù)據(jù)庫中。



ModDef Settings The MCM.CONFIG.MODDEF tag defines the 5000 data registers to use for read and write data within the MVI56-MCM module. You will use these data read and write locations in the IntAddress tag within each Master Command (page 45). The following illustration shows the values from the sample program. The WRITESTARTREG tag determines the starting register location for the WRITEDATA[0 to 599] array. The WRITEREGCNT tag determines how many of the 5000 registers to use to send data to the module. The sample ladder file uses 600 registers for write data, labeled MCM.WRITEDATA[0 to 599]. Label Description WRITESTARTREG Specifies where in the 5000 register module memory to place data sent from the WriteData tags in the ControlLogix processor. WRITEREGCNT Specifies how many registers of data the MVI56-MCM module will request from the ControlLogix processor. Because the module pages data in blocks of 200 words, this number must be evenly divisible by 200. READSTARTREG Specifies which registers in the module’s read data area to send to the ReadData tags in the ControlLogix processor. READREGCNT Sets how many registers of data the MVI56-MCM module will send to the ControlLogix processor. This value should also be a multiple of 200. BPFAIL Sets the consecutive number of backplane failures that will cause the module to stop communications on the Modbus network. Typically used when the module is configured as a Slave. ERRSTATPTR Also used mainly when the module is configured as a Slave. This parameter places the STATUS data into the database of the module.
相關(guān)產(chǎn)品