Restrictions On File Use - Omron CJ2 CPU - REV 10-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

Example 2: Inputting Signed Decimal Values
Item
Function
used
Example
7-3-3

Restrictions on File Use

Files are formatted in DOS format, and therefore can be used as regular files on a Windows computer.
File Names
Files are identified by file names and extensions, as shown in the following table. A file name is written
using the following characters: Letters a to z, A to Z, numbers 0 to 9, !, &, $, #,', {, }, -, ^, (, ), and _
The following characters cannot be used in file names: ,, ., /, \, ?, *, ", :, ;, <, >, =, +, space, and 2-byte
characters.
The filename extensions depend upon the type of file being stored.
Directories
The CS/CJ-series CPU Units can access files located in subdirectories. Specify the directory location in
file memory where the file is stored. Directories can be specified up to 5 subdirectories deep (counting
the root directory), unless a Programming Console is being used. The maximum length of a directory
path is 65 characters. When creating a Memory Card subdirectory with an operating system such as
Windows, do not exceed the maximum subdirectory depth (5 subdirectories).
CJ2 CPU Unit Software User's Manual
Converting unsigned decimal to 4-digit hexa-
decimal
DEC2HEX(IF(0<=cell_location,cell_location,6553
6+cell_location),4)
Input -10 in decimal and convert to FFF6 in 4-digit
hexadecimal.
7 File Operations
Converting unsigned decimal to 8-digit hexa-
decimal
DEC2HEX(IF(0<=cell_location,cell_location,
4294967296+cell_location),8)
Input -10 in decimal and convert to FFFFFFF6 in
8-digit hexadecimal.
7
7-19

Advertisement

Table of Contents
loading

Table of Contents