Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

SEW EURODRIVE MOVIDYN communication interface

F: | Au:FAN | DA:2026-04-02 | 702 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

The main station sends ENQUIRY frames:

Frame identifier: B5 (85 hex)

Address: 0C (12)

Index: 00 03 (radiator temperature)

Checksum: B5+0C+00+03=C4

Full frame: B5 0C 00 03 C4

Reply to DATA frame from the station (assuming a temperature of 25.5 ° C, with values represented as 00 00 25 50):

Frame identifier: C8

Index: 00 03

Value: 00 00 25 50

Checksum: C8+00+03+00+00+25+50=0140 → 40

Full frame: C8 00 03 00 00 25 50 40

3.2 Write the first acceleration ramp time (CW) as 3.7 seconds

The index of parameter "Slope 1 to CW" is 001F (31), and the value of 3.7 seconds is represented as 00000 370.

The main station sends a SELECT frame:

Identifier: A9

Address: 0C

Index: 00 1F

Value: 00 00 03 70

Checksum: A9+0C+00+1F+00+00+03+70=0147 → 47

Full frame: A9 0C 00 1F 00 00 03 70 47

Reply ACK from the slave station: D2 D2

3.3 Writing IPOS Variables (IPOS Options Only)

Taking the example of writing variable 5 with a value of 123000 (1E078 hex) to address 1. Two steps are required: first select the variable pointer, and then write the data value.

Step 1: Write variable number 5 to index 715 (data pointer)

Index 715=02CB hex

SELECT frame: A9 01 02 CB 00 00 05 00, checksum 7C

Reply ACK from the station

Step 2: Write the value 1E078 to index 1011 (data value) using a LONG_SELECT frame (8-byte value)

Index 1011=03F3 hex

Value: 00 00 00 01 0E 00 07 08 (small end? The original text is 00 00 00 01 0E 00 07 08, which actually represents 1E078

Frame: AD 01 03 F3 00 00 01 0E 00 07 08, checksum is 00+00+00+01+0E+00+07+08=C2 (low byte)

Reply ACK from the station

3.4 Reading IPOS Variables

Similar steps: First, write the variable number to index 715, then send ENQUIRY to index 1011, and the slave station replies with a LONG-DATA frame.


API/APA positioning module specific protocol

The API/APA option card uses ASCII protocol, and user data is readable ASCII commands. Its message header is related to MOVIDYN ®  The protocol is different, and the frame identifier is fixed as BB hex.

4.1 Frame header structure

Byte Content Description

0-frame identifier (BB) distinguishes API/APA

Unit 1 address 0~59

2-Status Byte (SB) Bit Mapping Control

3 Data Length (NL) User data bytes+checksum

4... n-1 User Data ASCII Command

Checksum (CS) SB+NL+sum of user data (+address optional)

Status byte bit definition:

Bit 0:0=ENQUIRY, 1=SELECT

Bit 3: Is ACK/NACK acknowledgement required (valid only for SELECT frames)

Bit 4: Should the axis address be included in the checksum calculation

Bit 5: Should the checksum range be shortened (0-7F)

4.2 API/APA Frame Types

ENQUIRY frame: Request data. For example, the command% RD H00 reads the variable H00.

SELECT frame: Write data. For example, command% H00:10; Set the variable H00 to 10.

DATA frame: In response to ENQUIRY, return the requested data (ASCII string).

ACK frame: Confirm successful SELECT, data value is 06 hex.

NACK frame: Report an error with a data value of 15 hex and attach error information (error number, program number, line number, etc.).

4.3 Application Example: Requesting API/APA Status

Send command? The status string can be obtained, and the return format includes:

G... actual location

H... Target location

O... hysteresis error

I... Locate processor status (hexadecimal)

K... Digital input status

L... digital output status

M... current active program number

N... current line number

P... Hardware limit switch status

Example: Requesting only the actual location:? G, Return a string similar to G1234.

If an error occurs, an error sequence starting with Z will be inserted in the response, including the error identifier, error number, error type, program number, line number, etc.

Technical parameters and connections of RS-232 and RS-485 interfaces

5.1 RS-232 interface

Standard: DIN 66020 (V.24)

Baud rate: 9600 baud

Data format: 1 start bit, 8 data bits, 1 stop bit, no parity check

Working mode: asynchronous, half duplex

Maximum cable length: 5 meters (recommended)

Connector: 9-pin Sub-D, only using pins 2 (TXD), 3 (RXD), 4 (DTR), 5 (GND)

The PC is connected to X01 of MPB through a standard serial cable or to MPR/MKS through USS11. The DTR signal is used to control RS-485 direction switching.

5.2 RS-485 interface

Standard: RS-485

Baud rate: 9600 baud

Data format: Same as RS-232

Working mode: half duplex, asynchronous

Transmission medium: twisted pair shielded two core cable, with the shielding layer connected to pin 3

Maximum cable length: 200 meters

Connection terminals: Pin 1 (RS-485+), Pin 2 (RS-485-), Pin 3 (GND)

RS-485 is suitable for environments with a distance greater than 5 meters or high interference, as its differential signal has strong anti-interference ability. The upper controller needs to have an RS-485 interface (or through an adapter).

Important: When using RS-485, RS-232 (or USS11) cannot be used simultaneously.


Communication direction control and timing

Due to RS-485 being half duplex, it is necessary to control the direction switching of transmission/reception. Direction control is achieved through the DTR signal (RS-232 standard) of the serial interface. Different controllers have different DTR processing methods:

Controller type DTR processing method

MPB needs to switch to DTR

MPR/MKS+FIS31 (old version) requires switching to DTR

  • National Instruments PXI-5124 High Resolution Digitizer
  • National Instruments USB-6343 X Series DAQ Device
  • National Instruments PXIe-6536 Digital I/O Module
  • National Instruments CAL-4330 Calibration Fixture
  • National Instruments PXI-4110 Programmable Power Supply
  • National Instruments 781503-01 Input Module
  • National Instruments FP-AI-V10 Module
  • National Instruments PXI-5114 Digitizer Card
  • National Instruments PXIe-8398 MXI Module
  • National Instruments cRIO-9056 Controller
  • National Instruments PCI-6509 DIO Device
  • National Instruments cRIO-9053 Controller
  • National Instruments 781056-01 Output Module
  • National Instruments 782606-01 Input Module
  • National Instruments cRIO-9112 Chassis
  • National Instruments PXIe-1078 Chassis
  • National Instruments PCIe-6536 DIO Board
  • National Instruments NI-9425 Input Module
  • National Instruments PCI-5122 Digitizer Card
  • National Instruments 779072-01 Relay Module
  • National Instruments 783703-01 DAQ Module
  • National Instruments PXI-6515 Digital Module
  • National Instruments 781099-01 DAQ Device
  • National Instruments PXI-8183 PXI Controller
  • National Instruments sbRIO-9626 Single-Board RIO Controller
  • National Instruments PXIe-1435 Camera Link Frame Grabber
  • National Instruments NI 9237 Strain Bridge Input Module
  • National Instruments PXIe-4353 Thermocouple Input Module
  • National Instruments PCIe-6320 X Series DAQ Card
  • National Instruments NI 1454 Compact Vision System
  • National Instruments PCIe-6321 X Series DAQ Card
  • National Instruments PXIe-5172 PXI Oscilloscope Module
  • National Instruments cDAQ-9134 CompactDAQ Controller
  • National Instruments cRIO-9063 CompactRIO Controller
  • National Instruments PXI-4070 DMM Card
  • National Instruments cFP-BP-4 Backplane
  • National Instruments 779521-01 Bridge Module
  • National Instruments cDAQ-9172 Chassis
  • National Instruments NI 9236 Strain Module
  • National Instruments PXI-1042Q Chassis
  • National Instruments SCXI-1102 Input Module
  • National Instruments 776990-01 Input Module
  • National Instruments PXI-1045 PXI Chassis
  • National Instruments PCIe-6251 DAQ Device
  • National Instruments NI 9219 Universal Analog Input Module
  • National Instruments NI 9215 BNC Analog Input Module
  • National Instruments PXIe-6570 Digital Pattern Instrument
  • National Instruments NI-9477 Digital Output Module
  • National Instruments NI 9145 EtherCAT Chassis
  • National Instruments PCI-6521 Industrial Digital I/O Card
  • National Instruments NI 9239 BNC Voltage Input Module
  • National Instruments NI 9265 Current Output Module
  • National Instruments NI 9212 Thermocouple Input Module
  • National Instruments PXI-6229 Multifunction DAQ Module
  • National Instruments NI-9146 Chassis
  • National Instruments PXIe-5622 Digitizer
  • National Instruments PXI-6704 Output Module
  • National Instruments 782362-01 Input Module
  • National Instruments 779068-01 Digital Module
  • National Instruments 781063-01 Output Module
  • National Instruments PCI-7356 Motion Controller
  • National Instruments 779787-01 Input Module
  • National Instruments PXIe-1071 System
  • National Instruments NI 9219 Input Module
  • National Instruments NI 9214 Thermocouple Input Module
  • National Instruments PXIe-1085 18-Slot Chassis
  • National Instruments PCIe-6320 Multifunction DAQ Card
  • National Instruments USB-6211 Multifunction I/O Device
  • National Instruments USB-6341 X Series DAQ Device
  • National Instruments NI 9205 Analog Input Module
  • National Instruments NI 9149 8-Slot Chassis
  • National Instruments PXIe-2569 Relay Module
  • National Instruments NI 9230 Sound and Vibration Module
  • National Instruments cRIO-9047 CompactRIO Controller
  • National Instruments PCI-6534 Digital IO Card
  • National Instruments PXI-5122 Digitizer Module
  • National Instruments cDAQ-9188XT Chassis
  • National Instruments cDAQ-9184 Ethernet Chassis
  • National Instruments USB-6225 OEM DAQ Device
  • National Instruments NI 9205 Input Module
  • National Instruments NI 9207 Input Module
  • National Instruments NI-9862 CAN Module
  • National Instruments 781156-01 CAN Module
  • National Instruments FP-AO-200 Output Module
  • National Instruments NI 9264 Output Module
  • National Instruments IC-3173 Controller
  • National Instruments NI 9234 Vibration Module
  • National Instruments SMB-2163 DIO Accessory
  • National Instruments PXIe-1062Q DSA System
  • National Instruments USB-6289 DAQ Device
  • National Instruments NI 9233 Vibration Module
  • National Instruments PXIe-5840 VST
  • National Instruments PXI-1033 and PXI-6132 System
  • National Instruments GPIB-USB-HS+ Controller
  • National Instruments NI 9231 Sound and Vibration Module
  • National Instruments cRIO-9074 CompactRIO Controller
  • National Instruments 782536-01 DAQ Module
  • National Instruments 779781-01 DAQ Module
  • National Instruments PXIe-8388 MXI Express Controller
  • National Instruments SCXI-1520 Strain Bridge Module
  • National Instruments PCIe-6320 Multifunction DAQ Card
  • National Instruments NI 9234 Sound and Vibration Module
  • National Instruments USB-4431 Sound and Vibration Device
  • National Instruments NI 9227 Current Input Module
  • National Instruments PXI-1033 PXI Chassis
  • National Instruments NI 9213 Thermocouple Module
  • National Instruments PXI-1042 PXI Chassis
  • National Instruments PXI-6229 DAQ Card
  • National Instruments cRIO-9075 Controller
  • National Instruments PCI-6033E DAQ Card
  • National Instruments PCIe-6363 DAQ Card
  • National Instruments cDAQ-9174 Chassis
  • National Instruments PXIe-8880 PXI Controller
  • National Instruments NI 9242 Analog Input Module
  • National Instruments USB-6221 BNC DAQ Device
  • National Instruments NI 9220 Analog Input Module
  • National Instruments cRIO-9068 CompactRIO Controller
  • National Instruments PXI-4130 Source Measure Unit
  • National Instruments USB-6251 Multifunction DAQ Device
  • National Instruments PXI-8106 Embedded Controller
  • National Instruments USB-6218 Multifunction DAQ Device
  • National Instruments PCIe-1473R Camera Link Frame Grabber
  • National Instruments PXIe-4341 DSA Module
  • National Instruments PXI-8102 Embedded Controller
  • National Instruments cDAQ-9178 Chassis
  • National Instruments USB-6210 DAQ Device
  • National Instruments USB-6212 DAQ Device
  • National Instruments NI 9485 Relay Output Module