EasyManua.ls Logo

Vector VEC-VA Series

Vector VEC-VA Series
649 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VA Motion Controller Programming Manual
543
setting axis)
coincides
Sample_Time.
Description:
(1) when the instruction starts execution Enable changes from FALSE to TRUE.
Unit reading speed is controlled axis Pulse / s, the sampling period is Sample_Time
parameter, calculated from the current shaft speed:
Assumptions: display means of the terminal speed n units / s, the read pulses per second
Velocity = 10000 Pulse / s, the number of pulses per motor revolution (moter_PPC) = 10000 Pulse
/ rad, the terminal mechanism Screw_Lead lead of 1000units the reduction gear ratio of 1: 2
then:
n = unit / s



= 500 units / s
Output parameters
name
Features
type of data
Output range
Status (state)
Retention
BOOL
TRUE or FALSE
Valid (effective)
Retention
BOOL
TRUE or FALSE
Sample_Time_Test
Retention
REAL
Velocity
(current rate)
Display speed of
the current sample
(unit: Pulse / s)
REAL
Real
Error (reserved)
Retention
BOOL
Retention
ErrorID (reserved)
Retention
WORD
Retention
Program Example
Example: Read the current speed shaft AXIS0;
1. variables, and procedures
variable name
type of data
The initial value
NS_CC_ReadPulseVelocity_1
NS_CC_ReadPulseVelocity
CNT_ID
WORD
0
Enable
BOOL
1
Sample_Time
REAL
10
Velocity
REAL
Step 1: Following programming instructions call NS_CC_ReadPulseVelocity_1 module

Table of Contents

Related product manuals