![Galil DMC-4040 Скачать руководство пользователя страница 171](http://html1.mh-extra.com/html/galil/dmc-4040/dmc-4040_user-manual_3282915171.webp)
v1=
Print v1
Interrogation Commands
The DMC-40x0 has a set of commands that directly interrogate the controller. When these command are entered,
the requested data is returned in decimal format on the next line followed by a carriage return and line feed. The
format of the returned data can be changed using the Position Format (PF), and Leading Zeros (LZ) command. For
a complete description of interrogation commands, see
Using the PF Command to Format Response from Interrogation Commands
The command, PF, can change format of the values returned by theses interrogation commands:
BL ?
LE ?
DE ?
PA ?
DP ?
PR ?
EM ?
TN ?
FL ?
VE ?
IP ?
TE
TP
The numeric values may be formatted in decimal or hexadecimal with a specified number of digits to the right and
left of the decimal point using the PF command.
Position Format is specified by:
PF m.n
where m is the number of digits to the left of the decimal point (0 thru 10) and n is the number of digits to the right
of the decimal point (0 thru 4) A negative sign for m specifies hexadecimal format.
Hex values are returned preceded by a $ and in 2's complement. Hex values should be input as signed 2's
complement, where negative numbers have a negative sign. The default format is PF 10.0.
If the number of decimal places specified by PF is less than the actual value, a nine appears in all the decimal places.
Example
Instruction
Interpretation
:DP21
Define position
:TPA
Tell position
0000000021
Default format
:PF4
Change format to 4 places
:TPA
Tell position
0021
New format
:PF-4
Change to hexadecimal format
:TPA
Tell Position
$0015
Hexadecimal value
:PF2
Format 2 places
:TPA
Tell Position
99
Returns 99 if position greater than 99
Removing Leading Zeros from Response to Interrogation Commands
The leading zeros on data returned as a response to interrogation commands can be removed by the use of the
command, LZ.
LZ0
Disables the LZ function
DMC-40x0 User Manual
Chapter 7 Application Programming
•
162
Содержание 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...