EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-169
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Math Instructions
2
MOD
The following example is for when In1 is INT#18 and In2 is INT#5. The value of variable abc will be
INT#3.
Set the data type of Out to include the valid ranges of In1 and In2.
An error occurs in the following case. ENO will be FALSE, and Out will not change.
The value of In2 is 0.
Precautions for Correct Use
abc:=INT#18 MOD INT#5;
LD ST
abc
INT#18
INT#5
MOD
EN ENO
In1
In2

Table of Contents

Related product manuals