Omron SYSMAC CS Series Instruction & Reference Manual page 1011

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

TOCV
Instruction
CONVERT ADDRESS TO CV
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
Index Register containing the CS/CJ-series PLC memory address
D
Destination word
*1 Only an index register (IR0 to 15) can be specified in D.
 Operand Specifications
Word addresses
Area
CIO
WR
HR
S
---
---
---
D
OK
OK
OK
Flags
Operand
Error Flag
Note
• An error will occur and the Error Flag will be turned ON if S specifies one of the following PLC memory addresses
that do not exist in the CV-series
Area or addresses
Task Flag Area
A10000 to A11535
CIO 2556 to CIO 6143
T1024 to T4095
C1024 to C4095
HR Area
WR Area
D24576 to D32767
EM bank specification
E32766 to D32767
• An error will occur and the Error Flag will be turned ON if an area other than the Index Register Area is specified for
S.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
TOCV
@TOCV
TOCV(285)
S
D
Block program areas
Step program areas
Ok
OK
Description
AR
T
C
DM
EM
---
---
---
---
---
OK
OK
OK
OK
OK
Description
P_ER
• ON if S specifies a PLC memory address that does not exist in the CV-series PLCs.
• OFF in all other cases.
PLC memory addresses
0000 B800 to 0000 B801 hex
0000 B200 to 0000 B7FF hex
0000 C9FC to 0000 D7FF hex
0000 BE40 to 0000 BEFF hex and
0000 E400 to 0000 EFFF hex
0000 BF40 to 0000 BFFF hex and
0000 F400 to 0000 FFFF hex
0000 D800 to 0000 D9FF hex
0000 DE00 to 0000 DFFF hex
0001 6000 to 0001 7FFF hex
0001 8000 to 000F 7FFF hex
000F FFFE to 000F FFFF hex
Function
code
Converts a CS/CJ-series PLC memory address to its
285
corresponding CV-series PLC memory address.
TOCV
S: Index Register containing the CS/CJ-series PLC memory a
D: Destination word
Subroutines
OK
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
OK
OK
---
OK
Data type
3. Instructions
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Data type
Size
1
IR*
only
UINT
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
OK
---
---
---
---
OK
3
2
1
TR
bits
---
---
977

Advertisement

Table of Contents
loading

Table of Contents