Intelligent Motion Systems 17 Network Card User Manual


 
37
Mnemonic Function Unit Range Syntax Example
C1 Set Counter 1 Motor Counts Signed 32 bit C1=<counts>
HM Home to Home Switch Type 1-4 HM <type>
P Set/Read Position Motor/Encoder Counts Signed 32 bit P=<counts>
PC Read Captured Position at Trip
TP Trip on Position Position - TP <pos>, <addr>
TE Trip Enable See Table <1-4> TE=<num>
Position Related Instructions, Variables and Flags
Mnemonic Function Unit Range Syntax Example
C2 Set Counter 2 Encoder Counts Signed 32 bit C2=<counts>
DB Set Encoder Deadband Encoder Counts 0-65000 DB=<counts>
EE Enable/Disable Encoder Functions - 1/0 EE=<1/0>
HI Home to Encoder Index Type 1-4 HI=<type>
I6 Read Encoder Index Mark - - I6
SF Set Stall Factor Encoder Counts 0-65000 SF=<counts>
SM Set Stall Mode 0=Stop Motor/1=Don’t Stop 1/0 SM=<mode>
ST Stall Flag - 0/1 PR ST
Encoder Related Instructions, Variables and Flags
Symbol Function
+ Add Two Variables and/or Flags
- Subtract Two Variables and/or Flags
* Multiply Two Variables and/or Flags
/ Divide Two Variables and/or Flags
<> Not Equal
= Equal
< Less Than
<= Less Than and/or Equal
> Greater Than
>= Greater Than and/or Equal
& AND (Bitwise)
| OR (Bitwise)
^ XOR (Bitwise)
! NOT (Bitwise)
Mathematical Functions