EasyManuals Logo

Omron TJ1-MC04 - PROGRAMMING 1 User Manual

Omron TJ1-MC04 - PROGRAMMING 1
312 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
Page #152 background imageLoading...
Page #152 background image
BASIC commands
PROGRAMMING MANUAL 152
Revision 3.0
3.2.285 XOR
/i
/i
Type Mathematical operation
Syntax expression1 XOR expression2
Description The XOR operator performs the logical XOR function between corresponding
bits of the integer parts of two valid BASIC expressions.
The logical XOR function between two bits is defined as in the table below.
Arguments • expression1
Any valid BASIC expression.
• expression2
Any valid BASIC expression.
Example VR(0)=10 XOR 18
The XOR is a bit operator and so the binary action taking place is as follows:
01010 XOR 10010 = 11000. The result is therefore 24.
See also N/A
Bit 1 Bit 2 Result
00 0
01 1
10 1
11 0
I52E-EN-03.book Seite 152 Freitag, 29. Juni 2007 11:55 11

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron TJ1-MC04 - PROGRAMMING 1 and is the answer not in the manual?

Omron TJ1-MC04 - PROGRAMMING 1 Specifications

General IconGeneral
BrandOmron
ModelTJ1-MC04 - PROGRAMMING 1
CategoryController
LanguageEnglish

Related product manuals