Detailed instructions for use are in the User's Guide.
[. . . ] W394-E1-13
SYSMAC CS Series SYSMAC CJ Series SYSMAC One NSJ Series
Programmable Controllers
PROGRAMMING MANUAL
SYSMAC CS Series
CS1G/H-CPU
SYSMAC One NSJ Series Programmable Controllers
Programming Manual
Revised August 2008
iv
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Failure to heed precautions can result in injury to people or damage to property.
!DANGER
!WARNING
Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. [. . . ] This file also contains each program's properties
Entire program
2. Parameter File The parameter file contains the CPU Unit's internal Parameter Area data. The Parameter Area data includes the PLC Setup, registered I/O tables, CPU Bus Unit settings (including the data link parameters), and routing tables.
200
File Memory
PLC Setup Registered I/O tables
Section 5-1
CPU Bus Unit Settings
Routing tables
3. Data File The data file contains the data of one I/O memory data area, in word (16-bit) units. It is possible to store all of the data in the data area or just a specified range of addresses. Any one of the following 6 data areas can be stored: the CIO, Holding, Work, Auxiliary, DM, or EM Area.
Data areas
Specified range
or Entire data area
4. Symbols Table File The symbol table file contains the symbol table information used in the CX-Programmer as well as the automatically allocated PLC addresses.
Global Symbols Table Symbol Address Data Type I/O Comment
Local Symbols Table
5. Comment File The comment file contains the comment information used in the CX-Programmer.
201
File Memory
Rung Comment
Section 5-1
Annotation
6. Program Index File The program index file contains the section information used in the CX-Programmer.
Section Name: Section Comment
7. Unit/Board Backup File The Unit/Board backup file contains the internal data of a PLC Unit or Board, which is used by the simple backup function. Example: DeviceNet Units: Device parameters Serial Communications Units: Protocol macro data File Types and File Operations
File type · Program files · Data files · Parameter files
Related file memory operations · Programming Device (CX-Programmer or Programming Console) · FINS commands · File memory instructions · Simple backup operation · Auxiliary Area Flags · CX-Programmer · Simple backup operation
· · · ·
Symbol table files Comment files Program index files Unit/Board backup files · Simple backup operation
202
File Memory
Files That Can Be Written from the CPU Unit Files That Can Be Written from the CX-Programmer
CX-Programmer
Section 5-1
CPU Unit
Data transfer operations from the CX-Programmer
User program I/O memory Etc.
Program files Data files
Programming Device, FINS commands, ladder instructions, or control bits
Memory Card
Symbol files Comment files Program index files
Programming Device, FINS commands, ladder instructions, or control bits
Program files Data files
EM file memory
When a Memory Card is not inserted
Internal flash memory
Comment memory
Restrictions on File Use
Files are formatted in DOS, and therefore can be used as regular files on a Windows computer. Files 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, numbers 0 to 9, !, &, $, #, `, {, }, , ^, (, ), and _ The following characters cannot be used in file names: , , . , /, ¥, ?, *, ", :, :, <, >, =, +, space, and 2-byte characters. 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. When creating a Memory Card subdirectory with an operating system such as Windows, do not exceed the maximum subdirectory depth (5 subdirectories).
File Categories
The following 4 categories of files are managed (read and written) by the CPU Unit with file memory operations.
File type
Program file Data file
Corresponding file type
Parameter file Symbol Comment Program file table file index file Unit/ Board backup file
General files Automatic Transfer at Startup Files
Yes Yes
Yes Yes
Yes Yes
No No
No No
No No
No No
203
File Memory
File type
Program file Data file
Section 5-1
Corresponding file type
Parameter file Symbol Comment Program file table file index file Unit/ Board backup file
Simple Backup Files (See note. ) CX-Programmer Files
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
Note Not supported by CS-series CS1 CPU Units that are pre-EV1. General-purpose Files These files can be manipulated (read, written, etc. ) using Programming Devices (CX-Programmer or Programming Console), FINS commands, instructions, or Auxiliary Area control bit operations. The file names can be defined by the user.
Type Program File Parameter Area File Name1 ******** ******** Extension . OBJ . STD Description User program PLC Setup, registered I/O table, routing tables, CPU Bus Unit settings, etc. Specified range in I/O memory Explanation · Contains the programs in the CPU Unit's cyclic and interrupt tasks. · The user does not have to distinguish parameter data in the file by type. · Data from start to end word in word units (16 bits) located in one area. [. . . ] Page xvi: First caution rewritten and CPU Unit types in startup operating mode caution corrected. Page 274: Range for setting maximum unit number changed toward top of page. Pages 157 and 158: Changes made to table of differences between extra and normal cyclic tasks. Page 233: Information changed regarding power interruptions while accessing file memory. [. . . ]