How To Use Rs-232C Commands - Panasonic GP-X Series User Manual

High-speed high-accuracy eddy current digital displacement sensor
Hide thumbs Also See for GP-X Series:
Table of Contents

Advertisement

6.1 How to Use RS-232C Commands

To control the GP-X series via the RS-232C, follow the procedure below.
1. Connect a communication cable between the controller and a host (PC
etc.).
2. Maintain consistency in the communication specification between the
controller and the host (PC etc.).
Reference
Transmission Format
Header
Examples of value setting commands
• Signed value (Upper / lower limit value, scaling, trigger level, etc.)
Header
Example: When setting "-0.5", enter "-000.5000" in the data section "+&&&.&&&&".
• Value without a sign (Sensing distance, hysteresis, trigger delay or other time setting values)
Header
Example: When setting "99.0", enter "0099.0000" in the data section "+&&&&.&&&&".
Note: Be careful with the value setting command that characters (character sting)
that are different from the specified format are transmitted, they are set to zeros.
Header
Command
Controller address
Instruction character
string
BCC
CR
112
Ramco Innovations www.ramcoi.com
refer to section "5.1 RS-232C Communication Setting" on page 98.
BCC
Command
Instruction character string
Controller address
W H
T
Command
Controller
address
W H Y
Command
Controller
address
Special
RS-232C control. The transmission header is
common:
The header is followed by various commands.
ID address of the controller. The default address is "0".
To use linking functions with the optional controller
communication unit, an address must be entered for
each controller. Using the controller communication
unit, data can be loaded from or written to linked
controllers.
Character string indicating the data of various
commands. An instruction character string may be a 1
digit code or a setting value consisting of multiple digits.
Block check code of communication data
As the termination code, add CR (0x0d) to the end of
each command.
BCC
Data
BCC
Data
communication
header
Phone 800-280-6933 nsales@ramcoi.com
GP-X series,
necessary
for

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gp-x3sGp-x5sGp-x8sGp-x10mGp-x12mlGp-x22kl

Table of Contents