Manual – IPOSplus®
375
24
"Table positioning" sample program
Assembler – Examples
24.4.5 Program source code (with remarks)
NUMERATOR: 1 DENOMINATOR: 1 UNIT: Inc
******************************************
Program: Table positioning
File: Tab.mdx
Author: SEW/AWT
Date: 01.06.98
Function: Table positioning:
- The first 4 inputs of the DIO11 option
are used to select the positions in the
corresponding variables 0-15 in binary coded format.
-Input DI17 (X22:17) is used to
enable the selected travel command
Parameterization of inputs/outputs:
In inverter commas = specified function
without inverted commas = IPOS INPUT/OUTPUT
Terminal wiring of inputs:----------------
DI00 "Controller inhibit"
DI01 "Enable"
DI02 "Error reset" (move LS clear)
DI03 "Reference cam"
DI04 "CW limit switch"
DI05 "CCW limit switch"
DI10 Variable pointer bit 2'0
DI11 2'1
DI12 2'2
DI13 2'3
DI14 (Jog CW)
DI15 (Jog CCW)
DI16 Start reference travel
DI17 Start positioning
Terminal wiring of outputs----------------
DB00 Brake
DO01 Ready signal
DO10 Variable pointer bit 2'0
DO11 2'1
DO12 2'2
DO13 2'3
DO14 -
DO15 Table position reached
DO16 "IPOS in position"
DO17 "IPOS reference"
Variables used:---------------------
H300 = Travel speed CW (1/10 rpm)
H301 = Travel speed CCW (1/10 rpm)
H302 = acceleration ramp CW (ms)
H303 = deceleration ramp CCW (linear)
H320 - H324 = auxiliary variables
******************************************
------------------------------------------
Comment
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n