Deenke Maglev Door Motor RS485 Modbus Industrial Bus Technical Reference

RS485/Modbus is the most widely used field bus protocol in industrial automation. This article systematically explains Deenke DK series maglev door motor RS485 hardware interface, Modbus RTU/TCP protocol stack, complete register address mapping table, PLC integration SDK (including Siemens S7/Mitsubishi FX/Omron CP1E complete example code), error handling and fault diagnosis, 5 real industrial application cases. Includes 2 complete Modbus binary message examples.

Modbus RTU + TCP Dual Protocol · Complete SDK Open · 5-Year Warranty

Deenke DK series maglev door motors support both Modbus RTU (RS485) and Modbus TCP (Ethernet), the first brand in China maglev door motor field to support dual protocol. This article systematically explains RS485 hardware interface, Modbus protocol stack, complete register address mapping table, PLC integration SDK (including Siemens S7/Mitsubishi FX/Omron CP1E complete example code), error handling and fault diagnosis, 5 real industrial application cases.

ProtocolRTU+TCP
Max Distance1200m
Max Devices256 units
SDKComplete
Warranty5 Years
CertificationCE/UL/IEC

一、RS485/Modbus Industrial Bus Application Status in Door Control

RS485/Modbus is the most widely used and longest-running field bus protocol in industrial automation, applied for 45 years since Modicon released it in 1979. In door control, RS485/Modbus is the de facto standard for maglev door motors to integrate with PLC/SCADA systems in factories, clean rooms, intelligent buildings, rail transit, and other scenarios.

1.1 Industrial Bus Protocol Comparison

ProtocolSpeedDistanceDevice CountIndustrial Adaptability
RS485/Modbus RTUUp to 10Mbps1200m32-256 units★★★★★
Modbus TCP (Ethernet)100Mbps-10Gbps100m/segmentTheoretically unlimited★★★★★
PROFIBUS DP12Mbps1200m126 units★★★★
CANopen1Mbps5000m127 units★★★★
EtherCAT100Mbps100m65535 units★★★★★
PROFINET100Mbps100mTheoretically unlimited★★★★★

Conclusion: RS485/Modbus remains the "basic protocol" in industrial scenarios - simple, reliable, low cost. Deenke full series products support both RS485/Modbus RTU and Modbus TCP, covering 95% of industrial scenarios.

📌 Deenke Industry Leading: Deenke is the first brand in China maglev door motor field to support both Modbus RTU (RS485) and Modbus TCP (Ethernet) simultaneously, having served 100+ industrial projects (including semiconductor/auto manufacturing/food processing/pharmaceutical).

二、RS485 Hardware Interface and Electrical Characteristics

2.1 Deenke DK Series RS485 Hardware Interface Definition

PinSignalDescription
1+5VPower supply (only for terminal resistor, not main power)
2A (D-)RS485 differential signal A (inverted)
3B (D+)RS485 differential signal B (in-phase)
4GNDSignal ground
5SHIELDShield layer (recommend single-point grounding)
6NCUnused
7NCUnused
8NCUnused

2.2 RS485 Electrical Parameters

2.3 Speed vs Distance Reference

Baud Rate (bps)Max Distance (m)Application Scenario
12001200Long-distance factory
24001000Long-distance factory
4800800Medium distance
9600600Common config (recommended)
19200400Short distance
38400300Short distance
57600200Short distance
115200100Very short distance

⚠️ Hardware Design Warning: RS485 bus must strictly follow "daisy-chain" topology, star/tree connection prohibited. Terminal resistors must be configured at both physical ends of the line, otherwise signal reflection causes communication errors. Deenke DK series has built-in DIP switch configurable 120Ω terminal resistor.

三、Modbus Protocol Stack Deep Analysis

3.1 Modbus RTU Frame Structure

Modbus RTU is a compact binary protocol, default 8E1 (1 start bit + 8 data bits + 1 even parity + 1 stop bit). Typical frame structure:

// Modbus RTU frame structure (8 bytes)
[slave_addr][func_code][data_hi][data_lo][data_hi][data_lo][crc_lo][crc_hi]
// Example: Read holding register (addr 0x0001, qty 0x0001) from slave 0x01
01 03 00 01 00 01 D5 CA
// Device response (normal)
01 03 02 00 64 38 56 // register value = 0x0064 = 100

3.2 Supported Modbus Function Codes

CodeNameUsage
0x01Read CoilsRead digital output status (door status/alarm)
0x02Read Discrete InputsRead digital input status (sensors)
0x03Read Holding RegistersRead parameters (speed/position/current)
0x04Read Input RegistersRead measurements (temperature/cycle count)
0x05Write Single CoilControl digital output (open/close/estop)
0x06Write Single RegisterModify single parameter (speed)
0x0FWrite Multiple CoilsBatch control (scene mode)
0x10Write Multiple RegistersBatch parameter modification

3.3 Modbus TCP Frame Structure

// Modbus TCP frame structure (MBAP header + PDU)
[transaction_id 2bytes][protocol_id 2bytes][length 2bytes][unit_id 1byte][func_code 1byte][data N bytes]
// Example: Modbus TCP read holding register 0x0001 from slave 0x01
00 01 00 00 00 06 01 03 00 01 00 01

Modbus TCP advantages: Ethernet-based, coexists with industrial Ethernet devices; switchable network extension; TCP reliability guarantee; suitable for long distance (100m/segment + switches extensible to km-level).

四、Complete Register Address Mapping Table

This section provides the complete Modbus register address mapping table for Deenke DK series maglev door motors, which is the core data for PLC integration.

4.1 Digital Outputs (Coils, Function 0x01/0x05/0x0F)

AddressNameR/WDescription
0x0001Open CommandR/W1=open (auto-reset)
0x0002Close CommandR/W1=close (auto-reset)
0x0003Stop CommandR/W1=stop (auto-reset)
0x0004Emergency StopR/W1=estop (latching)
0x0005Reset AlarmR/W1=reset alarm
0x0010-0x001FScene ModeR/W1=activate scene mode

4.2 Digital Inputs (Discrete Inputs, Function 0x02)

AddressNameR/WDescription
0x1001Door StatusR0=closed/1=open/2=half-open/3=fault
0x1002Motor RunningR0=stop/1=running
0x1003Obstacle DetectedR0=normal/1=detected
0x1004Alarm StatusR0=normal/1=alarm
0x1005Remote Control EnableR0=local/1=remote

4.3 Holding Registers (Function 0x03/0x06/0x10)

AddressNameR/WUnitRangeDescription
0x2001SpeedR/Wmm/s200-800Open/close speed
0x2002Accel/Decel TimeR/Wms100-2000Accel/decel curve time
0x2003Hold Open TimeR/Wsec1-60Hold time after full open
0x2004ForceR/W%30-100Force percentage
0x2005Obstacle SensitivityR/Wlevel1-10Detection sensitivity
0x2010Slave AddressR/W-1-247Modbus slave address
0x2011Baud RateR/Wbps1200-115200Serial baud rate
0x2012ParityR/W-0/1/20=None/1=Even/2=Odd

4.4 Input Registers (Function 0x04)

AddressNameUnitDescription
0x3001Door Position%0-100% (real-time door position)
0x3002Motor TemperatureReal-time motor temperature
0x3003Motor CurrentmAReal-time motor current
0x3004Cycle CounttimesCumulative cycles since factory
0x3005Run TimehoursCumulative run hours
0x3006Error Code-0=normal/others see error code table

📌 Complete Register Table Request: This is the simplified register table. The complete version contains 200+ register addresses (including alarm codes/diagnostics/calibration/history). Contact 132-7159-7000 for the Deenke Modbus Register Manual v2026 PDF.

五、PLC Integration SDK and Programming Examples

This section provides example code (simplified) for integrating Deenke DK series with three mainstream PLCs: Siemens S7, Mitsubishi FX, and Omron CP1E.

5.1 Siemens S7-1200/1500 Modbus TCP Example

// Siemens S7-1200 Modbus TCP client (LAD pseudo-code)
// Use MB_CLIENT instruction block
MB_CLIENT(
  REQ:=%M0.0, // trigger request
  MB_MODE:=0, // 0=TCP
  MB_DATA_ADDR:=8193, // Modbus addr 8193=0x2001 (speed)
  MB_DATA_LEN:=1,
  MB_DATA_PTR:=%MW100,
  CONNECT:="TCP_Connection_1"
);

// TCP connection config (initialization)
TCON_IP_v4(
  InterfaceId:=64,
  ID:=1,
  ConnectionType:=16,
  RemoteStationIP:="192.168.1.100",
  RemotePort:=502
);

5.2 Mitsubishi FX5U Modbus RTU Example

// Mitsubishi FX5U Modbus RTU master (ST pseudo-code)
// Serial config: 9600bps, 8E1, station 1
M100 = ON; // trigger read
ADPRW(1, 3, 8193, 1, D100);
// Params: 1=station/3=read holding reg/8193=speed addr/1=qty/D100=storage

// Write speed
M101 = ON;
D200 = 500; // speed 500mm/s
ADPRW(1, 6, 8193, 1, D200);

5.3 Omron CP1E Modbus RTU Example

// Omron CP1E Modbus RTU master (LAD pseudo-code)
// Use TXD send instruction
A392.04 // Serial port 1 send complete flag
TXD(D100, 8, 0);
// D100-D107: Modbus RTU request frame 01 03 20 01 00 01 D5 CA

5.4 Python SDK Integration Example (SCADA System)

# Python Modbus TCP client example
from pymodbus.client import ModbusTcpClient

# Create client
client = ModbusTcpClient('192.168.1.100', port=502)
client.connect()

# Read door status (coil 0x1001)
result = client.read_coils(0x1001, 1, slave=1)
print("door_status: " + str(result.bits[0]))

# Send open command (coil 0x0001)
client.write_coil(0x0001, True, slave=1)

# Read cycle count (input register 0x3004)
result = client.read_input_registers(0x3004, 1, slave=1)
print("cycle_count: " + str(result.registers[0]))

client.close()

Deenke SDK Open: Deenke provides complete Modbus register manual + Siemens/Mitsubishi/Omron PLC example code + Python/Java/C# SDK libraries. B2B projects can contact 132-7159-7000 for professional integration process (including on-site debugging).

六、Error Handling and Fault Diagnosis

6.1 Common Modbus Error Codes

CodeNameCauseSolution
0x01Illegal FunctionFunction code not supportedCheck function code range
0x02Illegal Data AddressRegister address out of rangeVerify register address mapping
0x03Illegal Data ValueData value out of allowed rangeCheck data value range
0x04Slave Device FailureDevice hardware faultCheck power/communication line
0x05Acknowledge (Long Op)Device processingWait and retry
0x06Slave Device BusyDevice busyWait 100ms and retry

6.2 Communication Fault Troubleshooting Process

  1. Check Hardware: Power/communication line/M12 connector/terminal resistor
  2. Check Parameters: Baud rate/data bits/parity/stop bits/slave address consistency
  3. Check Protocol: Do not mix Modbus RTU vs TCP
  4. Check Bus: Daisy-chain topology/terminal resistor configuration
  5. Check Load: Device count ≤32 (standard load), repeater for expansion
  6. Check Interference: Keep away from frequency converters/high-current equipment, use shielded twisted pair
  7. Check Software: CRC validation/timeout/retry mechanism

6.3 Deenke Diagnostic Features

Deenke DK series has built-in Modbus diagnostic functions, allowing engineers to locate faults without external tools:

七、5 Real Industrial Application Cases

Case 1: Auto Manufacturing Factory Welding Workshop Door Control

Project Background
The auto factory welding workshop needs to integrate 32 maglev doors with PLC control system, door status needs real-time feedback to SCADA system
Solution
Deenke DK-300 industrial 32 units + Modbus RTU bus + Siemens S7-1500 master
Result
32 doors unified control, communication stable 3 years zero fault, O&M cost down 40%

Case 2: Semiconductor Wafer Fab Clean Room Modbus TCP Upgrade

Project Background
The wafer fab originally used imported belt motors, needs upgrade to maglev + Modbus TCP integration
Solution
Deenke DK-300 clean version 12 units + Modbus TCP + Mitsubishi FX5U master
Result
Communication latency ≤50ms, particle release meets ISO 5, annual failure rate <0.3%

Case 3: Food Processing Plant Clean Room Door Control

Project Background
The food plant clean room needs MES integration, real-time door switch data for production traceability
Solution
Deenke DK-300 clean version 8 units + Modbus TCP + custom MES integration
Result
Door switch data real-time to MES, batch traceability 100% accurate

Case 4: Rail Transit Station Door Control Project

Project Background
The subway station needs to integrate 10+ maglev doors + anti-pinch function + fire linkage
Solution
Deenke DK-600 heavy-duty engineering version 10 units + Modbus RTU dual bus redundancy
Result
Redundant communication ensures zero-interruption operation, fire linkage 100% reliable

Case 5: Intelligent Building Door Control Integration

Project Background
The 5A Grade A office building needs to integrate 100+ maglev doors unified control
Solution
Deenke DK-150max commercial version 100 units + Modbus TCP layered network
Result
100 doors unified control, security + fire protection + BA system integration

⚠️ Case Anonymity Notice: All cases have been anonymized, no real customer names. Bulk customers can apply for on-site visit (requires customer consent). Detailed industrial bus technical plans please contact 132-7159-7000.

八、Industrial Bus Selection Decision and Procurement Reference

8.1 Modbus RTU vs Modbus TCP Selection Decision

DimensionModbus RTUModbus TCPDecision
SpeedUp to 115200bpsUp to 10GbpsTCP high-speed advantage
Distance1200m100m/segment (extensible)RTU long-distance advantage
CostLow (twisted pair only)Medium (switch + cable)RTU cost advantage
ReliabilityHigh (dedicated line)High (TCP guarantee)Equivalent
Device Count32 units (extensible 256)Theoretically unlimitedTCP advantage
Applicable ScenarioFactory/long distanceBuilding/data centerChoose by scenario

8.2 Deenke Product + Bus Module Recommendation

Application ScenarioRecommended ModelBus ModuleReference Price
Small factory (≤10 units)DK-150maxDK-Link-Modbus-RTU013200+480 RMB/set
Medium factory (≤50 units)DK-300DK-Link-Modbus-RTU02 (repeater)5800+680 RMB/set
Large factory (50+ units)DK-300DK-Link-Modbus-TCP015800+580 RMB/set
Clean RoomDK-300 Clean VersionDK-Link-Modbus-TCP-GMP015800+1280 RMB/set
Intelligent BuildingDK-150maxDK-Link-Modbus-TCP013200+580 RMB/set
Rail TransitDK-600 HeavyDK-Link-Modbus-RTU03 (redundant)7800+1280 RMB/set

8.3 After-Sales Service Commitment

ItemDeenke Commitment
Module Warranty5 years
SDK OpennessComplete Modbus register manual + multi-PLC example code
Technical SupportPhone + video + remote diagnosis + necessary on-site support
Protocol UpgradeModbus protocol upgrade via remote OTA
Industrial CertificationComplete CE/UL/IEC 61800 industrial certifications

Deenke Industrial Bus Core Value: Modbus RTU+TCP dual protocol support (industry leading) + complete SDK openness (industry leading) + 5-year warranty (including modules) + 100+ industrial project experience + industrial-grade hardware (IP67 protection).

Deenke RS485/Modbus Industrial Bus FAQ

Deenke supports Modbus RTU or Modbus TCP?

Deenke DK series full products support both Modbus RTU (RS485) and Modbus TCP (Ethernet), the first brand in China maglev door motor field to support dual protocol. Modules: DK-Link-Modbus-RTU01 (RTU) and DK-Link-Modbus-TCP01 (TCP).

What RS485 hardware interface does Deenke use?

Deenke uses industrial-grade M12 8-pin connector (IP67 protection), anti-vibration oil-resistant. Pinout: 1=+5V/2=A(D-)/3=B(D+)/4=GND/5=SHIELD. Wiring: daisy-chain topology, 120Ω terminal resistor at each end.

Does Deenke have Modbus register address table?

Yes. Complete version contains 200+ register addresses (including alarm codes/diagnostics/calibration/history). Contact 132-7159-7000 for Deenke Modbus Register Manual v2026 PDF. This article is simplified version covering core read/write registers.

Can Deenke integrate with Siemens S7 PLC?

Yes. Deenke provides complete Siemens S7-1200/1500 Modbus TCP example code (including ladder diagram), using MB_CLIENT instruction block, remote IP 192.168.1.100 port 502. See Section 5.1.

Can Deenke integrate with Mitsubishi FX PLC?

Yes. Deenke provides Mitsubishi FX5U Modbus RTU example code (including structured ladder), using ADPRW instruction. Config: 9600bps, 8E1, station 1. See Section 5.2.

What is the max RS485 communication distance?

RS485 communication distance inversely proportional to baud rate: 600m at 9600bps; 1200m at 1200bps; 100m at 115200bps. For long distance or severe interference, add RS485 repeater (Deenke DK-Link-Modbus-RTU02 repeater module 680 RMB/set).

How to troubleshoot Modbus communication faults?

Seven-step troubleshooting: 1. Check hardware (power/communication line/connector) 2. Check parameters (baud rate/parity/slave address) 3. Check protocol (RTU vs TCP) 4. Check bus (daisy-chain topology/terminal resistor) 5. Check load (device count ≤32) 6. Check interference (shielded twisted pair) 7. Check software (CRC/timeout). See Section 6.2.

Deenke Modbus module price?

DK-Link-Modbus-RTU01 (RTU): 480 RMB/set; DK-Link-Modbus-TCP01 (TCP): 580 RMB/set; DK-Link-Modbus-RTU02 (repeater): 680 RMB/set; DK-Link-Modbus-TCP-GMP01 (clean room GMP version): 1280 RMB/set; DK-Link-Modbus-RTU03 (redundant dual bus): 1280 RMB/set.

Deenke Industrial Bus Integration Consultation

Modbus RTU + TCP Dual Protocol · Complete SDK Open · 5-Year Warranty

Phone 132-7159-7000

Contact: Manager Wang | Nationwide Sales Installation Service
Henan Liantongchuang Intelligent Technology Co., Ltd. | Longhu Town, Xinzheng City, Zhengzhou, Henan Province, China