![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681219.webp)
1180
Other Instructions
Section 3-31
Example 2: Converting a CV-series Program with PLC Memory
Addresses Stored directly in Index Registers
In this FRMCV(284) example, the CV-series PLC memory address is speci-
fied directly in S.
3-31-8 CONVERT ADDRESS TO CV: TOCV(285)
Purpose
Converts a CS/CJ-series PLC memory address to its corresponding CV-
series PLC memory address. TOCV(285) can be useful when converting CS/
CJ-series programs that use PLC memory addresses so that they are com-
patible with CV-series PLCs.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
Ladder Symbol
Variations
0200Hex
000000
CIO 0512
CIO 0512
MOV
#0200
IR0
S
D
000000
FRMCV
#0200
IR0
S
D
0200Hex
#0200
IR0
#000C200
IR
• CV-series program
(Program using PLC memory
addresses stored directly in IR)
• CS/CJ-series program
Equivalent program
In this case, the PLC memory address
0200 hex is stored in Index Register IR0.
In this case, the CV-series PLC memory address 0200
hex corresponds to CIO 0512. The CS/CJ-series PLC
memory address for CIO 0512 is 0000C200 hex, so this
value is stored in IR0.
CV-series PLC
memory address: 0200
hex
CV-series word
address
CS/CJ-series
word address
CS/CJ-series PLC
memory address:
00C200 hex
TOCV(285)
S
D
S: Index Register containing the
CS/CJ-series PLC memory
address
D: Destination word
Variations
Executed Each Cycle for ON Condition
TOCV(285)
Executed Once for Upward Differentiation
@TOCV(285)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...