
Appendix 5-3
TI71M01D06-01EN 3rd Edition: 2012.12.01
(2) Sample Programs for the Linear Motor
No. 4 ABS Positioning
This sample program performs ABS positioning to the command unit position specified by
#100 (user variable) at table No. 4. Specify the value of #100 by taking account of the stroke
amount. To start from Terminal in the utility software, use @3:4.
No. 6 INC Positioning
This sample program performs INC positioning in the + direction by the command unit value
specified by #100 (user variable) at table No. 6. Specify the value of #100 by taking account of
the stroke amount. To start from Terminal in the utility software, use @3:6.
No. 40 ~ No. 57
Example of a Slightly Complicated Operation Pattern
This example shows a slightly complicated operation pattern of the motor. This operation
pattern may not be used as is; use it as a sample when utilizing an operation table. Specify
the value of #100 by taking account of the stroke amount.
A pattern may collide with the stroke end depending on the operation starting position. Check
the starting position before executing.
CAUTION
Operation pattern
: INC positioning for the stroke amount specified by #100
: 4-divided INC positioning
#101 = -#100
@3:40
No.40:
Table No.
* Specify the value of #100 by taking account of the stroke amount before starting.
#102 = #100/4
#103 = #101/4
INC positioning
Amount of
movement: #100
Dwell (300msec)
#104 = 4
#105 = 0
#105 < #104
YES
NO
#105 = #105+1
INC positioning
Amount of
movement: #103
Dwell (100msec)
#105 = 0
#105 < #104
YES
NO
#105 = #105+1
INC positioning
Amount of
movement: #102
Dwell (100msec)
INC positioning
Amount of
movement: #101
Dwell (300msec)
No.41:
No.42:
No.43:
No.44:
No.45:
No.46:
No.47:
No.48:
No.49:
No.50:
No.51:
No.52:
No.53:
No.54:
No.55:
No.56:
No.57:
A
A