Intelligent Motion Systems 17 manual I n s t r u c t i o n s , Va r i a b l e s a n d F l a g s

Models: 17

1 69
Download 69 pages 43.66 Kb
Page 38
Image 38

I / O I n s t r u c t i o n s , Va r i a b l e s a n d F l a g s

Mnemonic

Function

Unit

Range

Syntax Example

D1

Set Input 1 Digital Filtering

Milliseconds

0-255

D1=<time>

D2

Set Input 2 Digital Filtering

Milliseconds

0-255

D2=<time>

D3

Set Input 3 Digital Filtering

Milliseconds

0-255

D3=<time>

D4

Set Input 4 Digital Filtering

Milliseconds

0-255

D4=<time>

D5

Set Input 5 Digital Filtering

Milliseconds

0-255

D5=<time>

I1

Read Input 1

-

0/1

PR I1, BR I1,<cond>

I2

Read Input 2

-

0/1

PR I2, BR I2,<cond>

I3

Read Input 3

-

0/1

PR I3, BR I3,<cond>

I4

Read Input 4

-

0/1

PR I4, BR I4,<cond>

I5

Read Input 5 (Analog)

-

0-1024

PR I5, BR I5,<cond>

I6

Read Encoder Index Mark Low true

 

 

 

IN

Read Inputs 1-4 as One Value

data

0-15

PR IN

O1

Set Output 1 to Logic State

-

0/1

O1=<1/0>

O2

Set Output 2 to Logic State

-

0/1

O2=<1/0>

O3

Set Output 3 to Logic State

-

0/1

O3=<1/0>

O4

Set Output 4 to Logic State

-

0/1

O4=<1/0>

OT

Write Data to Outputs 1-4 as One Value

data

0-15

OT=<data>

S1

Setup IO Point 1

Type, Active

Type Table, 0/1

S1=<type>,<active>

S2

Setup IO Point 2

Type, Active

Type Table, 0/1

S2=<type>,<active>

S3

Setup IO Point 3

Type, Active

Type Table, 0/1

S3=<type>,<active>

S4

Setup IO Point 4

Type, Active

Type Table, 0/1

S4=<type>,<active>

TI

Trip on Input

-

-

TI <input>,<addr>

TE

Trip Enable

See Table

<1-4>

TE=<num>

P r o g r a m I n s t r u c t i o n s , Va r i a b l e s a n d F l a g s

Mnemonic

Function

Unit

Range

Syntax Example

BR

Branch (Conditional/Unconditional)

-

-

BR <addr>, <cond>

CL

Call Subroutine (Conditional/Unconditional)

-

-

CL <addr>, <cond>

CP

Clear Program

Address

1-767

CP <addr>

DC

Decrement Variable

-

-

DC <var/ureg>

E

End Program Execution

-

-

E

EX

Execute Program at Address Using Selected Trace Mode

1-767

EX <addr>, <mode>

H

Hold Prog. Execution Blank/0=Motion stops

milliseconds

Blank(0)/1-65000

H=<msec>

IC

Increment Variable

-

-

IC <var>

L

List Program

Address

1-767

L <addr>

LB

Create a Program Address Label Name

 

 

 

OE

On Error Handler 0=Disabled

Address

0/1-767

OE <addr>

 

 

 

 

 

PG

Start Program Entry at Specified Address

-

Blank/1-767

PG <addr>

RT

Return from Subroutine

-

-

RT

S

Save to EEPROM

-

-

S

VA

Create A User Variable Name

 

 

 

 

 

 

 

 

UV

Read User Variables

-

-

PR UV

36

Page 38
Image 38
Intelligent Motion Systems 17 manual I n s t r u c t i o n s , Va r i a b l e s a n d F l a g s