Command Lists - Panasonic GP-X Series User Manual

Digital displacement sensor
Hide thumbs Also See for GP-X Series:
Table of Contents

Advertisement

6.2 Command Lists

Basic control command
Command
Item
Loading
Writing
Loading
measured
RMD
value
Loading
judgment
ROT
output
RHM
Hold mode
WHM
114
Controller
Instruction character
address
string (m)
(n) 1)
0:
Displayed
value
0
1:
Detected
distance
value
0
0
0
0
m=0 to 5
0:
Normal mode
1:
Peak hold
2:
Bottom hold
0
3:
Peak-to-peak
hold
4:
Sample hold
5:
Average hold
Outline
The measured value is loaded from the
controller of the designated address.
The response to
%
E
E # R M D n m
C R
is:
%
E
E $ R M D n
+ & &
&
C R
Before a trigger is detected in the hold
mode,
.
is sent back.
The judgment data is loaded from the
controller of the designated address.
The response to
%
E
E # R O T n m
C R
is:
%
E
E $ R O T n x
C R
x: The 4 bit judgment data is indicated
with "0" to "F."
bit 0: Lo, bit 1: Go, bit 2: Hi, bit 4: Alarm,
When x =
1 (0001b), Hi judgment output
is indicated because bit 0 is
ON.
When x =
2
(0010b),
Go
output is indicated because bit
1 is ON.
When x =
4 (0100b), Lo judgment output
is indicated because bit 2 is
ON.
When x =
C (1100b), Lo judgment output
is indicated with an alarm
output because bit 3 and bit 2
are ON.
The hold mode setting is loaded from the
controller of the designated address.
The response to
%
E
E # R H M n 0
C R
is:
%
E
E $ R H M n m
C R
<Response value m>
m = 0: Normal mode
m = 1: Peak hold
m = 2: Bottom hold
m = 3: Peak-to-peak hold
m = 4: Sample hold
m = 5: Average hold
Start the hold mode on the controller of
the designated address.
The response to
%
E
E # W H M n m
C R
is:
%
E
E $ W H M n
C R
Setting
example
Example 1
. & & & &
Example 2
judgment
Example 3

Advertisement

Table of Contents
loading

Table of Contents