Origin Search (DINT) : - NCCPU051 - Home - DINT: Nccpu 051 Basic Function Symbol
Origin Search (DINT) : - NCCPU051 - Home - DINT: Nccpu 051 Basic Function Symbol
Origin Search (DINT) : - NCCPU051 - Home - DINT: Nccpu 051 Basic Function Symbol
NCCPU
051
Basic
function
Symbol
Always ON (P_On)
_NCCPU051_Home_DINT
(BOOL)
EN
Axis No.
Start
Position data
Pulse output method
File name
Applicable
models
Conditions
for usage
Function
description
(INT)
Axis
(BOOL)
Execute
(DINT)
Position
(INT)
OutPulseSelect
(BOOL)
ENO
(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID
ON
OFF
EN
ON
OFF
Execute
ON
OFF
Speed
Command
speed
Kind of FB
definition
FB
precautions
EN input
condition
Restrictions
Other
Done
ON
OFF
Error
ON
OFF
Note:
This FB uses the Origin Search Function of the CPU Unit. For details, refer to the manual listed in the Related
manuals.
Connect Always ON type
Connect the EN input to the Always ON Flag (P_ON).
The same instance cannot be used in two or more places.
When using the Pulse output 0 and 1 simultaneously, use the same Pulse output method for them.
Connect the EN input to the Always ON Flag (P_ON).
If a different type of bit is connected to EN, the FB outputs will be maintained when the connected bit is turned
OFF.
This FB does not use Acceleration/deceleration curve designation, Origin search high-speed, Origin search
proximity speed, Origin search acceleration rate, Origin search deceleration rate, and Origin compensation.
To use these, specify them outside of the FB.
After the pulse stops, when Present Value Preset is not executed in FB, due to command errors or others, it
becomes an error.
_NCCPU051_Home_DINT (2/2)
Turning the start trigger from OFF to ON will start operating the Servomotor connected to the Pulse output 0 on
the CJ1M-CPU Unit to perform origin search. After the origin search is completed, Present Position Change
will be executed.
Application
example
CJ1MCPU2x
Pulse output 0
Servomotor
Start trigger
Bit B
Bit C
Bit A
Bit A
Always ON (P_On)
_NCCPU051_Home_DINT
(BOOL)
EN
Axis No.
Pulse output 0 &0
Start
Bit A
Position data
D0
Pulse output method
CW/CCW output &0
(BOOL)
ENO
(INT)
Axis
(BOOL)
Execute
(DINT)
Position
(INT)
OutPulseSelect
(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID
Related
manuals
Variable Table
Input Variables
Name
EN
Variable name
EN
Data type
BOOL
Default
Range
Description
1 (ON): Starts FB
0 (OFF): Does not start FB
Axis No.
Axis
INT
&0
&0 to &1
Start
Position data
Execute
Position
BOOL
DINT
0(OFF)
+0
Pulse
method
OutPulseSelect
INT
&0
output
Output Variables
Name
ENO
Origin search completed
Error flag
Error code
(May be omitted)
Revision History
Version
1.00
Variable name
ENO
Data type
BOOL
Done
Error
ErrorID
BOOL
BOOL
WORD
Date
2005.2.
-2147483648 to
+2147483648
&0 to &1
Range
Description
1 (ON): FB operating normally
0 (OFF): FB not operating normally
1 (ON) indicates that an origin search 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.
Contents
Original production
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.