Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 97

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Reading/writing data instructions
■Reading data from the data memory
Instruction symbol
Processing details
S.DEVLD
Reads data from the device data storage file in data memory.
SP.DEVLD
■Writing data to the data memory
Instruction symbol
Processing details
SP.DEVST
Writes the specified number of points of data to the device data storage file in data memory.
■Reading data from the specified file
Instruction symbol
Processing details
SP.FREAD
Reads data from the specified file.
■Writing data to the specified file
Instruction symbol
Processing details
SP.FWRITE
Writes data to the specified file.
Debugging and failure diagnostic instructions
■Resetting the error display and the annunciator display
Instruction symbol
Processing details
LEDR
This instruction resets the self-diagnostic error (continuation error) display and the annunciator
display of the CPU module.
■Generating a continuation error
Instruction symbol
Processing details
PALERT
Generates a continuation error in the CPU module.
PALERTP
■Generating a stop error
Instruction symbol
Processing details
PABORT
Stops program execution and generates a stop error in the CPU module.
String processing instructions
■Comparing string data
Instruction symbol
Processing details
LD$=, AND$=, OR$=
Compares the character string specified by (s1) with the character string specified by (s2)
(character by character).
LD$<>, AND$<>, OR$<>
LD$>, AND$>, OR$>
LD$<=, AND$<=, OR$<=
LD$<, AND$<, OR$<
LD$>=, AND$>=, OR$>=
■Concatenating string data
Instruction symbol
Processing details
$+
Connects the character strings in the device specified by (s) to those in the device specified by (d),
and stores the connected data in the device specified by (d) and later.
$+P
$+
Connects the character strings in the device specified by (s2) to those in the device specified by
(s1), and stores the connected data in the device specified by (d) and later.
$+P
Reference
Page 594 S(P).DEVLD
Reference
Page 596 SP.DEVST
Reference
Page 599 SP.FREAD
Reference
Page 616 SP.FWRITE
Reference
Page 628 LEDR
Reference
Page 629 PALERT(P)
Reference
Page 630 PABORT
Reference
Page 631 LD$,
AND$, OR$
Reference
Page 634 $+(P) [when
two operands are set]
Page 636 $+(P) [when
three operands are set]
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
2
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents