![Galil DMC-4040 Скачать руководство пользователя страница 140](http://html1.mh-extra.com/html/galil/dmc-4040/dmc-4040_user-manual_3282915140.webp)
Edit Mode Commands
<RETURN>
Typing the return key causes the current line of entered instructions to be saved. The editor will automatically
advance to the next line. Thus, hitting a series of <RETURN> will cause the editor to advance a series of lines.
Note, changes on a program line will not be saved unless a <return> is given.
<cntrl>P
The <cntrl>P command moves the editor to the previous line.
<cntrl>I
The <cntrl>I command inserts a line above the current line. For example, if the editor is at line number 2 and
<cntrl>I is applied, a new line will be inserted between lines 1 and 2. This new line will be labeled line 2. The old
line number 2 is renumbered as line 3.
<cntrl>D
The <cntrl>D command deletes the line currently being edited. For example, if the editor is at line number 2 and
<cntrl>D is applied, line 2 will be deleted. The previous line number 3 is now renumbered as line number 2.
<cntrl>Q
The <cntrl>Q quits the editor mode. In response, the DMC-40x0 will return a colon.
After the Edit session is over, the user may list the entered program using the LS command. If no operand follows
the LS command, the entire program will be listed. The user can start listing at a specific line or label using the
operand n. A command and new line number or label following the start listing operand specifies the location at
which listing is to stop.
Example:
Instruction
Interpretation
:LS
List entire program
:LS 5
Begin listing at line 5
:LS 5,9
List lines 5 thru 9
:LS #A,9
List line label #A thru line 9
:LS #A, #A +5
List line label #A and additional 5 lines
Program Format
A DMC-40x0 program consists of DMC instructions combined to solve a machine control application. Action
instructions, such as starting and stopping motion, are combined with Program Flow instructions to form the
complete program. Program Flow instructions evaluate real-time conditions, such as elapsed time or motion
complete, and alter program flow accordingly.
Each DMC-40x0 instruction in a program must be separated by a delimiter. Valid delimiters are the semicolon (;) or
carriage return. The semicolon is used to separate multiple instructions on a single program line where the
maximum number of instructions on a line is limited by 80 characters. A carriage return enters the final command
on a program line.
Using Labels in Programs
All DMC-40x0 programs must begin with a label and end with an End (EN) statement. Labels start with the pound
(#) sign followed by a maximum of seven characters. The first character must be a letter; after that, numbers are
permitted. Spaces are not permitted.
The maximum number of labels which may be defined is 510.
Chapter 7 Application Programming
•
131
DMC-40x0 User Manual
Содержание DMC-4040
Страница 17: ...DMC 4080 Layout Figure 2 2 Outline of the of the DMC 4080 DMC 40x0 User Manual Chapter 2 Getting Started 8...
Страница 19: ...DMC 4040 Dimensions Figure 2 5 Dimensions of DMC 4040 DMC 40x0 User Manual Chapter 2 Getting Started 10...
Страница 20: ...DMC 4080 Dimensions Figure 2 6 Dimensions of DMC 4080 Chapter 2 Getting Started 11 DMC 40x0 User Manual...
Страница 54: ...Chapter 3 Connecting Hardware 45 DMC 40x0 User Manual...
Страница 55: ...DMC 40x0 User Manual Chapter 3 Connecting Hardware 46...
Страница 56: ...Chapter 3 Connecting Hardware 47 DMC 40x0 User Manual...
Страница 73: ...Figure 4 1 GalilTools DMC 40x0 User Manual Chapter 4 Software Tools and Communication 64...
Страница 185: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 7 Application Programming 176...
Страница 205: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 10 Theory of Operation 196...
Страница 220: ...Step 2 Remove ICM For DMC 4040 Proceed to Step 3 Configure Circuit Appendices 211 DMC 40x0 User Manual...
Страница 222: ...Step 2 Remove ICM s Appendices 213 DMC 40x0 User Manual...
Страница 232: ...DMC 4080 Steps 4 and 5 Step 4 Replace ICM s Appendices 223 DMC 40x0 User Manual...