Common Command; Explanation Of Common Command; Sampling Cycle: Rsp/Wsp - Panasonic HL-C2 Series User Manual

Ultra high-speed, high-accuracy laser displacement sensor, rs-232c communication control
Hide thumbs Also See for HL-C2 Series:
Table of Contents

Advertisement

Chapter 3 Common Command
3-1

Explanation of Common Command

3-1-1 Sampling Cycle: RSP/WSP

WSP and RSP respectively specify and load the setting of sampling
cycle.
Command
Read Setting
3
RSP
% E E # R S P
% E E # W S P
Ex
(1) Setting of Sampling Cycle is loaded.
Request:
Response:
(2) Sampling Cycle is set to "2[ms]".
Request:
Response:
If this setting is changed between 10μs ↔ 20μs or above, the USB of the
controller will be reset. To continuously use the USB device after such
changes, reconnect following the USB device Close and Open procedures.
USB Close Function : HLC2_Close()
USB Open Function : HLC2_OpenByIndex(), HLC2_Open()
Code
WSP
5
Header
Command
Header
Command
% E E # R S P 5
% E E $ R S P 0
% E E # W S P 5
% E E $ W S P *
Subdata
00000
00001
00002
00003
00004
00005
00006
00007
CR
BCC
Code
Code
Subdata
*
*
CR
0
0
0
0
0
0
0
*
CR
3-2
Description
10 [µs]
20 [µs]
40 [µs]
100 [µs]
200 [µs]
400 [µs]
1 [ms]
2 [ms]
FORMAT
CR
FORMAT
BCC
FORMAT
2
*
*
CR
FORMAT
7
*
*
CR
FORMAT
FORMAT
1
3
1
1
3
9

Advertisement

Table of Contents
loading

Table of Contents