Omron CJ1W-SCU32 Operation Manual page 265

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

Read Discrete Inputs
Function
Reads multiple bits from the CIO Area of the memory used for CJ-series Unit.
Command
Function Code
Starting Address
Quantity of Coils
Response
Function Code
Byte Count
Coil Status
* N=Quantity of Registers
Reading 19 Bits from CIO 0001.04 to CIO 0002.06
Request
Function Code
Starting Address (H)
Starting Address (L)
Quantity of Coils (H)
Quantity of Coils (L)
Note Unused bits are filled with zeros.
15
14
13
CIO 0
15
14
13
CIO 1
31
30
29
1
0
1
CIO 2
47
46
45
CIO 3
63
62
61
Note The subscript numbers in the shaded boxes indicate the TRUE/FALSE (1/0) status of the bits
that are read.
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Length
1 byte
2 bytes
2 bytes
Length
1 byte
1 byte
n byte
Data
02 hex
Function Code
00 hex
Byte Count
14 hex
Coil Status 27 to 20
00 hex
Coil Status 35 to 28
13 hex
Coil Status 38 to 36
12
11
10
9
8
12
11
10
9
8
28
27
26
25
24
1
1
1
0
44
43
42
41
40
60
59
58
57
56
7 Using Modbus-RTU Slave Mode
Data
02 hex
0000 to 13FF hex
0001 to 03E8 hex (1 to 1000)
Data
02 hex
N (*)
n = N or N+1
Response
Data
02 hex
03 hex
CD hex
6B hex
05 hex
7
6
5
4
7
6
5
4
23
22
21
20
0
1
1
0
1
39
38
37
36
1
0
1
55
54
53
52
3
2
1
0
3
2
1
0
19
18
17
16
35
34
33
32
0
1
1
0
51
50
49
48
7-15
7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents