About device initialization – Velocity Micro MS-3 User Manual

Page 29

Advertising
background image

25

Chapter 1: Introduction

Microscan MS-3 Laser Scanner Device Driver User Guide

About device initialization

About this topic

When working in device diagnostics software, you are often required to
initialize the device. This topic explains why device initialization is
necessary.

Opening
communications

Initializing a device opens communications with it. For example, if the
device is connected with a serial cable, the COM port is opened, and if
the device is connected with an Ethernet cable, the TCP/IP socket is
connected.

Homing motors

Initializing a device homes motors that do not track their position along
their line of travel. Homing a motor moves it until it triggers an event,
called a home flag. This tells the motor its location.

The motors on some devices automatically move to their home
positions when the device is turned on. The motors on other devices
must be initialized to be homed.

Setting profile
parameters

Initializing a device applies relevant parameters set in the device’s
profile.

Setting state and
memory variables

Most devices store variables in software or firmware. Initializing a device
sets these variables to their initial values.

Related topics

For information about...

See...

Using Diagnostics

“About diagnostics” on page 11

“Opening diagnostics” on page 12

Workflow for configuring devices

“Adding devices” on page 10

Advertising