EasyManuals Logo

Newport ESP300 Series User Manual

Newport ESP300 Series
314 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #227 background imageLoading...
Page #227 background image
The direction of the DIO port bit belongs to must then be set to
"input" in order for the controller to detect the external event. Once
these preliminaries are completed, the controller will execute the user
specified stored program whenever it detects a change in the state –
HIGH to LOW logic level – of the corresponding DIO hardware.
Please review the examples below for further clarifications.
Example 1:
EP ABS0MM | Define stored program called "Abs0mm"
1MO; 2MO | Turn axes 1,2 ON
1TJ1; 2TJ1 | Set trajectory mode for axes 1,2 to TRAPEZOID
1PA0; 2PA0 | Move axes 1,2 to absolute 0 units
1WS100; 2WS100 | Wait for axes 1,2 motion to complete
QP | End of program
0BG ABS0MM | Assign DIO #0 to run stored program called
| "Abs0mm"
BO 04H | 04H = (0100)Binary
| Set DIO ports A, B to input and port C to output
| i.e., set bits 0 – 15 to input and 16 – 23 to output
After the above commands are sent to the controller, the controller
will execute the stored program called "Abs0mm" when DIO bit #0
changes its state from HIGH to LOW logic level.
Example 2:
EP CYC2MM | Define stored program called "Cyc2mm"
1MO; 2MO | Turn axes 1,2 ON
1TJ1; 2TJ1 | Set trajectory mode for axes 1,2 to TRAPEZOID
1PA0; 2PA0 | Move axes 1,2 to absolute 0 units
1WS100; 2WS100 | Wait for axes 1,2 motion to complete
DL LOOP | Define a label called "LOOP"
1PR2; 2PR2 | Move axes 1,2 by relative 2 units
1WS100; 2WS100 | Wait for axes 1,2 motion to complete
1PR-2; 2PR-2 | Move axes 1,2 by relative –2 units
1WS100; 2WS100 | Wait for axes 1,2 motion to complete
JL LOOP,10 | Jump to label called "LOOP" 10 times
QP | End of program
1BGCYC2MM | Assign DIO #1 to run stored program called
| "Cyc2mm"
BO 04H | 04H = (0100) Binary
| Set DIO ports A, B to input and port C to output
| i.e., set bits 0 – 15 to input and 16 – 23 to output
After the above commands are sent to the controller, the controller
will execute "Cyc2mm" stored program when DIO bit #1 changes its
state from HIGH to LOW logic level.
Section 4 – Advanced Capabilities 4-13

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Newport ESP300 Series and is the answer not in the manual?

Newport ESP300 Series Specifications

General IconGeneral
BrandNewport
ModelESP300 Series
CategoryController
LanguageEnglish

Related product manuals