Omron E3X-DRT21 Operation Manual page 93

Fiber amplifier sensor communication units
Table of Contents

Advertisement

CompoWay/F Message Communications
Response Block
Read Number of Sensors
Connected
Read Response Delay
Time
Read Threshold Setting
82
The following diagram shows the command text in the CompoWay/F response
block.
MRC
SRC
Response code
"02"
"01"
2 bytes
2 bytes
Number of elements
4 bytes
Number of Elements
Specifies as hexadecimal ASCII the number of Units starting from the speci-
fied unit number that are to be read from. The leftmost bit is set to 1. There-
fore, the number of elements is set to "8001" to read one Unit. Unless
executing Read Threshold Setting, the number of elements can be set to
"8001" only.
Read Data
Gives the data read in hexadecimal ASCII.
The following information describes the data format for each item.
15
14
13
12
11
Reads as a 4-digit hexadecimal value the number of Sensors connected.
When DIP switch pin 3 is ON, the value is read from the internal memory, and
when pin 3 is OFF, it is read from the rotary switch setting. The data range is
0001 Hex to 0010 Hex (1 to 16 Units).
Reads as a 4-digit hexadecimal value the Communication Unit's response
delay time (time for a CompoWay/F response to be returned). The unit is ms.
Some CompoWay/F masters, such as CQM1H Serial Communications
Boards, cannot read responses that are returned too quickly. For such mas-
ters, the Communication Unit response delay time can be set by using the
Write Response Delay Time command. The default setting is 0 ms.
Reads as a batch the threshold settings for the number of Sensors specified
in the number of elements after the unit number specified in read start
address. The data is given as a 2-byte (4-digit) hexadecimal value for each
Unit, and negative data is expressed as its two's complement.
Unit number N
Unit number N +1
Threshold
Threshold
Unit number specified in the read start address: Unit number N
Number of Units specified in the number of elements: M Units
Parameter type
4 bytes
4 bytes
Read data
Number of elements
10
09
08
07
06
Number of Sensors connected
Unit number
N + M – 2
Threshold
Section 4-5
Read start address
4 bytes
05
04
03
02
01
Unit number
N + M – 1
Threshold
00

Advertisement

Table of Contents
loading

This manual is also suitable for:

E3x-srt21E3x-cif11

Table of Contents