Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter Five PLC Function Code
57
V
o
lume
I Programming
Fig. 5-33-1
Controllable condition:
ACT
=
0: Do not execute the ORF code.
ACT
=
1: Execute the ORF code.
Parameter:
Fig. 5-33-2
Length : Specify the data length (1 byte or 2 bytes), input the data format (constant or
address).
S1 : Specify the input data that will to be performed by NOT. The address is then begins
and the data length is consistent with the length.
S2 : The input data is performed with the one of the OR. When the format specifying is the
address specification, and therefore, the address starts, and the data length is
consistent with the specified Length..
S3 : It is used for storing the address of ORF operational result. The result from the ORF is
stored from this address, and the data length is consistent with the one of the length.
For example
: When the address A and B have the following data, which are shown below:
Address A
Address B
The operational result of the ORF is shown below:
Address C
5.34 NOT (Bit-by-bit NOT)
Function
: This code is reversed to each content in address A, and store the result to the address B.
Format:
1
1
1
0
0
0
1
1
0
1
0
1
0
1
0
1
1
1
1
1
0
1
1
1