I/O Instructions, Variables And Flags; Program Instructions, Variables And Flags - IMS 17 Operating Instructions Manual

Motion control
Table of Contents

Advertisement

I / O I n s t r u c t i o n s , V a r i a b l e s a n d F l a g s
Mnemonic
Function
D1
Set Input 1 Digital Filtering
D2
Set Input 2 Digital Filtering
D3
Set Input 3 Digital Filtering
D4
Set Input 4 Digital Filtering
D5
Set Input 5 Digital Filtering
I1
Read Input 1
I2
Read Input 2
I3
Read Input 3
I4
Read Input 4
I5
Read Input 5 (Analog)
I6
Read Encoder Index Mark Low true
IN
Read Inputs 1-4 as One Value
O1
Set Output 1 to Logic State
O2
Set Output 2 to Logic State
O3
Set Output 3 to Logic State
O4
Set Output 4 to Logic State
OT
Write Data to Outputs 1-4 as One Value
S1
Setup IO Point 1
S2
Setup IO Point 2
S3
Setup IO Point 3
S4
Setup IO Point 4
TI
Trip on Input
TE
Trip Enable
P r o g r a m I n s t r u c t i o n s , V a r i a b l e s a n d F l a g s
Mnemonic
Function
BR
Branch (Conditional/Unconditional)
CL
Call Subroutine (Conditional/Unconditional)
CP
Clear Program
DC
Decrement Variable
E
End Program Execution
EX
Execute Program at Address Using Selected Trace Mode
H
Hold Prog. Execution Blank/0=Motion stops
IC
Increment Variable
L
List Program
LB
Create a Program Address Label Name
OE
On Error Handler 0=Disabled
PG
Start Program Entry at Specified Address
RT
Return from Subroutine
S
Save to EEPROM
V A
Create A User Variable Name
UV
Read User Variables
Unit
Range
Milliseconds
0-255
Milliseconds
0-255
Milliseconds
0-255
Milliseconds
0-255
Milliseconds
0-255
-
-
-
-
-
0-1024
data
0-15
-
-
-
-
data
0-15
Type, Active
Type Table, 0/1
Type, Active
Type Table, 0/1
Type, Active
Type Table, 0/1
Type, Active
Type Table, 0/1
-
See Table
<1-4>
Unit
Range
-
-
Address
1-767
-
-
1-767
milliseconds
Blank(0)/1-65000
-
Address
1-767
Address
0/1-767
-
Blank/1-767
-
-
-
Syntax Example
D1=<time>
D2=<time>
D3=<time>
D4=<time>
D5=<time>
0/1
PR I1, BR I1,<cond>
0/1
PR I2, BR I2,<cond>
0/1
PR I3, BR I3,<cond>
0/1
PR I4, BR I4,<cond>
PR I5, BR I5,<cond>
PR IN
0/1
O1=<1/0>
0/1
O2=<1/0>
0/1
O3=<1/0>
0/1
O4=<1/0>
OT=<data>
S1=<type>,<active>
S2=<type>,<active>
S3=<type>,<active>
S4=<type>,<active>
-
TI <input>,<addr>
TE=<num>
Syntax Example
-
BR <addr>, <cond>
-
CL <addr>, <cond>
CP <addr>
-
DC <var/ureg>
-
E
EX <addr>, <mode>
H=<msec>
-
IC <var>
L <addr>
OE <addr>
PG <addr>
-
RT
-
S
-
PR UV
36

Advertisement

Table of Contents
loading

This manual is also suitable for:

Excellence in motion mdrive17

Table of Contents