Chapter 7 Function Block
7-11
7.4.5 Operation Data Teaching (APM_SMD)
Form of Function Block Description
DONE
REQ
BASE
SLOT
STAT
BOOLBOOL
USINT
USINT
UINT
AXIS
USINT
STEP
USINT
MD_VAL
DINT
MD_NO
USINT
Input
REQ : Request for execution of function block
BASE : Set the base no. with module
SLOT : Set the slot no. with module
AXIS : Axis to command
STEP : Step no. to modify
MD_NO : Item no. of operation data to modify
MD_VAL : Operation data value to modify
Output
DONE : Maintain 1 after first operation
STAT : Output the error no in operation
(1) Give “Operation Data Teaching” command to the axis designated as the axis of positioning module with BASE
(Base no. of Positioning module) and SLOT (Slot no. of Positioning module).
(2) Parameter value modified by operation data teaching command is valid within power connection. If you want to
keep the parameter without power connection, save the value in flash memory APM_WRT
(Parameter/Operation Data Saving command) after basic parameter teaching
(3) In case “STEP” is 0, it changes current step.
(4) The operation data items and setting values are as follows.
Setting value Item Setting range
1 Goal address
2 Cir. Int. aux. point
-2,147,483,648 ∼ 2,147,483,647 [pulse]
3 Speed
1 ∼ 2,000,000 [pulse/s]
4 Dwell time 0 ~ 65,535[ms]
5 M code number 0 ~ 65,535
6 Cir. Int. turns 0 ~ 65,535
7 Operation method 0:single, 1:repeat
8 Control method 0:position control, 1:speed control
9 Operation pattern 0:End, 1:Keep, 2:CONT
10 Coordinate 0:Absolute, 1:Incremental
11 Cir. Int. size 0:Arc<180 1:Arc>=180
12 Acc. no. 0 ~ 3
13 Dec. no. 0 ~ 3
14 Cir. Int. mode 0:MID, 1:CENTER, 2:RADIUS
15 Cir. Int. direction 0:CW, 1:CCW
16 Repeat step number 1~150