Omron CJ2 CPU UNIT SOFTWARE User Manual page 525

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
Code
LOGA-
LOG
468
RITHM
@LOG
EXPONEN-
PWR
840
TIAL
@PWR
POWER
FLOATING
LD, AND. or
329
SYMBOL
OR
(=F),
COMPARI-
+
330
SON
(<>F),
=F, <>F, <F,
<=F, >F, or
331
>=F
(<F),
332
(<=F),
333
(>F),
334
(>=F)
FLOAT-
FSTR
448
ING-
@FSTR
POINT TO
ASCII
ASCII TO
FVAL
449
FLOATING-
@FVAL
POINT
CJ2 CPU Unit Software User's Manual
Symbol/Operand
Calculates the natural (base e) logarithm of a 32-bit
LOG(468)
floating-point number and places the result in the specified
result words.
S
R
log
e
S: 1st source word
R: 1st result word
Raises a 32-bit floating-point number to the power of
PWR(840)
another 32-bit floating-point number.
B
E
R
B+1
B: 1st base word
E: 1st exponent
word
R: 1st result word
Compares the specified single-precision data (32 bits) or con-
Using LD:
stants and creates an ON execution condition if the comparison
result is true.
Symbol, option
Three kinds of symbols can be used with the floating-point sym-
S1
bol comparison instructions: LD (Load), AND, and OR.
S2
Using AND:
Symbol, option
S1
S2
Using OR:
Symbol, option
S1
S2
S1: Comparison data 1
S2: Comparison data 2
Converts the specified single-precision floating-point data (32-bit
FSTR(448)
decimal-point or exponential format) to text string data (ASCII)
and outputs the result to the destination word.
S
C
D
S: 1st source
word
C: Control word
D: Destination
word
Converts the specified text string (ASCII) representation of sin-
FVAL(449)
gle-precision floating-point data (decimal-point or exponential for-
mat) to 32-bit single-precision floating-point data and outputs the
S
result to the destination words.
D
S: Source word
D: 1st destination
word
Function
S+1
S
R+1
R
Power
E+1
E
S
R+1
R
Base
Appendices
Execution
Location
condition
Output
Required
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
Output
Required
LD:
LD:
Logical
Not
start.
required
AND or
AND or
OR:
OR:
Contin-
Required
ues on
rung
Output
Required
Output
Required
A-41

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Questions and answers

Thomas
January 16, 2025

How do I retrieve fault codes from plc: CJ2M-CPU35

1 comments:
Mr. Anderson
May 14, 2025

To retrieve fault codes from an Omron CJ2M-CPU35 PLC, use the following method:

1. Go online with the PLC using either:
- The known device and CPU type via the "Change PLC" dialog box, or
- Auto Online if the device and CPU type are unknown but connected via serial line.

2. Once online, select the menu option: PLC → Edit → Information.

3. This opens the PLC Information Dialog Box, where you can view information such as fault codes and unit version.

Additionally, check the Battery Error Flag (A402.04) and the ERR/ALM indicator on the CPU Unit, which may signal errors like low battery.

This answer is automatically generated

Table of Contents

Save PDF