Chapter 7 Function Block
7-7
7.4 Parameter/Operation Data Teaching Function Block
7.4.1 Basic Parameter Teaching (APM_SBP)
Form of Function Block Description
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
BP_VAL : Basic parameter to change
BP_NO : Item no. of basic parameter to change
Output
DONE : Maintain 1 after first operating
STAT : Output the error no. in operation
(1) Give “Basic Parameter 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 basic parameter 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) The value that need to be set in basic parameter is as follows.
Value Items Setting Range
1 Speed Limit 1 ~ 2,000,000[pulse/s]
2 Bias speed 1 ~ 2,000,000[pulse/s]
3 Acc. Time 1
4 Acc. Time 2
5 Acc. Time 3
6 Acc. Time 4
7 Dec. Time 1
8 Dec. Time 2
9 Dec. Time 3
10 Dec. Time 4
0 ~ 65,535 [ms]
11 SW upper limit
-2,147,483,648 ∼ 2,147,483,647 [pulse]
12 SW lower limit
-2,147,483,648 ∼ 2,147,483,647 [pulse]
13 Backlash compensation 0 ~ 65,535 [pulse]
14 S/W limit detect 0: not detect, 1: detect
15 Position complete condition
0: dwell time, 1: inposition
2: dwell time and inposition, 3:dwell time or inposition
16 Upper/lower limit 0: not use, 1: use
17 Pulse output level
0: Low Active, 1: High Active
18 Pulse ouput mode
0: CW/CCW, 1: PLS/DIR
19 M code output mode
0: None, 1: With, 2: After