Ly n x co n tro l mo du le, Figure 6.2: isolated i/o input – Intelligent Motion Systems Modular LYNX System User Manual
Page 28

1 - 28
Modular LYNX System 12.05.2003
C o n f i g u r i n g a n I n p u t
Figure 6.2 below illustrates the Input Equivalent Circuit of the Isolated I/O being used with a switch. To
illustrate the usage of an input you will go through the steps to configure this switch to start a simple
program at Line 1000 to index a motor 200 user units. First you must configure the I/O Line 21 as a “GO”
input:
IOS 21 = 9, 0, 0
To break this command down:
IOS 21 - Identifies the I/O Line we are
setting as 21.
9 - Configures the I/O Type to “GO”.
0 - Configures I/O as Input.
0 - Configures I/O as Active LOW.
When the Input Type “GO” is selected
it will always look to execute a
program located at line 1 of program
memory. Therefore, to run a program at
line 1000 you must do the following:
PGM 1
‘Records program at line 1 of memory space
EXEC 1000
‘Execute program located at line 1000 of memory space
END
‘Terminates Program
PGM
‘Switches system back to immediate mode
PGM 1000
‘Records program at line 1000 of memory space
MOVR 200
‘Move relative to current position 200 user units
HOLD 2
‘Hold program execution until specified motion is
‘completed
END
PGM
C o n f i g u r i n g t h e D i g i t a l F i l t e r i n g
User definable Digital filtering makes the LYNX well
suited for noisy industrial environments. The filter
setting is software selectable using the
IOF
Variable
with a minimum guaranteed detectable
pulse width of 18 microseconds to 2.3 milliseconds.
The table below illustrates the IOF settings.
The filter setting will reject any frequency above
the specified bandwidth. For example:
IOF 2 = 3
‘Set the Digital
Filter for I/O Group 20 to
3.44kHz
This setting will cause any signal above 3.44 kHz on
I/O lines 21-26 to be rejected. The default filter
setting for the isolated I/O groups is 7, or 215Hz.
I/O LINE
PUSH BUTTON
SWITCH
4.5V Internal
Pullup
Pull-up Switch = CLOSED
I/O GND
L
Y
N
X
Co
n
tro
l Mo
du
le
Figure 6.2: Isolated I/O Input
O
/
I
d
e
t
a
l
o
s
I
e
s
o
p
r
u
P
l
a
r
e
n
e
G
e
h
t
r
o
f
s
g
n
i
t
t
e
S
r
e
t
l
i
F
F
O
I
)
7
-
0
=
>
m
u
n
<
(
>
m
u
n
<
=
F
O
I
g
n
i
t
t
e
S
r
e
t
l
i
F
f
f
o
t
u
C
y
c
n
e
u
q
e
r
F
e
s
l
u
P
e
l
b
a
t
c
e
t
e
D
m
u
m
i
n
i
M
h
t
d
i
W
0
z
H
k
5
.
7
2
s
d
n
o
c
e
s
o
r
c
i
m
8
1
1
z
H
k
7
.
3
1
s
d
n
o
c
e
s
o
r
c
i
m
6
3
2
z
H
k
9
8
.
6
s
d
n
o
c
e
s
o
r
c
i
m
3
7
3
z
H
k
4
4
.
3
s
d
n
o
c
e
s
o
r
c
i
m
5
4
1
4
z
H
k
2
7
.
1
s
d
n
o
c
e
s
o
r
c
i
m
0
9
2
5
z
H
0
6
8
s
d
n
o
c
e
s
o
r
c
i
m
1
8
5
6
z
H
0
3
4
s
d
n
o
c
e
s
il
l
i
m
2
6
1
.
1
)
t
l
u
a
f
e
d
(
7
z
H
5
1
2
s
d
n
o
c
e
s
il
l
i
m
3
2
3
.
2
Table 6.3: Digital Filter Settings for the Isolated I/O