File Memory Instructions; Precautions When Using Memory Cards - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

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

Advertisement

File Memory Instructions

3-26 File Memory Instructions

3-26-1 Precautions when Using Memory Cards

Format
Number of Files in Root Directory
1096
CS1W-DRM21 DeviceNet Unit
(CPU Bus Unit with unit number 2)
ECHWR(724)
CPU
instruction
Unit
Unit address 12 hex (because
the unit number is 2)
Explicit
message
S:
D00000
S+1:
D00001
S+2:
D00002
15
C:
D00200
0
0
C+1:
D00201
0
0
C+2:
D00202
0
6
C+3:
D00203
0
0
C+4:
D00204
0
0
This section describes instructions used with file memory (EM Area or Mem-
ory Cards).
Note File memory can also be manipulated by executing CMND(490) to send a
FINS command to the local CPU Unit. Refer to the CS/CJ-series PLC Opera-
tion Manual for details.
Instruction
READ DATA FILE
WRITE DATA FILE
WRITE TEXT FILE
Confirm the following items before using a Memory Card.
Memory Cards are formatted before shipping. There is no need to format
them after purchase. To format them once they have been used, always do so
in the CPU Unit using the CX-Programmer or a Programming Console.
If a Memory Card is formatted directly in a notebook computer or other com-
puter, the CPU Unit may not recognize the Memory Card. If this occurs, you
will not be able to use the Memory Card even if it is reformatted in the CPU
Unit.
There is a limit to the number of files that can be placed in the root directory of
a Memory Card (just as there is a limit for a hard disk). Although the limit
depends on the type and format of the Memory Card, it will be between 128
and 512 files. When using applications that write log files or other files at a
specific interval, write the files to a subdirectory rather than to the root direc-
tory.
CJ1W-DRM21 DeviceNet Unit
CPU Unit
Node address 07
DeviceNet
D:
D+1:
D+2:
8 7
0
0
7
Node address of remote CPU Unit to be written to = 07 hex (node 07)
0
3
Write data size (number of words) = 3 hex
Communications port = 6 hex (port 6),
1
2
and the DeviceNet Unit's unit address = 12 hex
0
0
Response monitoring time = 0000 hex (2 s)
0
0
Explicit format type = 0000 hex (DeviceNet format)
Mnemonic
FREAD
FWRIT
TWRIT
Section 3-26
D00100
D00101
D00102
Function code
700
1100
701
1107
704
1114
Page

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents