Chapter 7 serial communication, Chapter 7, Serial communication – KEYENCE Visual KV Series User Manual

Page 329

Advertising
background image

Chapter 7

Serial Communication

The KV Series can be connected to an external device with an RS-232C interface
to establish communication.
This chapter describes communications specifications, how to connect the KV
Series to external devices, and how to perform communication.

7.1

Communications Specifications ............................................

3-306

7.1.1

Communications Specification ............................................................... 3-306

7.1.2

Connection with the KV Unit .................................................................. 3-306

7.1.3

Connecting the KV-300 CPU to a Personal Computer .......................... 3-307

7.2

Serial Communication .............................................................

3-308

7.2.1

Command Transmission Procedure ....................................................... 3-308

7.2.2

Format of Commands/Responses ......................................................... 3-309

7.2.3

Communication Command/Response List ............................................. 3-310

7.2.4

Setting Communication Commands and Responses to Commands ..... 3-311

7.2.5

Other Response Codes .......................................................................... 3-315

7.2.6

Error Code List ....................................................................................... 3-316

7.2.7

Example Program .................................................................................. 3-317

7.3

Loading Text Data ....................................................................

3-318

7.3.1

Receiving Text Data ............................................................................... 3-318

7.3.2

Transmitting Text Data ........................................................................... 3-319

7.3.3

Sample Program .................................................................................... 3-320

7.4

ASCII Code List ........................................................................

3-321

KVNKA Chap 07.p65

08.3.11, 0:11 PM

305

Advertising