Timerset - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
7.2.1.330

TimerSet

Name
TimerSet – Sets the number of frequency ticks for the selected timer.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
Description
This function sets the number of frequency ticks for the selected timer to activate it.
The "TimerName" can be defined as:
• Timer1
• Timer2
• Timer3
• Timer4
• Timer5
The "FrequencyTicks" allows to defined the frequency of the timer:
One frequency tick represents a corrector period = >0.125 ms = >8 khz
N frequency ticks represents N corrector periods = >N * 0.125 ms = >
"FrequencyTicks" = 0 means that the timer is disabled.
Prototype
int TimerSet(
int SocketID,
char * TimerName,
int FrequencyTicks
)
Input parameters
SocketID
TimerName
FrequecyTicks
Output parameters
None.
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
NOTE
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Name of timer.
int
Number of frequency ticks.
479
Programmer's Manual
kHz
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents