Omron CS1G/H-CPUxxH Instructions Manual page 927

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

File Memory Instructions
3-26-3 WRITE DATA FILE: FWRIT(701)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Note
906
Overwrites or appends data in the specified data file in file memory with the
specified data from the data area in the CPU Unit. If the specified file doesn't
exist, a new file is created with that filename. Data can be written as binary,
text, or CSV format data.
FWRIT(701)
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
C: Control Word
As shown in the following diagram, the third digit of the control word indicates
whether to append or overwrite data in the data file and the fourth digit indi-
cates whether the destination file is in the Memory Card or EM file memory.
15
12
11
C
Carriage returns
0: No returns
8: Return every 10 fields*
9: Return every 1 field*
A: Return every 2 fields*
B: Return every 4 fields*
C: Return every 5 fields*
D: Return every 16 fields*
Data type
0: Binary (extension: .IOM, words/field: NA)
1: Non-delimited words (extension: .TXT, words/field: 1)*
2: Non-delimited double-words (extension: .TXT., words/field: 2)*
3: Comma-delimited words (extension: .CSV, words/field: 1)*
4: Comma-delimited double-words (extension: .CSV, words/field: 2)*
5: Tab-delimited words (extension: .TXT, words/field: 1)*
6: Tab-delimited double-words (extension: .,TXT words/field: 2)*
*: Cannot be set for CS-series CS1 CPU Units prior to V1@.
1. Each field will contain 1 word of I/O memory for the word data types and 2
words of I/O memory for the double-word data types.
C
C: Control word
D1
D1: First destination word
D2: Filename
D2
S
S: First source word
Step program areas
Subroutines
OK
8
7
4
3
0
File memory specifier
0: Memory Card
1: EM file memory
Function specifier
0: Append
1: Overwrite
Section 3-26
FWRIT(701)
@FWRIT(701)
Not supported.
Interrupt tasks
OK

Advertisement

Table of Contents
loading

Table of Contents