3 command communication, 1 setup of direct control commands – KEYENCE BL-180 User Manual

Page 58

Advertising
background image

4.3 Command Communication

50

4.3

Command Communication

The BL-180 includes commands to directly operate the BL-180 (direct control
commands) and the commands used to change or confirm the BL-180’s settings
(parameter setting commands).

4.3.1

Setup of Direct Control Commands

Communication procedure

1. Send a direct control command from the PC to the BL-180.

2. After receiving the command, the BL-180 sends back an

OK

response and

executes the required operation.
When the read operation control command or test mode control command is
sent to the BL-180, the BL-180 sends back no response.

3. When an incorrect command is sent to the BL-180, the BL-180 sends back

no response.

LF

can be added after the command being sent. In this case, however,

LF

is not

added to the response data.

When

ESC

is inserted before the command being sent, characters in the BL-

180’s command receiving buffer are cleared.

If the BL-180’s command receiving buffer contains erroneous characters due to
data transmission error during communication, add

ESC

to the command being

sent.

For command communication, set the time duration between transmission of
each character (byte) to up to 30 seconds. If this duration exceeds 30 seconds,
the BL-180 cancels the received characters.

Command

Response

Note

Note

Advertising