Introduction
This tutorial aims to teach you how to use the RT/Win32 motion functions in KINGSTAR 4.2. 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.
You'll learn how to read and write data into an I/O module.
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.
You'll learn how to move a single axis using different motion functions.
You'll learn how to home your axis using different homing modes.
You'll learn what is camming and how to make a cam move.
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.
You'll learn how to move an axis group using different motion functions, and how to make a blending move.
You'll learn how to use the touch probe to record an axis' position.
You'll learn how to set digital switches and use them to control digital outputs.
You'll learn how to record specified data, add your own variables, and display them in KINGSTAR Analysis Console. For the topic Use user variables between projects, you'll use both RT_Project_01
and RT_Project_01_Reader
projects.