
1179
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 CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...