Reading Work Bits And Hr Bits - Omron ZEN-8E Communications Manual

Programmable relay
Table of Contents

Advertisement

SECTION 2 CompoWay/F Communications Protocol

■ Reading Work Bits and HR Bits

20
3. Comparison Operators for 8-Digit Comparator
The comparison data and operation in the variable area can be
specified when reading.
Read data
0
0
0
0
0
0
8
7
6
5
4
0
Bit positions are specified when reading Work Bits or HR Bits (0 or 1).
Example
Command
[STX]000000101CA000002001
Response
[STX]00000010100000000001
3
2
1
0
0
0
Comparison Operator
0: ≤
(Comparator bit turns ON when
8-digit counter PV ≤ Comparison data 2.)
1: ≥
(Comparator bit turns ON when
8-digit counter PV ≥ Comparison data 2.)
Comparison Data 2
1: SV (constant)
Note: Always 1.
Comparison Data 1
000 (H'0): 8-digit counter (F) PV
The bit position is specified when reading. In
this example, the bit 02 is specified when
reading the status of Work Bit M2.
The response says that the specified Work
Bit is ON (1).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zen

Table of Contents