Introduction

This tutorial aims to teach you how to use the RT/Win32 motion functions in KINGSTAR 4.1. Each chapter contains step-by-step tutorials and sample code to help you learn the motion control capabilities provided by KINGSTAR. The tutorial is a fundamental for people who never or just begin to use KINGSTAR, so it introduces only the basic features and uses. Real-world usage is determined by your hardware, environment, and needs.

Chapter 1: Create an RTX64 Project

You'll learn how to create an RTX64 project and use it to program your KINGSTAR application.

Chapter 2: System Initialization

You'll learn how to configure the settings, and start and stop the KINGSTAR Subsystem.

Chapter 3: I/O Control

You'll learn how to read and write data into an I/O module.

Chapter 4: Axis Configuration

You'll learn how to configure and get the state of an axis, so you can know whether an axis has error or finish the work.

Chapter 5: Single-Axis Motion

You'll learn how to move a single axis using different motion functions.

Chapter 6: Homing

You'll learn how to home your axis using different homing modes.

Chapter 7: Camming

You'll learn what is camming and how to make a cam move.

Chapter 8: Gearing

You'll learn what is gearing and how to make a gear move.

Chapter 9: Group Configuration

You'll learn how to configure an axis group, such as adding and removing axes from a group.

Chapter 10: Group Motion

You'll learn how to move an axis group using different motion functions, and how to make a blending move.

Chapter 11: Touch Probe

You'll learn how to use the touch probe to record an axis' position.

Chapter 12: Digital Cam Switch

You'll learn how to set digital cam switches and use them to control digital outputs.