產(chǎn)品展示
聯(lián)系我們
聯(lián)系人:麥女士
手機(jī):+86 15270269218
電話:
Q Q:3136378118
郵箱:stodcdcs@gmail.com
地址:江西省九江市瑞昌市東益路23號(hào)賽湖農(nóng)商城401號(hào)
MVI71-104S
標(biāo)簽說明
交換通常在讀取浮點(diǎn)數(shù)據(jù)時(shí)使用,交換讀取的數(shù)據(jù)
將從設(shè)備放入模塊內(nèi)存之前。對(duì)于
例如,您從從屬服務(wù)器(ABCD)接收4字節(jié)的數(shù)據(jù)。
0=無交換(ABCD)
1=切換的字對(duì)(CDAB)
2=字節(jié)和字交換(DCBA)
3=交換的字節(jié)(BADC)
節(jié)點(diǎn)網(wǎng)絡(luò)上要從中讀取數(shù)據(jù)或?qū)懭霐?shù)據(jù)的設(shè)備的節(jié)點(diǎn)地址
數(shù)據(jù)發(fā)送至。有效地址為1到247。地址0保留給
廣播寫入命令(將向所有
網(wǎng)絡(luò)上的設(shè)備)。
Func確定要在命令中發(fā)出的Modbus功能代碼
從設(shè)備。此字段的有效值如下所示:
1=讀取線圈狀態(tài)
這將讀取Modbus地址0001至9999。這些位值
指示線圈狀態(tài)。使用功能代碼5或15寫入這些
寄存器
2=讀取輸入線圈
這將讀取Modbus地址10001至29999。Like功能代碼
1,這些也是位值,但函數(shù)代碼2的值是只讀的
數(shù)據(jù)值。使用功能代碼5或15寫入這些寄存器
3=讀取保持寄存器
這將讀取Modbus地址40001至47999。這是一個(gè)16位字
價(jià)值使用功能代碼6和16寫入這些寄存器。
4=讀取輸入寄存器
這將讀取Modbus地址30001至39999。這些也是16位
word值,但為只讀數(shù)據(jù)。Modbus主機(jī)無法寫入
到這些寄存器。
5=強(qiáng)制(寫入)單線圈狀態(tài)
這將寫入Modbus地址0001至9999。此命令將
僅寫入一個(gè)線圈。使用功能代碼15寫入多個(gè)線圈。
6=預(yù)設(shè)(寫入)單個(gè)寄存器
這將寫入Modbus地址40001至47999。此命令
將單個(gè)寄存器值寫入從設(shè)備。使用功能代碼
16寫入多個(gè)寄存器。
15=強(qiáng)制(寫入)多線圈
這將向從機(jī)地址0001至9999寫入多個(gè)線圈值。
16=預(yù)設(shè)(寫入)多寄存器
這將在地址處向從設(shè)備寫入多個(gè)寄存器值
40001至49999。



Label Description Swap Typically used when reading floating-point data, swaps the data read from the Slave device before it is placed into the module memory. For example, you receive 4 bytes of data from the Slave (ABCD). 0 = No swapping (ABCD) 1 = Word pairs switched (CDAB) 2 = Bytes and words switched (DCBA) 3 = Bytes swapped (BADC) Node Node address of the device on the network to read data from, or write data to. Valid addresses are 1 to 247. Address 0 is reserved for broadcast write commands (will broadcast a Write command to all devices on the network). Func Determines the Modbus function code that to issue in the command to the Slave device. Valid values for this field are as follows: 1 = Read Coil Status This will read Modbus addresses 0001 to 9999. These bit values indicate coil status. Use Function Code 5 or 15 to write to these registers 2 = Read Input Coils This will read Modbus addresses 10001 to 29999. Like Function Code 1, these are also bit values, but Function Code 2 values are Read Only data values. Use Function Code 5 or 15 to write to these registers 3 = Read Holding Registers This will read Modbus addresses 40001 to 47999. This is a 16-bit word value. Use Function Codes of 6 and 16 to write to these registers. 4 = Read Input Registers This will read Modbus addresses 30001 to 39999. These are also 16-bit word values, but are Read Only data. The Modbus Master cannot write to these registers. 5 = Force (Write) Single Coil Status This will write to Modbus addresses 0001 to 9999. This command will write to only one coil. Use Function Code 15 to write to multiple coils. 6 = Preset (Write) Single Register This will write to Modbus addresses 40001 to 47999. This command writes a single register value out to a Slave device. Use Function Code 16 to write to multiple registers. 15 = Force (Write) Multiple Coil This will write multiple coil values to the Slave addresses 0001 to 9999. 16 = Preset (Write) Multiple Register This will write multiple register values to the Slave device at addresses 40001 to 49999.
相關(guān)產(chǎn)品