SlideShare a Scribd company logo
1 of 8
Download to read offline
WECON Technology Co., Ltd.
Modbus setting in
COM2 for WECON PLC
WECON Technology Co., Ltd.
Website: http://www.we-con.com.cn/en
Technical Support: liux@we-con.com.cn
Skype: fcwkkj
Phone: 86-591-87868869
Forums: http://wecon.freeforums.net/
WECON Technology Co., Ltd.
Ⅰ. Protocol Setting (D8126)
Protocol Description Value of D8126
WECON PLC Protocol Using WECON PLC Protocol 01H
MODBUS RTU Master PLC is slave device 02H
MODBUS ASCII Master PLC is slave device 03H
MODBUS RTU Slave PLC is master device 20H
MODBUS ASCII Slave PLC is master device 30H
Ⅱ. Communication Format (D8120)
Item parameter Bit value of D8120
b7 b6 b5 b4 b3 b2 b1 b0
Baud rate
(Bps)
115200 1 1 0 0 - - - -
57600 1 0 1 1 - - - -
38400 1 0 1 0 - - - -
19200 1 0 0 1 - - - -
9600 1 0 0 0 - - - -
4800 0 1 1 1 - - - -
Stop bit 1 bit - - - - 0 - - -
2 bit - - - - 1 - - -
Parity
None - - - - - 0 0 -
Odd - - - - - 0 1 -
Even - - - - - 1 1 -
Data bit 7 bit - - - - - - - 0
8 bit - - - - - - - 1
Example: the communication format is 9600.1.8.None, b7b6b5b4=1000, b3=0, b2b1=00, b 0=1.
D8120=81H ( (10000001)2=81H, 81H means hexadecimal number)
Ⅲ. WECON PLC - MODBUS (Slave) addresses rules
PLC Bit Address
PLC Address MODBUS Address
Hex Decimal
M0 ~ M3071 0 ~ 0xBFF 0 ~ 3071
M8000 ~ M8256 0x1F40 ~ 0x2040 8000 ~ 8256
S0 ~ S999 0xE000 ~ 0xE3E7 57344 ~ 58343
T0 ~ T256 0xF000 ~ 0xF100 61440 ~ 61696
C0 ~ C255 0xF400 ~ 0xF4FF 62464 ~ 62719
X0 ~ X255 0xF800 ~ 0xF9FE 63488 ~ 63998
Y0 ~ Y255 0xFC00 ~ 0xFDFE 64512 ~ 65022
WECON Technology Co., Ltd.
PLC Word Address
PLC Address MODBUS Address
Hex Decimal
D0 ~ D8255 0 ~ 0x203F 0 ~ 8255
T0 ~ T255 0xF000 ~ 0xF0FF 61440 ~ 61695
C0 ~ C199 0xF400 ~ 0xF4C7 62464 ~ 62663
C200 ~ C255 0xF700 ~ 0xF7FF 63232 ~ 63487
Ⅳ. MODBUS Function Code Introduction
1. Function code 0x01(01): read coil (bit address)
Frame format: Station number of slave&0x01 + start address + number of coils + CRC
No. Data Number of byte Instruction
1 Station number of slave 1 byte Value range 1~247, set by D8121
2 0x01(function code) 1 byte Read coil
3 Start address 2 bytes
4 Number of coils 2 bytes
5 CRC 2 bytes
2. Function code 0x03(03): read register (word address)
Frame format: Station number of slave&0x03 + start address+ number of registers + CRC
No. Data Number of byte Instruction
1 Station number of slave 1 byte Value range 1~247, set by D8121
2 0x03 (function code) 1 byte Read register
3 Start address 2 bytes
4 Number of registers 2 bytes
5 CRC 2 bytes
3. Function code 0x05(05): write single coil
Frame format: Station number of slave&0x05 + address + state of coil + CRC
No. Data Number of byte Instruction
1 Station number of slave 1 byte Value range 1~247, set by D8121
2 0x05 (function code) 1 byte Write single coil
3 address 2 bytes
4 State of coil 2 bytes
5 CRC 2 bytes
4. Function code 0x06 (06): Write single register
Frame format: Station number of slave&0x06 + address + value + CRC
No. Data Number of byte Instruction
1 Station number of slave 1 byte Value range 1~247, set by D8121
2 0x06 (function code) 1 byte Write single register
WECON Technology Co., Ltd.
3 address 2 bytes
4 Value of register 2 bytes
5 CRC 2 bytes
5. Function code 0x0f(15): Write continuous coils
Frame format: Station number of slave&0x0f + start address + number of coils + length + state of coil +
CRC
No. Data Number of byte Instruction
1 Station number of slave 1 byte Value range 1~247, set by D8121
2 0x0f (function code) 1 byte Write contunuous coils
3 Start address 2 bytes
4 Number of coil 2 bytes
5 Length 1 bytes
6 State of coils [(N+7)/8] bytes
7 CRC 2 bytes
6. Function code 0x10 (10): Write continuous registers
Frame format: Station number of slave&0x10 + start address + number of registers + length + value of
register + CRC
No. Data Number of byte Instruction
1 Station number of slave 1 byte Value range 1~247, set by D8121
2 0x10 (function code) 1 byte Write contunuous registers
3 Start address 2 bytes
4 Number of registers 2 bytes
5 Length 1 bytes
6 Value of register N*2 bytes
7 CRC 2 bytes
Ⅴ. Example
1. Read bit address from device
WECON Technology Co., Ltd.
2. Read word address from device
3. Write single coil
WECON Technology Co., Ltd.
4. Write single register
5. Write continuous coils
WECON Technology Co., Ltd.
6. Write continuous registers
7. PLC is slave devic
WECON Technology Co., Ltd.
8. WECON PLC Protocol (COM2)

More Related Content

What's hot

Iai robonet controller_specsheet
Iai robonet controller_specsheetIai robonet controller_specsheet
Iai robonet controller_specsheetElectromate
 
Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080Electromate
 
Advanced motion controls dzeantu 020b080
Advanced motion controls dzeantu 020b080Advanced motion controls dzeantu 020b080
Advanced motion controls dzeantu 020b080Electromate
 
Advanced motion controls dzsantu 020b080
Advanced motion controls dzsantu 020b080Advanced motion controls dzsantu 020b080
Advanced motion controls dzsantu 020b080Electromate
 
Galil DMC 42x0 Catalog
Galil DMC 42x0 CatalogGalil DMC 42x0 Catalog
Galil DMC 42x0 CatalogElectromate
 
Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200Electromate
 
xxxQxxx Quotation Estimate for Electrical Work of Poultry Processing Plant
xxxQxxx Quotation Estimate for Electrical Work of Poultry Processing PlantxxxQxxx Quotation Estimate for Electrical Work of Poultry Processing Plant
xxxQxxx Quotation Estimate for Electrical Work of Poultry Processing PlantMuhammad Sarfraz
 
Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Electromate
 
xbee pro digi-mesh 2.4 oem rf modules
xbee pro  digi-mesh  2.4 oem rf modulesxbee pro  digi-mesh  2.4 oem rf modules
xbee pro digi-mesh 2.4 oem rf modulesSyamim Sempoi
 
Thor Broadcast & Thor Fiber Short Form Catalog
Thor Broadcast & Thor Fiber Short Form Catalog Thor Broadcast & Thor Fiber Short Form Catalog
Thor Broadcast & Thor Fiber Short Form Catalog Thor Broadcast
 
Kyl 210 user manual
Kyl 210 user manualKyl 210 user manual
Kyl 210 user manualkyl03losia
 
Advanced motion controls dpeaniu c060a400
Advanced motion controls dpeaniu c060a400Advanced motion controls dpeaniu c060a400
Advanced motion controls dpeaniu c060a400Electromate
 
Advanced motion controls dvc250a060
Advanced motion controls dvc250a060Advanced motion controls dvc250a060
Advanced motion controls dvc250a060Electromate
 
Advanced motion controls dzcantu 020b080
Advanced motion controls dzcantu 020b080Advanced motion controls dzcantu 020b080
Advanced motion controls dzcantu 020b080Electromate
 
Hardware required to build a basic Robot
Hardware required to build a basic RobotHardware required to build a basic Robot
Hardware required to build a basic RobotVarun A M
 
Advanced motion controls dzsantu 040b080
Advanced motion controls dzsantu 040b080Advanced motion controls dzsantu 040b080
Advanced motion controls dzsantu 040b080Electromate
 

What's hot (19)

Iai robonet controller_specsheet
Iai robonet controller_specsheetIai robonet controller_specsheet
Iai robonet controller_specsheet
 
Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080Advanced motion controls dzcantu 040b080
Advanced motion controls dzcantu 040b080
 
SDH ALARMS
SDH ALARMSSDH ALARMS
SDH ALARMS
 
Advanced motion controls dzeantu 020b080
Advanced motion controls dzeantu 020b080Advanced motion controls dzeantu 020b080
Advanced motion controls dzeantu 020b080
 
Advanced motion controls dzsantu 020b080
Advanced motion controls dzsantu 020b080Advanced motion controls dzsantu 020b080
Advanced motion controls dzsantu 020b080
 
Galil DMC 42x0 Catalog
Galil DMC 42x0 CatalogGalil DMC 42x0 Catalog
Galil DMC 42x0 Catalog
 
Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200
 
Brosur AKCP SensorProbe+ - SPX+
Brosur AKCP SensorProbe+ - SPX+Brosur AKCP SensorProbe+ - SPX+
Brosur AKCP SensorProbe+ - SPX+
 
xxxQxxx Quotation Estimate for Electrical Work of Poultry Processing Plant
xxxQxxx Quotation Estimate for Electrical Work of Poultry Processing PlantxxxQxxx Quotation Estimate for Electrical Work of Poultry Processing Plant
xxxQxxx Quotation Estimate for Electrical Work of Poultry Processing Plant
 
Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080
 
xbee pro digi-mesh 2.4 oem rf modules
xbee pro  digi-mesh  2.4 oem rf modulesxbee pro  digi-mesh  2.4 oem rf modules
xbee pro digi-mesh 2.4 oem rf modules
 
Thor Broadcast & Thor Fiber Short Form Catalog
Thor Broadcast & Thor Fiber Short Form Catalog Thor Broadcast & Thor Fiber Short Form Catalog
Thor Broadcast & Thor Fiber Short Form Catalog
 
Kyl 210 user manual
Kyl 210 user manualKyl 210 user manual
Kyl 210 user manual
 
Advanced motion controls dpeaniu c060a400
Advanced motion controls dpeaniu c060a400Advanced motion controls dpeaniu c060a400
Advanced motion controls dpeaniu c060a400
 
Advanced motion controls dvc250a060
Advanced motion controls dvc250a060Advanced motion controls dvc250a060
Advanced motion controls dvc250a060
 
Advanced motion controls dzcantu 020b080
Advanced motion controls dzcantu 020b080Advanced motion controls dzcantu 020b080
Advanced motion controls dzcantu 020b080
 
Hardware required to build a basic Robot
Hardware required to build a basic RobotHardware required to build a basic Robot
Hardware required to build a basic Robot
 
Advanced motion controls dzsantu 040b080
Advanced motion controls dzsantu 040b080Advanced motion controls dzsantu 040b080
Advanced motion controls dzsantu 040b080
 
Brocade VDX 6730 Converged Switch for IBM
Brocade VDX 6730 Converged Switch for IBMBrocade VDX 6730 Converged Switch for IBM
Brocade VDX 6730 Converged Switch for IBM
 

Similar to LX3V_COM2_Modbus (1).pdf

Day 20.1 configuringframerelay
Day 20.1 configuringframerelayDay 20.1 configuringframerelay
Day 20.1 configuringframerelayCYBERINTELLIGENTS
 
ASIX AX58200 EtherCAT to Modbus TCP Gateway Solution Introduction
ASIX AX58200 EtherCAT to Modbus TCP Gateway Solution IntroductionASIX AX58200 EtherCAT to Modbus TCP Gateway Solution Introduction
ASIX AX58200 EtherCAT to Modbus TCP Gateway Solution IntroductionASIX Electronics Corporation
 
eastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdfeastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdfHenry Quilla
 
Cataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_b
Cataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_bCataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_b
Cataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_bDien Ha The
 
Data Serialization Frameworks for Java and the IoT
Data Serialization Frameworks for Java and the IoTData Serialization Frameworks for Java and the IoT
Data Serialization Frameworks for Java and the IoTManfred Dreese
 
Wan Interface Configuration
Wan Interface ConfigurationWan Interface Configuration
Wan Interface ConfigurationKishore Kumar
 
ACIT - CCNA Training - Wan Interface
ACIT - CCNA Training - Wan InterfaceACIT - CCNA Training - Wan Interface
ACIT - CCNA Training - Wan InterfaceSleek International
 
CMEL 2.4 inch Amoled(240x320) Datasheet
CMEL 2.4 inch Amoled(240x320) DatasheetCMEL 2.4 inch Amoled(240x320) Datasheet
CMEL 2.4 inch Amoled(240x320) DatasheetPanox Display
 
SOMADOR BINáRIO de 4 bits
SOMADOR BINáRIO de 4 bits SOMADOR BINáRIO de 4 bits
SOMADOR BINáRIO de 4 bits Renato Cabral
 
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITSleek International
 
06 module catalyst 1900 switch operations
06  module  catalyst 1900 switch operations06  module  catalyst 1900 switch operations
06 module catalyst 1900 switch operationsAsif
 
Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Electromate
 

Similar to LX3V_COM2_Modbus (1).pdf (20)

Day 20.3 frame relay
Day 20.3 frame relay Day 20.3 frame relay
Day 20.3 frame relay
 
Day 20.1 configuringframerelay
Day 20.1 configuringframerelayDay 20.1 configuringframerelay
Day 20.1 configuringframerelay
 
M3488 datasheet
M3488 datasheetM3488 datasheet
M3488 datasheet
 
ASIX AX58200 EtherCAT to Modbus TCP Gateway Solution Introduction
ASIX AX58200 EtherCAT to Modbus TCP Gateway Solution IntroductionASIX AX58200 EtherCAT to Modbus TCP Gateway Solution Introduction
ASIX AX58200 EtherCAT to Modbus TCP Gateway Solution Introduction
 
Disney Max 6000 Configurations
Disney Max 6000 ConfigurationsDisney Max 6000 Configurations
Disney Max 6000 Configurations
 
A Deep Dive into QtCanBus
A Deep Dive into QtCanBusA Deep Dive into QtCanBus
A Deep Dive into QtCanBus
 
eastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdfeastron-sdm230-protocol-v14 (1).pdf
eastron-sdm230-protocol-v14 (1).pdf
 
Cataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_b
Cataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_bCataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_b
Cataloge ge 3.control and_automation-26_vat300_e_c6-12_rev_b
 
Data Serialization Frameworks for Java and the IoT
Data Serialization Frameworks for Java and the IoTData Serialization Frameworks for Java and the IoT
Data Serialization Frameworks for Java and the IoT
 
Wan Interface Configuration
Wan Interface ConfigurationWan Interface Configuration
Wan Interface Configuration
 
ACIT - CCNA Training - Wan Interface
ACIT - CCNA Training - Wan InterfaceACIT - CCNA Training - Wan Interface
ACIT - CCNA Training - Wan Interface
 
CMEL 2.4 inch Amoled(240x320) Datasheet
CMEL 2.4 inch Amoled(240x320) DatasheetCMEL 2.4 inch Amoled(240x320) Datasheet
CMEL 2.4 inch Amoled(240x320) Datasheet
 
SOMADOR BINáRIO de 4 bits
SOMADOR BINáRIO de 4 bits SOMADOR BINáRIO de 4 bits
SOMADOR BINáRIO de 4 bits
 
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACIT
 
0.pptx
0.pptx0.pptx
0.pptx
 
06 module catalyst 1900 switch operations
06  module  catalyst 1900 switch operations06  module  catalyst 1900 switch operations
06 module catalyst 1900 switch operations
 
Lab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relayLab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relay
 
Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 
ARM 64bit has come!
ARM 64bit has come!ARM 64bit has come!
ARM 64bit has come!
 

Recently uploaded

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 

Recently uploaded (20)

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

LX3V_COM2_Modbus (1).pdf

  • 1. WECON Technology Co., Ltd. Modbus setting in COM2 for WECON PLC WECON Technology Co., Ltd. Website: http://www.we-con.com.cn/en Technical Support: liux@we-con.com.cn Skype: fcwkkj Phone: 86-591-87868869 Forums: http://wecon.freeforums.net/
  • 2. WECON Technology Co., Ltd. Ⅰ. Protocol Setting (D8126) Protocol Description Value of D8126 WECON PLC Protocol Using WECON PLC Protocol 01H MODBUS RTU Master PLC is slave device 02H MODBUS ASCII Master PLC is slave device 03H MODBUS RTU Slave PLC is master device 20H MODBUS ASCII Slave PLC is master device 30H Ⅱ. Communication Format (D8120) Item parameter Bit value of D8120 b7 b6 b5 b4 b3 b2 b1 b0 Baud rate (Bps) 115200 1 1 0 0 - - - - 57600 1 0 1 1 - - - - 38400 1 0 1 0 - - - - 19200 1 0 0 1 - - - - 9600 1 0 0 0 - - - - 4800 0 1 1 1 - - - - Stop bit 1 bit - - - - 0 - - - 2 bit - - - - 1 - - - Parity None - - - - - 0 0 - Odd - - - - - 0 1 - Even - - - - - 1 1 - Data bit 7 bit - - - - - - - 0 8 bit - - - - - - - 1 Example: the communication format is 9600.1.8.None, b7b6b5b4=1000, b3=0, b2b1=00, b 0=1. D8120=81H ( (10000001)2=81H, 81H means hexadecimal number) Ⅲ. WECON PLC - MODBUS (Slave) addresses rules PLC Bit Address PLC Address MODBUS Address Hex Decimal M0 ~ M3071 0 ~ 0xBFF 0 ~ 3071 M8000 ~ M8256 0x1F40 ~ 0x2040 8000 ~ 8256 S0 ~ S999 0xE000 ~ 0xE3E7 57344 ~ 58343 T0 ~ T256 0xF000 ~ 0xF100 61440 ~ 61696 C0 ~ C255 0xF400 ~ 0xF4FF 62464 ~ 62719 X0 ~ X255 0xF800 ~ 0xF9FE 63488 ~ 63998 Y0 ~ Y255 0xFC00 ~ 0xFDFE 64512 ~ 65022
  • 3. WECON Technology Co., Ltd. PLC Word Address PLC Address MODBUS Address Hex Decimal D0 ~ D8255 0 ~ 0x203F 0 ~ 8255 T0 ~ T255 0xF000 ~ 0xF0FF 61440 ~ 61695 C0 ~ C199 0xF400 ~ 0xF4C7 62464 ~ 62663 C200 ~ C255 0xF700 ~ 0xF7FF 63232 ~ 63487 Ⅳ. MODBUS Function Code Introduction 1. Function code 0x01(01): read coil (bit address) Frame format: Station number of slave&0x01 + start address + number of coils + CRC No. Data Number of byte Instruction 1 Station number of slave 1 byte Value range 1~247, set by D8121 2 0x01(function code) 1 byte Read coil 3 Start address 2 bytes 4 Number of coils 2 bytes 5 CRC 2 bytes 2. Function code 0x03(03): read register (word address) Frame format: Station number of slave&0x03 + start address+ number of registers + CRC No. Data Number of byte Instruction 1 Station number of slave 1 byte Value range 1~247, set by D8121 2 0x03 (function code) 1 byte Read register 3 Start address 2 bytes 4 Number of registers 2 bytes 5 CRC 2 bytes 3. Function code 0x05(05): write single coil Frame format: Station number of slave&0x05 + address + state of coil + CRC No. Data Number of byte Instruction 1 Station number of slave 1 byte Value range 1~247, set by D8121 2 0x05 (function code) 1 byte Write single coil 3 address 2 bytes 4 State of coil 2 bytes 5 CRC 2 bytes 4. Function code 0x06 (06): Write single register Frame format: Station number of slave&0x06 + address + value + CRC No. Data Number of byte Instruction 1 Station number of slave 1 byte Value range 1~247, set by D8121 2 0x06 (function code) 1 byte Write single register
  • 4. WECON Technology Co., Ltd. 3 address 2 bytes 4 Value of register 2 bytes 5 CRC 2 bytes 5. Function code 0x0f(15): Write continuous coils Frame format: Station number of slave&0x0f + start address + number of coils + length + state of coil + CRC No. Data Number of byte Instruction 1 Station number of slave 1 byte Value range 1~247, set by D8121 2 0x0f (function code) 1 byte Write contunuous coils 3 Start address 2 bytes 4 Number of coil 2 bytes 5 Length 1 bytes 6 State of coils [(N+7)/8] bytes 7 CRC 2 bytes 6. Function code 0x10 (10): Write continuous registers Frame format: Station number of slave&0x10 + start address + number of registers + length + value of register + CRC No. Data Number of byte Instruction 1 Station number of slave 1 byte Value range 1~247, set by D8121 2 0x10 (function code) 1 byte Write contunuous registers 3 Start address 2 bytes 4 Number of registers 2 bytes 5 Length 1 bytes 6 Value of register N*2 bytes 7 CRC 2 bytes Ⅴ. Example 1. Read bit address from device
  • 5. WECON Technology Co., Ltd. 2. Read word address from device 3. Write single coil
  • 6. WECON Technology Co., Ltd. 4. Write single register 5. Write continuous coils
  • 7. WECON Technology Co., Ltd. 6. Write continuous registers 7. PLC is slave devic
  • 8. WECON Technology Co., Ltd. 8. WECON PLC Protocol (COM2)