KEYENCE BL-700 Series User Manual
Page 114
![background image](/manuals/658133/114/background.png)
Chapter 5 Serial Communication
100
5
■ Setting communication parameters 2 (When the PLC link is not used)
Handshaking
protocol 1
Function
Command
Response Description
Change
WP07n
OK
n = 0: No handshaking
n = 1: Use protocol
Confirm
RP07
07n
Handshaking
protocol 2
Change
OK
n = 0: PASS/RTRY
protocol
n = 1: ACK/NAK protocol
RP08
Confirm
08n
Header
Change
WP08n
WP51hhh... OK
hhh... = Header (up to
five characters)
* To set a header, use
HEX (hexadecimal)
codes.
* hhh... = FF: Header is
not set.
Confirm
RP51
51hhh...
Delimiter
Change
WP52hhh... OK
hhh... = Delimiter (up to
five characters)
* To set a delimiter, use
HEX (hexadecimal)
codes.
* hhh... = FF: Delimiter is
not set.
Confirm
RP52
52hhh...
*To set details of the
protocol, use handshak-
ing protocol 2.
Error code
00, 02,
05, 07,
14
00, 02,
05, 06,
10, 12,
14
To set the header and delimiter, send the following command:
Example
Set the communication data format to
Tips
WP51013031
SOH 0
1
SOH
*
=01h, 0=30h, 1=31h, A=41h, CR =0Dh
WP52410D
A CR
Adding
checksum
Change
WP39n
OK
n = 0: Do not add
n = 1: Add
Confirm
RP39
39n