0% found this document useful (0 votes)
43 views2 pages

Present Position Change (Real) : - Nccpu610 - Setposition - Real: Nccpu 610 Basic Function Symbol

This document summarizes a function block that changes the present position of a pulse output on an Omron CJ1M CPU unit. The function block takes in an axis number, start trigger, and target position as inputs. It outputs status signals indicating when positioning is complete or if an error occurs. When the start trigger is turned on, it will change the present position of the selected pulse output axis to the target position value.

Uploaded by

Joseph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views2 pages

Present Position Change (Real) : - Nccpu610 - Setposition - Real: Nccpu 610 Basic Function Symbol

This document summarizes a function block that changes the present position of a pulse output on an Omron CJ1M CPU unit. The function block takes in an axis number, start trigger, and target position as inputs. It outputs status signals indicating when positioning is complete or if an error occurs. When the start trigger is turned on, it will change the present position of the selected pulse output axis to the target position value.

Uploaded by

Joseph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

_NCCPU610_SetPosition_REAL (1/2)

NCCPU
610

Present Position Change(REAL): _NCCPU610_SetPosition_REAL

Basic
function
Symbol

Changes the present position to the specified position data.


Always ON (P_On)

_NCCPU610_SetPosition_REAL
(BOOL)
(BOOL)
EN
ENO
Axis No.
Start
Position data

File name
Applicable

models
Conditions
for usage
Function
description

(INT)
Axis
(BOOL)
Execute
(REAL)
Position

(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID

Present position change completed


Error flag
Error code
(May be omitted)

Lib\FBL\omronlib\ PositionController \NC-CPU(CJ1MCPU2x)\_NCCPU610_SetPosition_REAL10.cxf


CPU Unit
CJ1M-CPU21/22/23 Unit version 3.0 or higher
CP1L-***DT-*
CP1L-***DT1-*
CX-Programmer
Version 5.0 or higher
None
Changes the present position of the output specified with the Axis No. (Axis) to the value set in Position data
(Position) when Start (Execute) is turned ON.
The Error flag (Error) will be turned ON and Error code (ErrorID) will be output when an error related to this FB
occurs.
These statuses, Present position change completed (Done)/ Error flag (Error)/ Error code (ErrorID), will be
reset when Start (Execute) is turned OFF. If Start (Execute) was turned OFF before positioning is completed,
the status will be set for at least one cycle when a corresponding condition occurs.
EN

ON
OFF

END

ON
OFF

Execute

ON
OFF

Present
position

Kind of FB
definition
EN input
condition
FB
precautions

Done

ON
OFF

Error

ON
OFF

Note:
This FB uses the Change Present Value Function of the CPU Unit. For details, refer to the section of 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.
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 cannot be executed during pulse outputs. An error will occur if it is executed.
The origin will be decided when this FB is executed.

_NCCPU610_SetPosition_REAL (2/2)

Application
example

Turning the Start trigger from OFF to ON will change the present position of the Pulse output 0 on the
CJ1M-CPU Unit to the specified Position data (Position).
CJ1MCPU2x

Pulse output 0
Servomotor

Start trigger

Bit B

Bit C

Bit A

Bit A

Always ON (P_On)

_NCCPU610_SetPosition_REAL
(BOOL)
(BOOL)
EN
ENO
Axis No.
Pulse output 0 &0
Start
Bit A
Position data
D0

Related
manuals

(INT)
Axis
(BOOL)
Execute
(REAL)
Position

(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID

Present Position Change completed


Bit B
Error flag
Bit C
Error code
(May be omitted)

CJ1M CPU Units Operation Manual (W395)


5-1 MODE CONTROL: INI(880)
6-3-3 Origin Search Error Processing Pulse Output Stop Error Codes
SYSMAC CP Series CP1L CPU Unit Operation Manual (W462)

Variable Table
Input Variables
Name
Variable name
EN
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
REAL

0(OFF)
+0.0

&0: Pulse output 0


&1: Pulse output 1
: Executes Present Position Change
Specifies the position data to be used in Present
Position Change.
Unit: Pulses

Data type
BOOL

Range

Output Variables
Name
Variable name
ENO
ENO
Present position
change
completed
Error flag
Error code
(May
be
omitted)

Revision History
Version
1.00

Done

BOOL

Error
ErrorID

BOOL
WORD

Date
2005.2.

-2.147483e+009
to
+2.147483e+009

Description
1 (ON): FB operating normally
0 (OFF): FB not operating normally
Turns ON when Present Position Change is completed normally.
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.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy