MC280&MC200E Motion Control User Manual
MC280&MC200E Motion Control User Manual
Thank you for using MC280/MC200E series PLC. Before using the product, please carefully read this manual
so as to better understand it, fully use it, and ensure safety. This quick start manual is to offer you a quick guide
to the design, installation, connection and maintenance of MC280/ MC200E series PLC, convenient for on-site
reference.
Version:1.10
Revision Date:2012-03-15
BOM Code:R120000578
For detailed product information, please refer to MC200 Series PLC User Manual, X-Builder Programming
Software User Manual, and MC200/ MC100 Series PLC Programming Reference Manual. For ordering the above
8-channel single-end 100k count, or 4-channel AB phase 100k count (with reset);
Following.
Linear interpolation
Arc interpolation
Electronic gear
Electronic CAM
4) G-code function
2. IO Port
Model Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y8
MC280-1616BTA8 Po Po Po Po Po Po Po Po
MC280-1616BTA6 Po Po Po Po Po Po I/O I/O
MC280-1616BTA4 Po Po Po Po I/O I/O I/O I/O
MC200E-1616BTA8 Po Po Po Po Po Po Po Po
MC200E-1616BTA6 Po Po Po Po Po Po I/O I/O
MC200E-1616BTA4 Po Po Po Po I/O I/O I/O I/O
Frequency Conversion
Terminal Output mode Interpolation
(KHZ) In process
ACC.&DEC.
Y0 200 Pulse Pulse
Variable speed
ACC.&DEC.
Y1 200 Pulse Direction
Hardware Variable speed
interpolation ACC.&DEC.
Y2 200 Pulse Pulse
Variable speed
ACC.&DEC.
Y3 200 Pulse Direction
Variable speed
Y4 100 Pulse Variable speed
Y5 100 Pulse Variable speed
Soft ACC.&DEC.
Y6 100 Pulse
interpolation Variable speed
ACC.&DEC.
Y7 100 Pulse
Variable speed
2.3 Input port definition (R=Reset, S=Start)
C247 U D R 100
bi-directional
C303 U D 100
input mode
C248 U D R 100
C249 U D R S 100
C250 U D R S 100
C306 Ph A Ph B 100
C252 Ph A Ph B R 100
C253 Ph A Ph B R 100
C254 Ph A Ph B R S 100
C255 Ph A Ph B R S 100
Operand description
D2: Rotating direction output starting address. Its state is determined by S1:
When S1 is positive: D2 is ON
Function description
1. Specifies S1 of the number of output pulses, corresponding to the current value register of each axis as
the relative position: Y0/SD200, Y1/SD310, Y2/SD320, Y3/SD330, Y4/SD340, Y5/SD350, Y6/SD360,
Y7/SD370(D-byte,32bit).
2. When it is reversed, the value of the current value register decreases. The rotation direction is specified
3. The total number of pulses in each axis is registered as: Y0/SD50, Y1/SD52, Y2/SD160, Y3/SD162,
4. SM430, SM431, and SM433 respectively control Y0/Y1, Y2/Y3, Y6/Y7 to send AB phase pulses. ON is to
send AB phase pulses, OFF is to send single-phase pulses, and the default is OFF (also valid for other
Note:
1) Take Y0 as an example: the actual acceleration and deceleration time is not SD205, which SD205 is
the time from SD202(32-bit) to SD204 (16-bit). If a frequency f is set, then the actual acceleration and
2) If the pulse number s does not meet the following conditions :(t/1000) s *(f+SD204), then it outputs
triangle prevention, and the acceleration and deceleration are performed with output frequency reduction
(except Y4/Y5).
3) If the SM80, Y0 pulse output stop bit, is set, the output stops immediately. Other Y correspond to their
related SM elements.
4) The output slows to a stop after driving the power flow to stop.
5) During the drive process, changing the frequency can be responded. And there are the acceleration
6) During Y0 pulse output, SM82 will be set ON and set to OFF after execution.
Example:
Operand description
When S1 is positive: D2 is ON
Function description
1. Specifies S1 of the number of output pulses, corresponding to the current value register of each axis
as the relative position: Y0/SD200, Y1/SD310, Y2/SD320, Y3/SD330, Y4/SD340, Y5/SD350, Y6/SD360,
Y7/SD370(D-byte,32bit).
2. When it is reversed, the value of the current value register decreases. The rotation direction is
3. The total number of pulses in each axis is registered as: Y0/SD50, Y1/SD52, Y2/SD160, Y3/SD162,
4. SM430, SM431, and SM433 respectively control Y0/Y1, Y2/Y3, Y6/Y7 to send AB phase pulses. ON is to
send AB phase pulses, OFF is to send single-phase pulses, and the default is OFF (also valid for other
1) Take Y0 as an example: the actual acceleration and deceleration time is not SD205, which SD205 is
the time from SD202(32-bit) to SD204 (16-bit). If a frequency f is set, then the actual acceleration and
2) If the pulse number s does not meet the following conditions :(t/1000) s *(f+SD204), then it outputs
triangle prevention, and the acceleration and deceleration are performed with output frequency reduction
(except Y4/Y5).
3) If the SM80, Y0 pulse output stop bit, is set, the output stops immediately. Other Y correspond to their
related SM elements.
4) The output slows to a stop after driving the power flow to stop.
5) During the drive process, changing the frequency can be responded. And there are the acceleration
6) During Y0 pulse output, SM82 will be set ON and set to OFF after execution.
Example:
Operand description
S1: Counter number (physical location returned from encoder): C236~C400 counter, supporting
(D1+4 ) : Maximum pulse output limits; when the output reaches the maximum limit, even though the
Function description:
1. The output port Y transmits pulse to drive a servo axis, the actual position of the axis is fed-back to the X
port by the encoder(Counter). The positioning drive is completed of physical axis position by this
instruction.
2. The characteristics of output axis is same with DRVI in acceleration or deceleration, but the end position
Note:
1) The actual acceleration and deceleration time is not SD205, which SD205 is the time from
SD202(32-bit) to SD204 (16-bit). If a frequency f is set, then the actual acceleration and deceleration time t
=SD205*(f-sd204)/(SD202-SD204).
2) If the pulse number s does not meet the following conditions :(t/1000) s *(f+SD204), then it outputs
triangle prevention, and the acceleration and deceleration are performed with output frequency reduction.
3) If the SM80, Y0 pulse output stop bit, is set, the output stops immediately. Other Y correspond to their
related SM elements.
4) The output slows to a stop after driving the power flow to stop.
5) During the drive process, changing the frequency can be responded. And there are the acceleration
6) During Y0 pulse output, SM82 will be set ON and set to OFF after execution.
Example:
DSZR: Return to Mechanical Zero Point with DOG Search
Operand description
S1: Element number for specified near-point input signal (DOG). When the input element is specified, the
offset of the origin position will increase due to the influence of the PLC operation cycle.
Function description
Performs origin returning to align the mechanical position with the current register within the PLC, and
correspond to DOG search function; Allows to use ZRN instruction with near-point DOG and origin signal.
Note:
1. Pay attention to the drive time of the instruction. Do not to use these instructions for high-speed output
2. The minimum frequency of the output pulse frequency that can actually be output is determined by the
following formula: Min. frequency of the output pulse - sqrt (Max. speed ÷ (2× acceleration / deceleration
time)).
3. For the number of output pulse frequency, even if a value lower than the above calculation is specified,
the frequency of the calculated value will still be output. The frequency of the initial acceleration and the
final deceleration should not be lower than the above calculation. If the maximum speed is lower than the
4. The crawling speed should be greater than 0 and less than one-tenth of the maximum speed.
Example:
GEARBOX: Electronic Gear Instruction
Operand description
D1: Input axis, that is master axis: X0~X7 or Y0~Y7, supporting the C236~C306 elements of single direction,
S1: Rotation distance of input axis, electronic gear ratio determined by this operand and S2.
S2: Rotation distance of output axis, electronic gear ratio determined by this operand and S1.
Function description
1. This instruction implements the electronic gear function between the two output axis. The input axis is
as master axis, and the output axis is as slave one, which follows the master axis according to the average
speed ratio of S2/S1 (displacement ratio). For example, the GEARBOX Y4 1 Y5 3 instruction, when the axis
Y4 runs at an average speed of 10kHz, starting the GEARBOX instruction will cause Y5 to output at an
2. From the start of GEARBOX, the number of output pulses from master and slave axis meets the ratio of
S2/S1, and the following error (number of pulses) is within 1. In the following, the pulse width of the axis is
constantly changing, that is, the speed of the axis is tracked in real time. When the master axis executes
acceleration, deceleration, or interpolation operation, the slave axis can also follow it.
3. The ratio of electronic gear (S2/S1) varies between 1:1000 and 1000:1. When the variable ratio is
Note: The product of gear ratio S2 and master axis speed must not be greater than 1M Hz.
Note
2.High-speed instructions, envelope instructions, and position instructions can output high-speed pulse
by Y port. Do not use these instructions for the same high-speed port at the same time.
3.There can be multiple GEARBOX instructions in the user program, but only one GEARBOX can drive the
same port at a time. If multiple GEARBOX instructions drive the same port at the same time, the first one
4.If the SM80, output Y0 pulse output stop bit, is set, the output stops immediately.
5.Set the acceleration and deceleration follow function to SD423, then the change rate of gear ratio S2
within each scan cycle can be limited to ensures that the slave axis can gradually follow the master axis.
Example:
Operand description
D1:Output point number corresponding to X-axis pulse (or forward pulse): Y0, Y4,Y5,Y6, Y7.
D3:Output point number corresponding to Y-axis pulse (or forward pulse): Y2, Y4,Y5,Y6, Y7.
Function description
1. At the specified vector speed, move along a straight path to the target position.
D element Content
S Reserved
Logical relationship between action mode and output (The configuration code is in decimal)
Pulse+direction
00 Increment
(forward ON/reserve OFF)
S+1
01 Increment Forward pulse/reserve pulse
Pulse+direction
10 Absolute
(forward ON/reserve OFF)
of X and Y axis during the movement from the current position to the target.
(2) In absolute mode, the trajectory target adopts absolute address, which refers to the absolute position
Note
1. The output point numbers D1 and D3 corresponding to the two output pulse signals (or forward pulse
signal) used in the instruction, must be used in groups. When the output group is specified as Y0 and Y2, Y1
and Y3 are used as directional signal or reverse pulse signal with them respectively; D1 and D3 can also
select any 2 axis of Y4, Y5, Y6, Y7, to interpolate, and the corresponding direction signal can be freely
selected;
2. The output group(Y0, Y2) can be specified as "pulse + direction" mode or "positive pulse + negative
pulse" mode, with a maximum speed of 100k; Y4, Y5, Y6 and Y7 as interpolation are output in "pulse +
4. Do not to use multiple high-speed instructions, envelope instructions, or positioning instructions for the
Example
CW: Clockwise Arc Trajectory Interpolation
Operand description
S:Starting address of the parameter table storage area
D1:Output point number corresponding to X-axis pulse (or forward pulse): Y0, Y4,Y5,Y6, Y7.
D3:Output point number corresponding to Y-axis pulse (or forward pulse): Y2, Y4,Y5,Y6, Y7.
Function description
1. In accordance with the specified vector speed, moves along the arc trajectory to the target position (CW:
D element Content
decimal)
code
pulse+direction
S+1 00 Increment
(forward ON/reserve OFF)
pulse+direction
10 Absolute
(forward ON/reserve OFF)
S+2 Reserved
S+3 Reserved
S+6 Reserved
S+7 Reserved
1.The output point numbers D1 and D3 corresponding to the two output pulse signals (or forward pulse
signal) used in the instruction, must be used in groups. When the output group is specified as Y0 and Y2, Y1
and Y3 are used as directional signal or reverse pulse signal with them respectively; D1 and D3 can also
select any 2 axis of Y4, Y5, Y6, Y7, to interpolate, and the corresponding direction signal can be freely
selected;
2.The output group(Y0, Y2) can be specified as "pulse + direction" mode or "positive pulse + negative
pulse" mode, with a maximum speed of 100k; Y4, Y5, Y6 and Y7 as interpolation are output in "pulse +
4.Do not to use multiple high-speed instructions, envelope instructions, or positioning instructions for the
5.The coordinates of the passing point specified in the passing position mode refer to the passing
position of the whole circle, and the user-defined trajectory path may not pass through the point.
Example
Suppose the user's current SD element position value is (2000,5000) and wants to draw the arc shown below:
Starting
point
Center of Circle
Target position
X axis(SD200)
PLSV: Variable Speed Pulse Output Instruction
Operand description
S: Output pulse frequency: Y0\Y1\Y2\Y3(0 ~ 200kHz, Y5\Y6\Y7\Y8(0 ~ 100kHz;
When S is positive: D2 is ON
Function description
1. You can change the output pulse frequency S even in the state of output high speed
pulses.
2. Execute The acceleration and deceleration are executed when starting/ stopping/
shifting.
3. The pulse output process is interrupted and the power flow slows to a stop. If it is
4. If the corresponding pulse output monitor bit is ON, the power flow driven by the
instruction will not be driven again after the power flow turns OFF.
Note:
2) Do not to use these instructions for high-speed output on the same high-speed port
SM80 Y0 pulse output stop Y0 pulse will be disabled when this bit is set R/W
SM261 Y1 pulse output stop Y1 pulse will be disabled when this bit is set R/W
SM262 Y2 pulse output stop Y2 pulse will be disabled when this bit is set R/W
SM263 Y3 pulse output stop Y3 pulse will be disabled when this bit is set R/W
SM264 Y4 pulse output stop Y4 pulse will be disabled when this bit is set R/W
SM265 Y5 pulse output stop Y5 pulse will be disabled when this bit is set R/W
SM266 Y6 pulse output stop Y6 pulse will be disabled when this bit is set R/W
SM267 Y7 pulse output stop Y7 pulse will be disabled when this bit is set R/W
applicable to DSZR
3)SM element of Y1
applicable to DSZR
4)SM element of Y2
applicable to DSZR
5)SM element of Y3
applicable to DSZR
6)SM element of Y4
applicable to DSZR
7)SM element of Y5
8)SM element of Y6
applicable to DSZR
9)SM element of Y7
applicable to DSZR
instruction
(y0)(5ms~5000ms)
instruction
(y2)(5ms~5000ms)
instruction
(y2)(5ms~5000ms)
instruction
(y3)(5ms~5000ms)
instruction
(y4)(5ms~5000ms)
SD346 16 0 Clearing signal soft element specified Y4 R/W
instruction
(y5)(5ms~5000ms)
instruction
(y6)(5ms~5000ms)
(y7)(5ms~5000ms)
6. Special Instruction
1) In the process of sending AB phase pulses, the current position and pulse total
register of the auxiliary axis (Y0's auxiliary axis is Y1, Y2's is Y3, and Y6's is Y7) does not
work. And in the process of executing GEARBOX instruction, the current position and pulse
total register does not work, so that the user can use the high-speed counter to to know the
2) Y1, Y0 cumulative output pulse total registers SD54, SD55 are only valid for DRVI
instruction;
3) The instructions to change the speed during pulse transmission are: DRVI, DRVA,
4) In SFC, only one PLS instruction is allowed to operate on the same output. If there
are two PLS instructions, the second one is not executed. After the PLS instruction in SFC
operates on an output port, the subprogram can no longer operate on this port.
6) DSZR and ZRN instruction accelerate from the specified crawling speed of
instructions.
7) If you have special needs, such as differential input or output, higher frequency
2. Warranty period is 18 months, within which period Megmeet conducts free maintenance
and repairing to the PLC that has any fault or damage under the normal operation
conditions.
3. The start time of warranty period is the delivery date of the product, of which the product
SN is the sole basis of judgment. PLC without a product SN shall be regarded as out of
warranty.
4. Even within 18 months, maintenance will also be charged in the following situations:
Damages incurred to the PLC due to mis-operations, which are not in compliance
Damages incurred to the PLC due to fire, flood, abnormal voltage, etc;
Damages incurred to the PLC due to the improper use of PLC functions.
5. The service fee will be charged according to the actual costs. If there is any contract, the
contract prevails.
6. If you have any question, please contact the distributor or our company directly.
Add: 5th Floor, Block B Unisplendour Information Harbor, Langshan Road, Shenzhen, 518057,
China
Tel:400-666-2163 (+86)0755-86600500
Fax:(+86)0755-86600999
Zip:518067
Website:www.megmeet.com