<< Click to Display Table of Contents > 

SAMLight Manual > Motion Control Settings > Other motion controller > Type 7 - isel IT Stepper Controller / DNC

Type 7 - isel IT Stepper Controller / DNC
Previous pageReturn to chapter overviewNext page

Key features

Available for USC and RTC controller cards

Up to 3 axes can be controlled

Axes can move synchronized

The motion controller is connected via a COM port of the PC

Homing procedures are available

 

Required settings

Set 'Type=7' in sc_motion_settings.txt in <SCAPS>\system\

Define sc_motion_iselit_settings.txt in <SCAPS>\system\ like described below.

Enable 'Motion Control' in SAMLight (Settings→System→Extras).

 

How to create the settings file

The file sc_motion_iselit_settings.txt' is a plain text file that contains different configuration parameters.

A line which begins with a # sign is interpreted as a comment and will be ignored.

All parameters have to start exactly at the beginning of a line.

Global parameters have to be specified only once at the head of the settings file.

Axis-specific parameters have to be defined for all axes separately.

The axis-specific and the optional parameters have to be arranged in one block of parameters per axis. Each block begins with the parameter 'axis'.

The optional parameters do not have to be specified in the case you do not want to use them.

A parameter gets defined by typing <parameter>=<value>, parameter and values are described below,
e.g. 'axis=0' defines the parameter 'axis' with the value '0'.

 

Global parameters (type 7): These parameters have to be defined once at the head of the settings file.

 

PortName

Defines the serial port  used for the isel it controller.

Value

Function

COM#

Defines the COM port of the PC where '#' is the port number (e.g. 'COM1'). The USC RS232 port cannot be used for isel it controllers.

 

PortBaudRate

Defines the data rate for the COM port.

Unit: Bd (bit/s)

The default value that is used by most isel controllers is '9600'.

 

TimeOut

Sets the connection timeout.

Unit: s

Sets how long it shall tries to access the communication between interface and the motion controller. If you have connection problems the debug mode (see below) could be helpful.

 

DeviceNumber

Defines the serial port  used for the isel it controller.

Value

Function

#

The device number specifies which specific controller has to be accessed. At the controller hardware that number can be changed with the DNC command @<DN>G<DNnew>. The default value is '0'.

 

Debug

Enables the debug log.

Value

Function

0

Disable debug mode

1

Enable debug mode

Enables debug mode to log debug information in <SCAPS>\system\sc_motion_iselit_debuglog.txt'. Only enable this option if you need it, because there can be huge amounts of data that are logged into this file.

 

DisableHomingDuringStartUp

No homing on startup.

Value

Function

0

Enable homing on startup of SAMLight

1

Disable homing on startup of SAMLight

If set to '1', homing is just performed when pressing 'Control→Home' and not when software is started.

 

switch1

Enables the home switch for 'axis=0' for older motion controller

Value

Function

0

Disable home switch

1

Enable home switch

This parameter is only valid for older motion controller, which support the "IE" command. Set  the value to '0' for a newer motion controller and define the homing procedure with 'hval' commands.

 

switch2

Enables the home switch for 'axis=1' for older motion controller

Value

Function

0

Disable home switch

1

Enable home switch

This parameter is only valid for older motion controller, which support the "IE" command. Set  the value to '0' for a newer motion controller and define the homing procedure with 'hval' commands.

 

level1

Sets the polarity of the home switch for 'axis=0'

Value

Function

0

low active

1

high active

This parameter is only valid for older motion controller, which support the "IE" command.

 

level2

Sets the polarity of the home switch for 'axis=1'

Value

Function

0

low active

1

high active

This parameter is only valid for older motion controller, which support the "IE" command.

 

Axis parameters (type 7): All of the following parameters have to be defined for each axis after the global parameters in the settings file. Each of these axes can be configured differently.

 

axis

Sets the number of axis.

Value

Function

0...2

Index of axis

Zero based index of up to 3 axes. Defines the display order in SAMLight. This parameter has to be at the beginning of each axis specific parameter block. The axes are named x, y and z automatically. Start with index '0' for the first axis.

 

mode

Sets the type of the axis.

Value

Function

POSITION

Defines a straight axis [mm].

ANGLE

Defines a rotational axis [°].

Depending on the mode of the axis several parameters has to be adjusted (factor, corr#, incperrot, sfactor, llimit, hlimit, defspeed, see below).

 

factor

Converts mm into steps for POSITION mode.

Unit: steps/mm

This value defines how many increments are needed for 1mm. Depending on the factor of the axis several parameters has to be adjusted (sfactor, defspeed, see below).

This parameter is only valid for SAMLight versions >= 3_3_5_0224.
With older SAMLight versions the corr table has to be used.

 

incperrot

Converts degrees into steps for ANGLE mode.

Unit: steps/360°

This value defines how many increments are needed for a whole rotation. Depending on the factor of the axis several parameters have to be adjusted (sfactor, defspeed, see below).

 

sfactor

Sets speed factor.

POSITION mode, unit: steps/mm

ANGLE mode, unit: steps/°

Value has to be equal to 'factor'.

Value has to be equal to
'incperrot/360'.

Converts mm/s (or °/s) used in SAMLight into steps/s.

 

llimit

Sets the lower position limit.

Unit: steps

No movement below this limit will be possible. Minimum value is '-8388606'.

 

hlimit

Sets the upper position limit .

Unit: steps

No movement above this limit will be possible. Maximum value is '8388607'.

 

hslimit

Sets the upper speed limit.

Unit: steps/s

No speed above this speed limit will be possible. To get the 'hslimit' in steps/s like it is required here the value in mm/s (or °/s) has to be multiplied by the 'sfactor'.

 

defspeed

Sets default speed displayed in SAMLight user interface.

POSITION mode, unit: mm/s

ANGLE mode, unit: °/s

This value has to be smaller or equal than 'hslimit/sfactor'.

 

Optional axis parameters (type 7): All of the following optional parameters can be defined for each axis. Each axis can be configured differently. If no parameter is specified the corresponding feature will not be used.

 

corr1 -8000.0 -400000.0

corr2 -4000.0 -200000.0

corr3     0.0       0.0

corr4  4000.0  200000.0

corr5  8000.0  400000.0

 

<corr#>      <mm#>       <steps#>

Correction table instead of parameter 'factor' for POSITION mode.

This parameter is defined without '=' sign in the form <corr#> <mm> <steps>.

This correction table can be used to compensate non-linearities of a straight axis. If 'factor' is defined, the correction table is ignored. Use for corr1 the same step value as for 'llimit' and for corr5 the same step value as for 'hlimit'.

 

hval

Sets homing parameters.

With hval parameters a homing procedure for each axis can be defined. This parameter can exist more than once and will be executed in the same order as they appear in the settings file. The homing procedure will be executed on startup of SAMLight and by a manual homing.

Refer to the isel manual for the commands.

Example 1, no homing, set current position of 3 axes to 0:

 

hval=n7

Example 2, homing of 3 axes:

 

hval=d<xSpeed>, <ySpeed>, <zSpeed>

hval=R7

 

Example sc_motion_iselit_settings.txt file for 1 straight and 1 rotational axis for 'Type=7':

# Global parameters:

PortName=COM1

PortBaudRate=9600

TimeOut=30

DeviceNumber=0

Debug=0

DisableHomingDuringStartUp=1

switch1=0

switch2=0

level1=0

level2=0

 

# x axis parameters:

axis=0

mode=POSITION

factor=50.0

sfactor=50.0

llimit=-8388606.0

hlimit=8388607.0

hslimit=10000

defspeed=100.0

hval=n1

 

# y axis parameters:

axis=1

mode=ANGLE

incperrot=18000

sfactor=50.0

llimit=-8388606.0

hlimit=8388607.0

hslimit=10000

defspeed=180.0

hval=n2