16-Bitcheck; 16-Bit Check - Mitsubishi Electric MELSEC-KOJIU Instruction Manual

Table of Contents

Advertisement

0
Check data are entere
1 1
Data are entered in D110.
In this circuit, D112 is directly used for comparison. When D112 is used in any other
circuit, M40
-
M42 should be self-held, or D112 contents should b e transferred to Dm for
com par ison.
I
5.4.13 16-bit check
1 1
Execution of check command
This function is used to check and examine how many "1" (ON) bits exist in 16 bits of one
register.
Practical application example of the function is that number of stored goods can be identified
when flow of goods is traced in conveyor or any transfer, or material handling control system
by making use of shift register functions, or the case where how many outputs are in ON with-
in a certain range of output Y is examined.
,
q C h e c k result is read and used3
5.4.13.1 Functions
,
Checked result is read from D1 1 1
,
and
can be used.
Function No.:
F109
Check data:
Cumulative number of bits:.
D111
t
Cumulative number of bits
...
binary numeral
(0
-
16)
(1) Check data (how many bits of which are in ON is to be identified) are entered in D110.
(2)
When F109 is executed, total number of bits in ON is stored in the lower four bits of D l l l
(3)
Circuit composition
in the form of binary code and all upper 12 bits turn to '%',.
PLS Mn
1
Command is converted into pulse signal.
Check command
-1PLS
Mn
Command is converted into pulse signal.
Fig. 5.4.13.1
16-bit Check Circuit Composition
78

Advertisement

Table of Contents
loading

Table of Contents