EasyManua.ls Logo

GSK 218M - Eor(Exclusive or

Default Icon
227 pages
Print Icon
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...
GSK218M CNC System Connection and PLC Manual
64
Length :Specifies a data length(1 or 2 bytes).
S1 :Input data to be inverted bit by bit. The data that is held starting at this address
and has the data length specified in Length format specification is treated as
input data.
S2 :Address used to output the result of a NOT operation. The result of a NOT
operation is stored starting at this address. And has the data length specified in
Length format specification.
Example:
When address A holds the following data:
Address A
The result of the NOT operation is as follows:
Address B
5.30 EOR(exclusive or)
Function:
The EOR instruction exclusive-Ors the contens of address A with a constant( or the contents of
address B), and stores the result at address C.
Format:
Control conditions:
ACT=0 : The EOR instruction is not executed.
1 1 1 0 0 0 1 1
0 0 0 1 1 1 0 0
EOR
Length
Format
specification
S1
Address A
S2
Constant or
address B
S3
Address C
O O O
Data length specification
1:1 byte length data
2: 2 bytes length data
ACT

Table of Contents