Delta AS Series Programming Manual page 1138

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Example:
SM450 is ON when the memory card is inserted into the CPU module; SM452 is ON when the MTWRIT instruction
executes; SM452 is OFF when the MTWRIT instruction completes.
Operand
Setting value
D0
16#0001
D300
D10
16#000A
D1
16#0A00
D30=16#6554
D30
D31=16#7473
D32=16#0031
Additional remarks
1.
If the value in C exceeds the range, an operation error occurs, the instruction is not executed, SM0 is ON, and the
error code in SR0 is 16#2003.
2.
If the value in S
exceeds the range, an operation error occurs, the instruction is not executed, SM0 is ON, and the
1
error code in SR0 is 16#2003.
3.
If the value in S
exceeds the range, an operation error occurs, the instruction is not executed, SM0 is ON, and the
3
error code in SR0 is 16#2003.
The file into which the data is written
The file format:
The unit of the character is a byte.
The file name extension is .txt.
Use ASCII codes.
The data in D300 is written to the file.
-
The data that is written to the file
The size of the string that is written to the file is 10 bytes.
After the data is written to the file, the separation mark is appended after the last
byte in the file.
The file name is "Test1".
Cha p ter 6 App l ied Ins truc tio ns
Description
6_
6 - 8 5 9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents