Move Relative (Dint) : - Nccpu021 - Moverelative - Dint: Nccpu 021 Basic Function Symbol
Move Relative (Dint) : - Nccpu021 - Moverelative - Dint: Nccpu 021 Basic Function Symbol
NCCPU
021
Basic
function
Symbol
Always ON (P_On)
_NCCPU021_MoveRelative_DINT
(BOOL)
(BOOL)
EN
ENO
Axis No.
Start
Position command
Speed command
Acceleration rate
Deceleration rate
Pulse output method
File name
Applicable
models
Conditions
for
usage
Function
description
(INT)
Axis
(BOOL)
Execute
(DINT)
Distance
(DINT)
Velocity
(INT)
Acceleration
(INT)
Deceleration
(INT)
OutPulseSelect
Positioning completed
Error flag
Error code
(May be omitted)
ON
OFF
ENO
ON
OFF
Execute
ON
OFF
Speed
Command
speed
Kind of FB
definition
(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID
Done
ON
OFF
Error
ON
OFF
_NCCPU021_MoveRelative_DINT (2/3)
FB
precautions
ON
OFF
Speed
Output pulse
counts
No origin ON
flag
OFF
EN input
condition
Application
example
Pulse output 0
Servomotor
Start trigger
Bit B
Bit C
Bit A
Bit A
Always ON (P_On)
Axis No.
Pulse output 0 &0
Start
Bit A
Position command
200000 pulses +200000
Speed command
50000Hz &50000
Acceleration rate
100Hz/4ms &100
Deceleration rate
100Hz/4ms &100
Pulse output method
CW/CCW output &0
Related
manuals
_NCCPU021_MoveRelative_DINT
(BOOL)
(BOOL)
EN
ENO
(INT)
Axis
(BOOL)
Execute
(DINT)
Distance
(DINT)
Velocity
(INT)
Acceleration
(INT)
Deceleration
(INT)
OutPulseSelect
(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID
Positioning completed
Bit B
Error flag
Bit C
Error code
(May be omitted)
_NCCPU021_MoveRelative_DINT (3/3)
Variable Table
Input Variables
Name
EN
Variable name
EN
Data type
BOOL
Default
Range
Axis No.
Axis
INT
&0
&0 to &1
Start
Position command
Execute
Distance
BOOL
DINT
0(OFF)
+0
Speed command
Velocity
DINT
&1
-2,147,483,647
to
+2,147,483,647
&1 to &100000
Acceleration rate
Acceleration
INT
&1
&1 to &65535
Deceleration rate
Deceleration
INT
&1
&1 to &65535
Pulse
method
OutPulseSelect
INT
&0
&0 to &1
output
Output Variables
Name
ENO
Positioning
completed
Error flag
Error code
(May be omitted)
Revision History
Version
1.00
Variable name
ENO
Data type
BOOL
Range
Done
BOOL
Error
ErrorID
BOOL
WORD
Date
2005.2.
Contents
Original production
Description
1 (ON): Starts FB
0 (OFF): Does not start FB
&0: Pulse output 0
&1: Pulse output 1
: Starts relative movement
Specifies the relative travel distance.
Unit: Pulses
Specifies the target speed.
Unit: Hz
Specifies the acceleration rate.
Unit: Hz/4ms (Increase (Hz) in frequency per
Pulse control period (4ms))
Specifies the deceleration rate.
Unit: Hz/4ms (Decrease (Hz) in frequency per
Pulse control period (4ms))
&0: CW/CCW output
&1: Pulse + direction output
Description
1(ON) :FB operating normally
0(OFF): FB not operating normally
1 (ON) indicates that positioning has been completed.
1 (ON) indicates that an error has occurred in the FB.
The error code of the error occurred in the FB will be
output. For details of the errors, refer to the sections of
the manual listed in the Related manuals above. When
Unit No. or Axis. No. is out of the range, #0000 will be
output.
Note
This manual is a reference that explains the function block functions.
It does not explain the operational limitations of Units, components, or combinations of Units and components. Always read and
understand the Operation Manuals for the systems Units and other components before using them.