Weintek MODBUS RTU CONTROLLER MODBUS RTU (0x/1x Range Adjustable) PLC Connection PLC Connection Guide
PDF
سند
تبلیغات
تبلیغات
PLC Connection Guide MODBUS RTU (0x/1x Range Adjustable) Supported Series : MODBUS RTU CONTROLLER Website : http://www.modbus.org HMI Setting: Parameters Recommended PLC type MODBUS RTU (0x/1x Range Adjustable) PLC I/F RS485 RS232/RS485 Baud rate 9600 9600~115200 Data bits 8 7,8 Parity Even Even, Odd, None Stop bits 1 1,2 PLC sta. no. 1 0-255 Online simulator YES Extend address mode YES Options Notes PLC Setting: Communication mode Modbus RTU protocol Device Address: Bit/Word Device type Format Range Memo B 0x DDDDD 1 ~ 65535 Output bit B 1x DDDDD 1 ~ 65535 Input bit (read only) B 3x_Bit DDDDDdd 100 ~ 6553515 Input Register bit (read only) B 4x_Bit DDDDDdd 100 ~ 6553515 Output Register bit B B 6x_Bit DDDDDdd 0x_multi_coils DDDDD 100 ~ 6553515 1 ~ 65535 Output Register bit Write multiple coils W 3x DDDDD 1 ~ 65535 Input Register (read only) W 4x DDDDD 1 ~ 65535 Output Register DW 5x DDDDD 1 ~ 65535 4x double word swap W W 6x 4x_32Bit* DDDDD 1 ~ 65535 DDDDD 1 ~ 65535 4x single word write Output Register 4x_32Bit will only read / write 2 words for each package, for continuous addresses, it will be divided into several packages. 1 PLC Connection Guide NOTE: Address type “5x” is mapping to Hold Reg. The communication protocol of “5x” is almost the same as “4x” except that “5x” swaps double words. If 4x contains the following information: Address 1 2 3 4 5 6 Data in word 0x1 0x2 0x3 0x4 0x5 0x6 Data 0x20001 0x40003 0x60005 ... For 5x, it will be: Address 1 2 3 4 5 6 Data in word 0x2 0x1 0x4 0x3 0x6 0x5 Data 0x10002 0x30004 ... 0x50006 Modbus RTU function code: 0x 0x01 Read coil 0x05 Write single coil 0x_multi_coils 0x01 Read coil 0x0f Write multiple coils 1x 0x02 Read discrete input N/A for writing operation 3x 0x04 Read input register N/A for writing operation 4x 0x03 Read holding register 0x10 Write multiple registers 5x 0x03 Read holding register 0x10 Write multiple registers (Note: reverse word order in double words format) 3xbit is equivalent to 3x 4xbit is equivalent to 4x 6x 0x03 Read holding register 0x06 Write single register (Note: 6x is limited to device of one word only) 2 PLC Connection Guide Setting Instructions: 1. Go to [System Parameter Settings] ,click [New] to add a new device -Modbus RTU (0x 1x range adjustable),as shown below: 2. After adding Modbus RTU (0x 1x Range Adjustable) driver, [Add Address Range Limit] button will be enabled as below. Users can set maximum read/write command size here. ¾ Max.read-command size (words): Pull down to select PLC reading range. ¾ Max.write-command size (words): Pull down to select PLC writing range. Note: Setting [Add Address Range Limit] is enabled only when bit address is not a multiple of 16bit. 3 PLC Connection Guide 3. Click [Add Address Range Limit] button, Users can define 0x and 1x address range in [0x 1x Address Range] dialog box, referring to bit range of the device used. 4 PLC Connection Guide Add:Set [Station No.], [Device Type], [Min. Address], [Max. Address] then click [OK] to finish adding as below: Delete:The selected items will be deleted. Settings:Set [Station No.], [Device Type], [Min. Address], [Max. Address] then click [OK] to finish adding as below: Example: Take D2 and D8 of SCON as example, the settings depend on bit range of different PLC types. Set [Station No.] and address first. For D2, set [Station No.] to 20, [Device Type] 0x, [Max. Address] 36. For D8, set [Station No.] to 2, [Device Type] 0x, [Max. Address] 51. 5 PLC Connection Guide Note: If communicating with a RS-485 2W PLC, the [Turn around delay] setting may need to be adjusted according to the reply speed of the device. Please click [Settings] in [Device Properties], and set the [Turn around delay (ms)] parameter as shown: After completing all settings above, the communication is enabled. 6 PLC Connection Guide Wiring Diagram: The following represents the view of HMI & PLC. MODBUS RTU CONTROLLER : RS232 eMT3000 series COM1 RS232 9P D-Sub Female COM3 RS232 9P D-Sub Female RS232 9P D-Sub Female 2 RX 8 RX TXD 3 TX 7 TX RXD 5 GND 5 GND GND RTS CTS circuit MT6000/8000 series except MT6050i/MT8050i COM1 RS232 9P D-Sub Female COM2 RS232 9P D-Sub Female COM3 RS232 9P D-Sub Male RS232 9P D-Sub Female 2 RX 6 RX 8 RX TXD 3 TX 4 TX 7 TX RXD 5 GND 5 GND 5 GND GND RTS CTS circuit MT6050i/MT8050i COM1 RS232 9P RS232 9P D-Sub D-Sub Female Female 9 RX TXD 6 TX RXD 5 GND GND RTS CTS 7 circuit PLC Connection Guide The following represents the view of HMI & PLC. MODBUS RTU CONTROLLER : RS485 4W eMT3000 series COM1 RS485 4W 9P D-Sub Male RS485 4W 9P D-Sub Male 1 RX- TX- 2 RX+ TX+ 3 TX- RX- 4 TX+ RX+ 5 GND GND MT6000/8000 series except MT6050i/MT8050i COM1 RS485 4W 9P D-Sub Male RS485 4W 9P D-Sub Male 1 RX- TX- 2 RX+ TX+ 3 TX- RX- 4 TX+ RX+ 5 GND GND MT6050i/MT8050i COM1 RS485 4W 9P D-Sub Female RS485 4W 9P D-Sub Female 1 RX- TX- 2 RX+ TX+ 3 TX- RX- 4 TX+ RX+ 5 GND GND 8 PLC Connection Guide The following represents the view of HMI & PLC. MODBUS RTU CONTROLLER : RS485 2W eMT3000 series COM1 RS485 2W 9P D-Sub Male COM3 RS485 2W 9P D-Sub Male RS485 2W 9P D-Sub Male 1 RX- 6 Data- D- 2 RX+ 9 Data+ D+ 5 GND 5 GND GND MT6000/8000 series except MT6050i/MT8050i COM1 RS485 2W 9P D-Sub Male COM3 RS485 2W 9P D-Sub Male RS485 2W 9P D-Sub Male 1 RX- 6 Data- D- 2 RX+ 9 Data+ D+ 5 GND 5 GND GND COM1 RS485 2W 9P D-Sub Female COM3 RS485 2W 9P D-Sub Female RS485 2W 9P D-Sub Female 1 RX- 7 Data- D- 2 RX+ 8 Data+ D+ 5 GND 5 GND GND MT6050i/MT8050i Driver Version: Version Date V1.10 Aug/25/2010 V1.20 Mar/2/2012 Description Allow modifying the Minimum address of 0x、1x Address Range. 9 ">
/
دانلود
فقط یک یادآوری دوستانه. می توانید سند را درست در اینجا مشاهده کنید. اما مهمتر از همه، هوش مصنوعی ما قبلاً آن را خوانده است. این می تواند موارد پیچیده را به زبان ساده توضیح دهد، به سوالات شما به هر زبانی پاسخ دهد و به شما کمک کند به سرعت حتی طولانی ترین یا پیچیده ترین اسناد را پیمایش کنید.
تبلیغات