Basic Function |
Changes the present position to the specified position data. |
Symbol |
|
Originates from |
Tsunagi Lab Europe |
Created by |
OEE-HQ HvB (creation and testing) |
File Name |
MD_CPU610_SetPosition_REAL.cxf |
Applicable models |
CPU Unit |
CJ2M-CPU Unit version 2.0 or higher with max. two
CJ2M-MD211 (NPN) or
CJ2M-MD212 (PNP) |
CX-Programmer |
Version 9.1.2 or higher |
Conditions for usage |
None. |
Function Description |
(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.
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.
|
Kind of FB definition |
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. |
FB Precautions |
• 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.
The MD_CPU* function blocks are offered 'as is' and may serve as a basis for development. Users should previously test its adequacy to the final application.
Omron can not be held responsible in case of malfunction.
|
EN input condition |
• 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. |
Application example |
Turning the Start trigger from OFF to ON will change the present position of the Pulse output 0 on the CJ2M-MD21* Unit to the specified Position data (Position).
|
Related manuals |
CJ2M Pulse I/O User Manual (W486)
CJ2 Hardware User Manual (W472) |