Omron CS1G/H-CPUxxH Instructions Manual page 989

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Other Instructions
Flags
3-31-7 CONVERT ADDRESS FROM CV: FRMCV(284)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Description
968
Task
Refer to 3-31-5 SAVE CONDITION FLAGS: CCS(282) for more examples
showing how to use CCS(282) and CCL(283).
There are no flags affected by these instructions.
Converts a CV-series PLC memory address to its corresponding CS/CJ-
series PLC memory address. FRMCV(284) can be useful when converting
CV-series programs that use PLC memory addresses so that they are com-
patible with CS/CJ-series PLCs.
This instruction is supported by the CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units only.
FRMCV(284)
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
When the execution condition is ON, FRMCV(284) executes the following
operations.
1. The CV-series PLC memory address specified in S is converted to its
equivalent CV-series data area address.
2. FRMCV(284) determines the CS/CJ-series PLC memory address that cor-
responds to the same CV-series data area address.
3. The CS/CJ-series PLC memory address is output to D. (An index register
(IR0 to IR15) must be specified for D.)
The following example shows FRMCV(284) used to convert the CV-series
PLC memory address for D00001.
Instruction A
CCL(283) is used alone to clear the
CCL
Condition Flags after execution of
instruction A so that those results do not
affect instruction B and later instructions.
Instruction B
S: Word containing the CV-
series PLC memory address
S
D: Destination Index Register
D
Step program areas
Subroutines
OK
Section 3-31
FRMCV(284)
@FRMCV(284)
Not supported.
Interrupt tasks
OK

Advertisement

Table of Contents
loading

Table of Contents