Bosch 6000 User's Guide Page 257

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 256
242
6000 Series Programmer's Guide
Inputs
The steps below describe the use and function of the INEN command. You can use it to cause
an input state to occur. The inputs will not actually be in this state but the 6000 controller
treats them as if they are in the given state and will use this state to execute its program.
Step 1
This program will wait for an input state to occur and will then make a preset move:
INFNC1-A ; Input #1 is has no function
INFNC2-A ; Input #2 is has no function
INLVL00 ; Set input #1 and #2 active level to low
DEF prog8 ; Begin definition of program prog8
A100 ; Acceleration is set to 100
AD100 ; Deceleration is 100
V5 ; Velocity is 5
D25000 ; Distance is 25,000
WAIT(IN=b11) ; Waits for the input state to be 11
GO1 ; Initiate motion
END ; End definition of program prog8
Step 2
Enable the Trace mode so that you can view the program as it is executed:
TRACE1 ; Enables the trace mode
Step 3
Execute the program:
RUN prog8 ; Runs program prog8
Step 4
The program will execute until the WAIT(IN=b11) command is encountered. The program
will then pause, waiting for the input condition to be satisfied. Simulate the input state using
the INEN command. Inputs with an E value are not affected. Note that the input bit pattern
varies by product. To determine the bit pattern for your product, refer to the INEN command
description.
!INEN11 ; Disables inputs 1 and 2, leaving them in the ON state
The motor will now move for 25000 steps.
Step 5
Deactivate the input simulation:
INENEE ; Re-enables inputs 1 and 2
Simulating Analog Input Channel Voltages
Without actually applying any voltage, you can test any command or function that references
the voltage on the analog channels found on the JOYSTICK connector. For example,
ANVO1.2,1.6,1.8 overrides the hardware analog input channels 1 through 3 as follows:
1.2V on channel 1, 1.6V on channel 2, and 1.8V on channel 3.
The ANVO values will be recognized only for those analog input channels for which ANVOEN
is set to 1 (e.g., Given ANVOENØ11, the ANVO values 1.6V and 1.8V will be referenced for
analog channels 2 and 3 only.).
Another application for the ANVO command may be to use it in an ERRORP program to
override the analog input voltage in response to a fault.
Motion Architect's Panel Module
User instructions are
provided in the
Motion Architect
User Guide
.
Motion Architect's Panel module provides tools to create custom test panels to test your
programs and monitor the following:
I/O (programmable I/O, analog I/O, limits)
Motion (motor and feedback device position, velocity)
Status (axis, system, interrupt, user-defined, Following)
Timer and counter values
Terminal (direct communication with the product, to check for error messages, etc.)
Page view 256
1 2 ... 252 253 254 255 256 257 258 259 260 261 262 ... 267 268

Comments to this Manuals

No comments