KEYENCE KV Series User Manual
Page 23

(22)
Direct input ............................................................................................... 3-270
6.1.2
Interrupt Instructions ....................................................................................... 3-271
6.2
Direct Clock Pulse ........................................................................................ 3-276
6.2.1
Output of Direct Clock Pulse ........................................................................... 3-276
Outline of High-Speed Counters .............................................................. 3-276
Outline of Pulse Output ............................................................................ 3-279
Examples of Pulse Output ....................................................................... 3-284
6.3
Positioning Control ...................................................................................... 3-296
6.3.1
Positioning Control (Ramp-up/down Control) ................................................. 3-296
Outline of positioning control .................................................................... 3-296
Setting and application of parameters ..................................................... 3-297
Examples of stepping motor control ......................................................... 3-300
Chapter 7
Serial 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
Chapter 8
Programming Examples
8.1
List
......................................................................................................... 3-324
8.2
Details
......................................................................................................... 3-326
8.2.1
Reference Program Examples ........................................................................ 3-326
Basic Instructions ..................................................................................... 3-326
Application Instructions ............................................................................ 3-334
Arithmetic Instructions .............................................................................. 3-343
WARRANTIES AND DISCLAIMERS
3-367
KVNKA Front_Soft.p65
08.3.11, 11:24 AM
23