Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 172

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

3 - 112
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(Example)
0000001C
8000001C
d) When file and step numbers are not designated in the monitor
conditions, the sequence step number becomes 00000000
if the monitor condition designated is selected by a subcommand.
e) When a monitor condition was selected not to be designated by a
subcommand, it is not required to specify the sequence step number.
10) Mask value and monitor condition value (for word)
These data items designate the value for word devices, etc. which will
determine when to read data (when a word device is designated as a
monitor condition).
• Mask value
The mask value extracts values in an arbitrary range of bits from a
word device used as a monitor condition.
(Its function is identical to the "WAND" instruction of the sequence
program.)
• Monitor condition value (for word)
This data item designates the numerical value (the result of the
logical operation between the monitor condition word device value
and the mask value (identical to the "WAND" instruction)) to be used
for the timing of reading data.
(Example)
The following values are designated when the timing of reading
data is set to the condition where the result of extraction from bits
0 to 14 of D0 for monitor condition is 3E8
Mask value
Monitor condition value (for word) : 03E8
A mask value and monitor condition value (for words) can be
designated when monitor conditions are selected to be designated
by a subcommand and the word device value is designated as
monitor condition.
a) Data communication in ASCII code
The mask value and monitor condition value above are converted
to a 4-digit (hexadecimal) ASCII code and sequentially
transmitted beginning from the most significant digit.
b) Data communication in binary mode
Two-byte values representing the mask value and monitor
condition value are sequentially transmitted beginning from the
low byte (L: bits 0 to 7).
(Example)
0005
H
c) When the word device value is selected not to be designated as a
monitor condition, the mask value and monitor condition value are
replaced by spaces or "0000
selected to be designated by the subcommand.
In this case, the word device and device code for designating the
word device value for a monitor condition designate an arbitrary
word device memory and its device code.
d) When a monitor condition was selected not to be designated by a
subcommand, it is not required to specify the mask value and
monitor condition value.
(The word device and device code for designating the word device
value for monitor condition do not have to be designated either.)
when sequence program number 28 is designated.
H
when the interrupt pointer I28 is designated.
H
: Sequentially transmitted from 05
" even if monitor conditions are
H
(1000).
H
: 7FFF
H
H
.
H
even
H
3 - 112

Hide quick links:

Advertisement

loading