Command Explanation; Turn On Specified Output Terminal - Patlite PHC-D08 User Manual

Interface converter
Table of Contents

Advertisement

3.3. Command Explanation

The following are examples on how to send each of the commands from the command list table.
3.3.1.
<Turn ON Specified Output Terminals>
Sending data in the following format will control the specified Output Terminal to turn "ON." The bit in the data
section specified as 0, will maintain the specified Output Terminal's condition, and the bit in the data section
specified as 1 will turn on the specified Output Terminal.
[Transmission Example]
In this example, the Output Terminals 2, 5, and 6 are turned ON.
• Send Data
Header
@
[40H]
• Reply Data
Normal Response
Data
ACK
[06H]
Response Error
Data
NAK
[15H]
The following are conditions which will get a NAK reply and the error contents.
Transmission Condition
Command error
Data error
Data size error
Timeout
* Do not transmit the following command, before this product transmits reply data. It may not operate
normally.
ID
Command
?
?
[3FH]
[3FH]
[30H]
15 14 13 12 11 10 9
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0
When a command other than on the list of commands is specified
When data, other than 0[30H] - ?[3FH], is used
When the number of bytes in the send data is different
Reply interval between data is more than 5 seconds after receipt of header
Data
1
3
[33H]
[32H]
8
7
6
5
4
3
Error Contents
End Code
2
!
[21H]
2
1
0
Output Terminal 1
Output Terminal 2
Output Terminal 3
Output Terminal 4
Output Terminal 5
Output Terminal 6
Output Terminal 7
Output Terminal 8
3
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Phc-d08n

Table of Contents