EasyManua.ls Logo

Omron CJ - 08-2008 - CJ1-H;CJ1 M CPU Unit Ver. 3.0 Upgrades; Text String Support in Function Blocks

Omron CJ - 08-2008
733 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26
CJ1-H/CJ1M CPU Unit Ver. 3.0 Upgrades Section 1-5
1-4-3 Text String Support in Function Blocks
Unit Version 3.0 or Earlier To program text string processing for communications commands and display
data in ladder diagrams, it was necessary to know the ladder string instruc-
tions and ASCII codes. Also, several instructions had to be combined to con-
verted from numbers to text strings or text strings to numbers.
Unit Version 4.0 or Later Text strings can be used in ST programming to easily create text string pro-
cessing programs.
1-5 CJ1-H/CJ1M CPU Unit Ver. 3.0 Upgrades
The following table shows the functional upgrades for CJ1-H/CJ1M CPU Unit
Ver. 3.0.
Functional Upgrades for CJ1-H/CJ1M CPU Unit Ver. 3.0
MOV
#426C
stBlack[0]
MOV
#6163
stBlack[1]
" Bl" is #426C in ASCII
.
" ac" is #6163 in ASCII.
06/05/28
Black: 9
White: 18
Blue: 7
Pink: 30
Black
White
Blue
Pink
9
18
7
30
Production
log file
created.
File name
LineA.txt
FB to Create Date Text
FB to Create Production Log File
(* Convert black quantity to string *)
(* Convert white quantity to string *)
(* Convert blue quantity to string *)
(* Convert pink quantity to string *)
(* Get date text *)
GetDate(stDay)
Name: Generate Date Text
Function: To create text data for yy/mm/dd
(* Create yymm text *)
(* Create ddhh text *)
(* Insert / between yy and mm; extract only dd and combine *)
(* Create production log LineA.txt *)
Function Section
Function blocks (when using CX-Programmer Ver. 5.0 or higher) 1-5-1
Serial Gateway (converting FINS commands to CompoWay/F com-
mands at the built-in serial port)
1-5-2
Comment memory (in internal flash memory) 1-5-3
Expanded simple backup data 1-5-4

Table of Contents

Related product manuals