Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1267

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Text String Processing Instructions
Operand Specifications
Description
1228
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
LEFT$(652) reads the number of characters designated by S2, from the left
(the beginning) of the first word of the text string designated by S1 until the
NUL code (00 hex), and outputs the result to D (with NUL added at the end).
If the number of characters fetched exceeds the number of characters desig-
nated by S1, the entire S1 text string will be output.
If 0 (0000 hex) is designated as the number of characters to be read, the two
NUL characters (0000 hex) will be output to D.
Note LEFT$(652) can be processed in the background. Refer to the SYSMAC CS/
CJ/NSJ Series PLC Programming Manual (W394) for details.
S1
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A447
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
#0000 to #0FFF
(binary) or &0 to
&4095
---
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-33
S2
D
A448 to A959
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents