Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-73
ENCO(P)
1
2
3
4
6
6
7
8
7.5 Data processing instructions
7.5.4 Encoding from 256 to 8 bits (ENCO(P))
7.5.4 Encoding from 256 to 8 bits (ENCO(P))
ENCO(P)
Function
(1) Stores the binary value corresponding to the bits which are "1" included in the 2
n
-bit data of
to .
(2) The value of n can be designated at between 1 and 8.
(3) If n 0, there will be no operation, and the contents of will not change.
(4) Bit devices are treated as 1 bit, and word devices as 16 bits.
(5) If more than 1 bit is at 1, processing will be conducted at the upper bit location.
: Head number of the device where the data to be encoded is stored (Device name)
: Number of the device where the encoding result will be stored (BIN 16 bits)
n : Valid bit length (1 to 8), 0: No processing (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
–– ––
n ––
Basic
Process
High
performance
Redundant
Universal
n
n
ENCO
ENCOP
D
D
Command
Command
ENCOP
ENCO S
S
S
D
S
D
S
D
7
0
86
(Binary value = 6)
543210
0 1000000
110
S
D
D