Professional Documents
Culture Documents
Cpu286 Instruction Manual
Cpu286 Instruction Manual
Remark: Axis 1 base address is 200, Axis 2 base address is 300, Axis 3 base address is 400, Axis 4 base address is 500, below
addresses all are the offset addresses of relative axis base address.
Instruction block
diagram
Remark After close then can not call motion control instruction
2.2 Axis parameter configuration
Instruction block
diagram
EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
SMOOTH REAL Axis smooth rate, floating point input, range (0.0~1.0)
Output parameter No
Function description Initialize axis parameter
Demo Axis speed initialization
Remark Start speed, stop speed, run speed, acceleration and deceleration must be >0 integer
Instruction block
diagram
EN BOOL Enable
START
SMOOTH REAL interpolation smooth rate, floating point input, range (0.0~1.0)
Output parameter No
Function description Initialize interpolation parameter
Demo Interpolation speed initialization
Remark Start speed, stop speed, run speed, acceleration and deceleration must be >0 integer
Instruction block
diagram
EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Output parameter No
Function description Configure special signal
Demo
Remark No
2.5 Special signal active level configuration
Instruction block
diagram
EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
LIMIT BOOL Overturn limit signal active level (0 not overturn 1 overturn)
Input parameter
ALARM BOOL Overturn alarm signal active level (0 not overturn 1 overturn)
INPUT BOOL Overturn in position signal active level (0 not overturn 1 overturn)
EMG BOOL Overturn emergency signal active level (0 not overturn 1 overturn)
HOME BOOL Overturn origin point signal active level (0 not overturn 1 overturn)
Output parameter No
Function description Configure special signal active level
Demo Configure active level
Remark Default active level is high level
Instruction block
diagram
EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Output parameter No
Function description Configure soft limit value
Demo Configure soft limit
Remark No
Instruction block
diagram
Input parameter EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Output parameter No
Function description axis stop immediately
Demo Single axis stop immediately
Remark No
Output parameter No
Remark No
Instruction block
diagram
EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Output parameter No
Function description Axis decelerate stopping
Demo Axis decelerate stopping
Instruction block
diagram
EN BOOL Enable
Output parameter No
Function description All Axis decelerate stopping
Demo All Axis at 22000 decelerate stopping
Instruction block
diagram
EN BOOL Enable
Output parameter No
Function description Change Axis position
Demo Configure Axis 1 position 1000, Axis 2 1234, Axis 3 344, Axis 4 1000
Remark No
Instruction block
diagram
EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Input parameter
DIR_0 BYTE Axis 1 back to origin point direction
Back to origin point mode 1: once back to zero plus reserve seeking, meet origin point switch +exit, reserve
seeking origin point again, the processing of limit as mode 0
Back to origin point mode 2: twice back to zero, meet origin point switch -exit, reserve seeking origin point
again, the processing of limit as mode 0
Demo Back to origin point movement
Remark Reserve seeking speed of back to origin point same as axis start speed.
2.13 speed movement instruction
Instruction block
diagram
EN BOOL Enable
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
DIR BYTE Direction, correspond with Axis No. corresponding position 1 means this axis forward 0 reserve
Input parameter
MODE BYTE Set 0
Function description Acceleration to appointed speed, continue moving at this speed, till get deceleration or stopping instruction
Remark Speed not exceed configured axis running speed, if over, then configure moving at axis running speed.
2.14 speed motion online change speed
Instruction block
diagram
Input parameter EN BOOL Enable bit
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Demo
Remark Variable speed set must above 0, no matter target speed increase or decrease, all vary according to axis
accelerate parameter ACC (refer to 2.2)
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Posi
tion
control
instruction time
Demo Axis0 and axis1 respectively run to the position of 2000 and 3000.
Remark None
Instruction Diagram
Input Parameter EN BOOL Enable bit
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Speed Change
target
location
instruction
time
Demo
Remark None
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Remark None
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Remark Please use circle center end way for full circle interpolation
AXIS BYTE Axis No., low four byte means 4 axis, corresponding position 1 means this axis enable
Axis 0 and axi1 draw anticlockwise full circle by [0, 10000] as center of circle.
Remark Please use center of circle end way for full circle interpolation
Step 5: check
whether invoke l
motion module
initialization function
Please refer to
motion module
initialization
Q 5: after limit or alarm effective, motors sequentially run towards that direction
Because UN286 support limit, origin etc. Signals reuse, when use limit and origin etc. special signals, need first to enable this
function, please refer to “special signals configuration module” to set. Please check reuse diagram of UN286 special signals and
general input as below: