![IMS 17 Operating Instructions Manual Download Page 50](http://html.mh-extra.com/html/ims/17/17_operating-instructions-manual_2049859050.webp)
48
MNEMONIC
FUNCTION
TYPE
IN
Read Inputs 1-4 As 1 Value
I/O Variable
DESCRIPTION
This keyword will read the binary state of inputs 1-4 and print them as a decimal value. When used thus Input 1 is the Least
Significant Bit (LSB), Input 4 is the Most Significant Bit (MSB). It may be used in conjunction with the R1-R4 (User Registers),
PR (Print), BR (Branch) and Cl (Call Subroutine) instructions.
USAGE
PR IN
BR IN=<0-15>
CL IN=<0-15>
EXAMPLE:
PR IN
‘Print the state of Inputs 1-4 to the Terminal Screen
BR 128, IN=8
‘Conditional branch to program line 128 if the binary state of Inputs 1-4 = 8 (1000)
CL 432, IN=13
‘Call subroutine at line 432 if the binary state of Inputs 1-4 = 13 (1101)
RELATED COMMANDS: I1-5, O1-O5, PR, S1-S4
MNEMONIC
FUNCTION
TYPE
IP
Initialize Parameters
Instruction
DESCRIPTION
The IP instruction will return all of the MDrive Motion Control parameters to their stored values.
USAGE
IP
EXAMPLE:
IP
RELATED COMMANDS: CP, S
MNEMONIC
FUNCTION
TYPE
JE
Joystick Enable Flag
Setup Flag
DESCRIPTION
The will enable joystick mode for the Analog Input. States are 0=Disabled, 1=Enabled.
USAGE
DEFAULT
JE= <0/1>
0 (Disabled)
EXAMPLE:
JE=0
‘Disable Joystick
JE=1
‘Ensable Joystick
RELATED COMMANDS: I5
Summary of Contents for 17
Page 1: ...OPERA TING INSTRUCTIONS T intelligent motion systems inc Excellence in MotionTM TM ...
Page 5: ...3 Part 1 General Information and Hardware Specifications ...
Page 6: ...4 Intentionally Left Blank ...
Page 19: ...17 Part 2 Connecting Configuring and Programming the MDrive Motion Control ...
Page 20: ...18 Intentionally Left Blank ...