4 details of command communication, Power supply bl-u1, Communication procedure – KEYENCE BL-180 User Manual

Page 103

Advertising
background image

Power Supply BL-U1

97

5.4

Details of Command Communication

All RS-232C and RS-422A serial communication commands can be used.

Communication
Procedure

1. Send a command from the host computer to the BL series you wish to oper-

ate.

2. Data, including the same command, loops back to the host computer.

3. The specified BL series receives the command and performs the required

operation.

4. The BL series sends back the following data in response to the command.

Response to the direct control command or the setting change command: OK

Response to the setting confirmation command: Current settings

If an error occurs with the specified command, the BL series sends back the
following response.

** indicates an error code (see p. 70).

If incorrect characters are specified for the data communication commands
(P, C), the BL series sends back ERR**.

[STX]

mmm

nn

Command

cc

[ETX]

[STX]

mmm

nn

Command

cc

[ETX]

[STX]

mmm

nn

Response

cc

[ETX]

[STX]

mmm

nn

ERR**

cc

[ETX]

S

T

X

E

T

X

010

02

LON

7E

S

T

X

E

T

X

010

02

LON

7E

S

T

X

E

T

X

009

02

OK

3F

ID•••1

ID•••4

ID•••3

ID•••2

3

Timing input

turns ON.

1

2

4

Advertising