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

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
For the communication specification setting method of the GP-X series,
refer to section "5.1 RS-232C Communication Setting" on page 98.
The command format is described.
Transmission Format
Command
Header
Header
Command
Controller address
Instruction character
string
BCC
CR
・Command separator
Each command is terminated by a "0xd" carriage return code.
112
BCC
Instruction character string
Controller address
Special communication header necessary for
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.
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
Carriage return code
Using
the
controller

Advertisement

Table of Contents
loading

Table of Contents