MP2000 Quick Reference Guide Rev1.21
MP2000 Quick Reference Guide Rev1.21
Contents
Registers
2 Memory Map
3 Register Addressing
4 Global Allocation Map
5 Axis Allocation Overview
6 Axis Allocation Detail
7 Axis Allocation Bit Detail
8 Axis Allocation Constant Detail
9 Local Register Allocation
Startup and Communication
10 General Startup Procedure
11 Serial/Ethernet Communication
Register Based Programming
12 Basic Set of Registers
13 Motion Command Code Positioning
Function Blocks
14 Function Block Startup Procedure
15 Function Block Troubleshooting
16 RDA Summary
17 RDA page 1
18 RDA page 2 (error codes)
19 RDA page 3
20 RDA Cam&Gear (M-S Pair)
Motion Programming Language
21 Motion Program Startup Procedure
22 Motion Program Work Registers
Configuration
23 Reference Units
24 Tuning
25 Terminology Synonyms
26 Register Offsets
C
Axis#1:MW100-199, Axis#2:MW200-299
I
Fixed Parameters (for each axis) Example: *Function Block RDA: MW30000-65535 M
Written to in Module Configuration Mechanical system specifications Axis#1:MW30100. Offset=200 per axis A
Define axis units, motor specs. (pulley ratios, encoder counts per load rev) Master-Slave: MW56000. Offset=50 per M-S Pair L
Cannot be written by ladder Reference: RDA Spreadsheet
Changes usually require power cycle Reference: * If using motion function blocks.
I (Input) IW0000-FFFF O (Output) OW0000-FFFF H
general purpose & motion data (Read only by application program) general purpose &motion data (Read/Write by application program) E
Physical Inputs: IW0000-7FFF Physical Outputs: OW0000-7FFF X
Convention: IW0410+ for Local I/O modules Convention: OW0410+ for Local I/O Modules A
D
IW0010+ for M-LINK I/O modules OW0010+ for M-LINK I/O modules
E
Axis (Motion) Input: IW8000-807F (Module#1, Axis#1) Axis (Motion) Output: OW8000-807F (Module#1, Axis#1) C
"motion monitoring" Offset 80h per axis "motion setting" Offset 80h per axis I
800h per module 800h per module M
Example: IB8000 0 = controller ready Example: OB8000 0 = turn servo on A
L
Reference: Basic Module User Man 7.2.3 Reference: Basic Module User Man 7.2.2
D (Local Registers)*
Used as general purpose read/write in the defined Drawing only.
Program Memory (Overwritten from FLASH at power up)
Page 2 of 25
MP2000 Quick Reference Guide Rev1.21
Address F E D C B A 9 8 7 6 5 4 3 2 1 0
MW2008 ML2008
MW2009
MW2010 MF2010
MW2011
M B 2008 C i
Register Type Data Type Register Bit Number Subscript
S: System B: Bit Number (Hex) (i or j)
C: Global Constant W: 16-bit Word If Bit Data Type optional
(Decimal)
M: Multi-Purpose User L: 32-bit Long
D: User Local F: 32-bit Float
#: Local Constant A: Address
A: Startup
Address F E D C B A 9 8 7 6 5 4 3 2 1 0
OW8018
OW8019
OW801A OL801A
OW801B
O B 8019 A
Register Type Data Type Register Bit Number
O: Output (Motion Setting) B: Bit Number (Hex)
I: Input (Motion Monitoring) W: 16-bit Word If Bit Data Type
(Hex)
L: 32-bit Long
F: 32-bit Float
Page 3 of 25
MP2000 Quick Reference Guide Rev1.21
Local
Register
Description
Range
SPARE
General purpose usage, if
MW30099
MW30100 Function Block RDA
set is not used.
Axis # 1-128
MW55699
MW55700
SPARE
MW55999
MW56000 Function Block Master-Slave
(CAM/GEAR) Pair # 1-128
MW62249
MW62250
SPARE
MW65534
Page 4 of 25
MP2000 Quick Reference Guide Rev1.21 Page 5
Map
Register
Description
Range
MW00100
Axis #1
MW00199
MW00200
Axis # 2
MW00299
MW00300
Axis # 3
MW00399
MW00400
Axis # 4
MW00499
MW00500
Axis # 5
MW00599
MW00600
Axis # 6
MW00699
MW00700
Axis # 7
MW00799
MW00800
Axis # 8
MW00899
MW00900
Axis # 9
MW00999
MW01000
Axis # 10
MW01099
...
MW06400
Axis # 64
MW06499
Page 5 of 25
MP2000 Quick Reference Guide Rev1.21 Page 6
Axis
Leading
Axis
Address
Enter Axis Number to determine Corresponding
register range (64 Maximum Axes) --> 1 00100
Register
Description
Range
MW00100
Axis Bit Operation
MW00109
MW00110 Axis Operation
MW00199 MW0xxxx; ML0xxxx; MF0xxxx; MB0xxxxx
Page 6 of 25
MP2000 Quick Reference Guide Rev1.21 Page 7
Axis
1 <--Axis # (From Axis Detail Tab)
160 Bits (10 Words) allocated for each Axis [Note: Addresses Update by Changing Axis # on Axis Detail Tab]
Address Description Address Description Address Description Address Description
MB001000 Axis Normal MB001010 Automatic Production Reference MB001020 MB001030
MB001001 Servo On Reference MB001011 Automatic Production MB001021 MB001031
MB001002 MB001012 MB001022 MB001032
MB001003 MB001013 MB001023 MB001033
MB001004 MB001014 MB001024 MB001034
MW00100
MW00101
MW00102
MW00103
MB001005 Jog Forward Interlock MB001015 MB001025 MB001035
MB001006 Jog Reverse Interlock MB001016 MB001026 MB001036
MB001007 Jog Forward Reference MB001017 MB001027 MB001037
MB001008 Jog Reverse Reference MB001018 MB001028 MB001038
MB001009 Jogging MB001019 MB001029 MB001039
MB00100A Homing In Progress MB00101A MB00102A MB00103A
MB00100B Homing Completed Detection MB00101B MB00102B MB00103B
MB00100C Homing Completed Latch MB00101C MB00102C MB00103C
MB00100D MB00101D MB00102D MB00103D
MB00100E MB00101E Axis Running MB00102E MB00103E
MB00100F MB00101F Zero Speed MB00102F MB00103F
MB001040 MB001050 MB001060 MB001070
MB001041 MB001051 MB001061 MB001071
MB001042 MB001052 MB001062 MB001072
MB001043 MB001053 MB001063 MB001073
MB001044 MB001054 MB001064 MB001074
MW00104
MW00105
MW00106
MW00107
MB001045 MB001055 MB001065 MB001075
MB001046 MB001056 MB001066 MB001076
MB001047 MB001057 MB001067 MB001077
MB001048 MB001058 MB001068 MB001078
MB001049 MB001059 MB001069 MB001079
MB00104A MB00105A MB00106A MB00107A
MB00104B MB00105B MB00106B MB00107B
MB00104C MB00105C MB00106C MB00107C
MB00104D MB00105D MB00106D MB00107D
MB00104E MB00105E MB00106E MB00107E
MB00104F MB00105F MB00106F MB00107F
MB001080 MB001090
MB001081 MB001091 Notes:
MB001082 MB001092
MB001083 MB001093
MB001084 MB001094
MW00108
MW00109
MB001085 MB001095
MB001086 MB001096
MB001087 MB001097
MB001088 MB001098
MB001089 MB001099
MB00108A MB00109A
MB00108B MB00109B
MB00108C MB00109C
MB00108D MB00109D
MB00108E MB00109E
MB00108F MB00109F
Page 7 of 25
MP2000 Quick Reference Guide Rev1.21
Axis
1 <--Axis # (From Axis Detail Tab)
Register
Description
Range
Page 8 of 25
MP2000 Quick Reference Guide Rev1.21
Map
Register
Description
Range
DW00032
SPARE
DW00099
DW00100
Function Block Word Registers
DW16384
Page 9 of 25
MP2000 Quick Reference Guide Rev1.21
Page 10 of 25
MP2000 Quick Reference Guide Rev1.211
Ethernet Connection
MW/MPE720 communicates to the
MP2300's 218IF-01 Ethernet module
through the Communication Manager
program. All 3 must be configured to
log on online over Ethernet.
Be sure the 218-IF TEST and INIT dipswitches are both off (left)
Instruction Step Detail
Give the 218IFmodule an 1 Open project and go online via serial port (CP-217)
IP address 2 Under the Setup tab, choose Module Configuration
3 Highlight the column of 218IF-01 slot
4 In the Module Details section, double-click slot 2 (or R-click - Open Slot)
Enter the Controller's IP address and save. (The table at the bottom of the
5
screen is for other Ethernet devices controlled by the MP2000)
6 Save configuration, close window, save and save to flash
Cycle unit power so that IP address is updated. Be sure all dipswitches are off
7 on both the base unit and the 218IF-01 to avoid overwriting the flash save
upon power up
NOTES:
It is assumed that a valid IP address has been acquired from the network administrator.
To connect directly, use a crossover cable and configure your PC to use a static IP address.
As noted on the 218IF module, the network must be 10mbps, or switchable from 100mbps to 10mbps.
If a 218IF error does not go away after power is cycled, turn on the 218IF INIT dipswitch and cycle power.
Page 11 of 25
MP2000 Quick Reference Guide Rev1.21
Page 12 of 25
MP2000 Quick Reference Guide Rev1.21
Page 13 of 25
MP2000 Quick Reference Guide Rev1.21
Page 14 of 25
MP2000 Quick Reference Guide Rev1.21
Page 15 of 25
MP2000 Quick Reference Guide Rev1.21
MW30000
Spare
MW30100
Logical Axis #1
MW30300
Logical Axis #2
MW30500 RDA
Individual Axis Information
Logical Axis #3
MW30700
MW55500
Logical Axis #128
/25700w
MW55700
/300w
MW56000
Mster-Slave #1
MW56050
Mster-Slave #2
MW56100
Mster-Slave #3
RDA
MW56150 CAM/GEAR Information
MW62200
Master-Slave #128
/6400w
MW62250
MW65534 /3285w
Page 16 of 25
MP2000 Quick Reference Guide Rev1.21
Page 17 of 25
MP2000 Quick Reference Guide Rev1.21
Page 18 of 25
MP2000 Quick Reference Guide Rev1.21
1200 Buf0 Abs Pos -L ML30280 Buf0 -Absolute Position at Power OFF (Lower 2word)
1201 Buf0 Abs Pos -U ML30282 Buf0 -Absolute Position at Power OFF (Upper 2word)
1202 Buf0 Mod Pos -L ML30284 Buf0 -Modularized Position at Power OFF (Lower 2word)
1203 Buf0 Mod Pos -U ML30286 Buf0 -Modularized Position at Power OFF (Upper 2word)
1204 Buf1 Abs Pos -L ML30288 Buf1 -Absolute Position at Power OFF (Lower 2word)
1205 Buf1 Abs Pos -U ML30290 Buf1 -Absolute Position at Power OFF (Upper 2word)
1206 Buf1 Mod Pos -L ML30292 Buf1 -Modularized Position at Power OFF (Lower 2word)
1207 Buf1 Mod Pos -U ML30294 Buf1 -Modularized Position at Power OFF (Upper 2word)
Page 19 of 25
MP2000 Quick Reference Guide Rev1.21
1062 Negative Cyc End bit2 On when CAM Master position, includes CAM-Shift, rolled over in Negative direction.
1063 bit3
1064 bit4
1065 bit5
1066 bit6
1067 bit7
MW56000
1068 bit8
CAM
1069 Status
bit9
1070 bitA
1071 bitB
1072 bitC
1073 bitD
1074 bitE
1075 bitF
1076 bit0
~ MW56001 ~
1091 bitF
bit0 Disengaged
bit1 Waiting to Engage
1092 CAM Status MW56002 bit2 CAMing is Locked
bit3 Waiting to Disengage
bit4 -
1093 TABLE Size MW56003 Cam Table Size
1094 CAMshift ML56004 Absolute CAM Shift amount [count]
1095 SLAVE offset ML56006 Absolute Offset amount [count]
1096 CAM Scale ML56008 Absolute Acale amount [0.01%]
1097 Machine Cycle ML56010 Machine Cycle [count]
1098 Data Counter ML56012 Raw master data for master-slave pair [count]
1099 ModData ML56014 Modulated master data for master/slave pair. [count]
1100 M-S Block ML56016 ???
1101 - -
1102 - -
1103 - -
1104 - -
bit0 Disengaged
bit1 Accelerating
1105 GEAR state MW56020 bit2 Gearing is locked and synched
bit3 Decelerating
bit4 -
Page 20 of 25
MP2000 Quick Reference Guide Rev1.21
Motion Program
Step Instruction Detail
In the Program window on the left, click the Motion tab.
1 Start a new Motion Program Expand the folders, and R-click Main Program. Select New.
Give it a name and click OK.
There are no commands for SERVO ON or JOG in the
Things to know before a Motion
2 Motion Programming Language. These steps are to be
Program is started
accomplished in Ladder.
First line must be 'MPM001' and last line must be 'END;'.
Instructions terminate with semicolon. Comments enclosed
3 Write Motion Program in quotes ("comment"). Refer to Motion Programming User
Manual (SIEZ-C887-1.3) for extensive details on each
command.
4 Save Motion Program Use save icon.
Page 21 of 25
MP2000 Quick Reference Guide Rev1.21
DB000013 Program Debug Mode Select "Single block mode". ON will force debugging mode
DB000014 Program Debug Start "Single Block Mode" start. ON (transition) debug block by block
DB000015 Program alarm Reset ON will clear the program alarm (stop program before issuing alarm reset)
Program Continuous
DB000016 ON will cause program to ….
Operation Start Request
ON will cause the program to skip an interpolated motion block if the SKP ss1
DB000018 Block Skip 1 Operation
instruction was used instead of MVS
ON will cause the program to skip an interpolated motion block if the SKP ss2
DB000019 Block Skip 2 Operation
instruction was used instead of MVS
System Work Number
DB00001D ON Sets system work register number with 4th word of MSEE work register
Setting
Interpolation Override
DB00001E ON activates the interpolation override speed with the 3rd MSEE work register
Setting
3rd Work
The speed set in this register [0.01% of FMX] will override the interpolation speed set in the motion program
DW00002 (F & IFP commands) when bit E of the 2nd word of the MSEE work register is ON
The system work register number in this register will be used when bit D of the 2nd word of the MSEE work
DW00003 register is ON. Otherwise the system work register number will be automatically defined by the system and
may be different each time.
Page 22 of 25
MP2000 Quick Reference Guide Rev1.21
RU = FP4 *10^-n
OL8010: Speed Reference [select unit OW8003.0-3] (Default 3000)
FP4 = RU Measurement
0: [RU/sec] . System
1: [10^n RU/min] 0: Pulse (post quad)
2: [% of Rated Speed (FP34)] 1: mm
OL801C: Position Reference [RU] n = 3 when FP4=0 (pulse) 2: deg
or n = FP5 when FP4<>0 3: inch
OL8044: Step Distance [RU] 4: micron
OB80092 = Step Direction
If PULSE is not chosen for the measurement
system use the following parameters to define the
relationship between PULSE and RU.
FP36: Encoder Pulses (post quad) per motor rev
FP8: Motor Revs into gearbox
Servopack Pn80B: Acceleration Rate Servopack Pn80E: Deceleration Rate FP9: Machine Shaft Revs out of gearbox
[10,000 RU/sec^2] (Default 65535) [10,000 RU/sec^2] (Default 65535) FP6: RU per Machine Shaft Revolution
Use MCC=10 Use MCC=11
to change to change
FP1.A=1 Acceleration Deceleration FP1.A=1 36 8 9
Update at power up or when FP1.A=0 when FP1.A=0 Update at power up or
Motor G.B. 6
when changed when changed
OL8036: Acceleration [select unit OW8003.4-7] (Default 0) OL8038: Deceleration [select unit OW8003.4-7] (Default 0) For an "Infinite Length" Axis
0: [RU/sec^2] 0: [RU/sec^2] * Rotary Table
1: [ms to Rated Speed (FP34)] 1: [ms to Rated Speed (FP34)] * Conveyor
FP1 bit0: Set axis type to "Infinite
OL8036/OL8038 =0 sets servopack acceleration/deceleration rate to Length"
65535[10,000 RU/sec^2], independent of unit selected in OW8003.4-7 FP10: Set R.U. per rotation.
This will be 360 degrees
(converted to R.U.) for a rotary
table.
Page 23 of 25
MP2000 Quick Reference Guide Rev1.21
Save the Servopack parameters to the Project, Servopack Flash, and MP2000 Flash
SVB module configuration SERVOPACK tab, use"Edit" menu, and choose “Copy Current
Value” to update servopack parameters to project. Repeat for each axis.
SVB module configuration SERVOPACK tab, use the SAVE button to save these current
Save project and save to flash.
Adjust the tuning register defaults that are written from the controller to Servopack at power-
up
In SVB module configuration "Setting Parameters" tab, Manually set all five OWxxxx tuning
registers to match the ServoPack parameters
Page 24 of 25
MP2000 Quick Reference Guide Rev1.21
Register Offsets
Offset Start Note
Per Axis 80h IW8000 / OW8000
Per Module / Circuit 800h IW8000 / OW8000
Function Block per axis 200 MW30100
Function Block Master-Slave 50 MW56000
Page 25 of 25