Omron CJ1W-SCU32 Operation Manual page 268

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

Advertisement

7 Using Modbus-RTU Slave Mode
Write Single Coil
Function
Writes a bit in the memory used for CJ-series Unit.
Command
Function Code
Output Address
Output Value
* The address depends on the area that is allocated.
Response
Function Code
Output Address
Output Value
Writing 1 (ON) to CIO 0002.02
Request
Function Code
Output Address (H)
Output Address (L)
Output Value (H)
Output Value (L)
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 number in the shaded box indicates the TRUE/FALSE (1/0) status of the bit
that is read.
7-18
Length
1 byte
2 bytes
2 bytes
Length
1 byte
2 bytes
2 bytes
Data
05 hex
Function Code
00 hex
Output Address (H)
22 hex
Output Address (L)
FF hex
Output Value (H)
00 hex
Output Value (L)
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
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Data
05 hex
0000 to FFFF hex (*)
0000 hex (OFF) or FF00 (ON)
Data
05 hex
0000 to FFFF hex
0000 hex or FF00
Response
Data
05 hex
00 hex
22 hex
FF hex
00 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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents