Communication Specifications; Communication Setting; Frame Format; Comand List - Patlite PHC-D08 User Manual

Interface converter
Table of Contents

Advertisement

3.

Communication Specifications

3.1. Communication Setting

When transmitting a command to this product from a personal computer, be sure to set up the communication
settings as followed.
3

3.2. Frame Format

The Output Terminal Buss is controllable by transmitting the data in the following format to this product from a personal
computer. Because the Identification Number (hereinafter, referred to as "ID") is recorded inside this product, the ID will
not change even if the power is turned off.
Send Data
byte count
* ID (default setting= "??") set for this product is as follows.
When changing the ID number for this product, refer to "3.2.3 Set ID for this Product."
Since "??" can be used to execute a command irrespective of the product's ID, use "??" when executing
commands.
3.2.1.
The list of commands and functions which can be used is shown in the table below.
Command
1
[31H]
0
[30H]
?
[3FH]
S
[53H]
G
[47H]
C
[43H]
M
[4DH]
MEMO
16
Communication Specification
Communication Speed
Data Length
Stop bit
Parity
Flow Control
Header
ASCII Code
@
[HEX Code]
[40H]
1Byte
<Comand List>
Number of Data bytes
2Byte
2Byte
2Byte
8Byte
0Byte
0Byte
0Byte
• A "1" and "0" Command has compatibility with the PC Output Relay Unit, PHC-100A.
• Since command "S" can control the ON/OFF of the Output Terminals simultaneously, it is
recommended to use the "S" command for controlling those operations for this product.
• After sending a control command to the Main Unit as per it's specifications, if the control
commands are sent without waiting for the reply data from the Main Unit, it will not operate
normally (Which is how it is supposed to operate when a NAK reply is not received).
RS-232C Conformity
9600bps
8 bit
1 bit
None
None
ID *
Command
??
Refer to the list
[3FH 3FH]
of commands
2Byte
1Byte
Function
To have the specified Output Terminal ON
To have the specified Output Terminal OFF
To set the ID of this product
To control specified Output Terminal as specified conditions
To obtain the condition of the Output Terminal
To have all Output Terminals OFF
To obtain information on this product
Data
End Code
!
By command
[21H]
0~8Byte
1Byte

Advertisement

Table of Contents
loading

This manual is also suitable for:

Phc-d08n

Table of Contents