Omron M1 Series User Manual page 661

Multi-function compact inverter
Hide thumbs Also See for M1 Series:
Table of Contents

Advertisement

8-5
Explanation of Each Function Code
8-5-1
Read Coil Status [01 hex]
Reads the coil status (ON/OFF).
Example) Reading Data from Multifunction Input Terminals DI1 to
DI7 of Inverter with Slave Address 1
The status of each multifunction input terminal is as follows.
Coil No.
Multifunction input terminal
Coil status
Coil numbers 0008 to 000D hex are a reserved area.
 Query
No.
1
Slave address
2
Function code
3
Coil start address (MSB)
4
Coil start address (LSB)
5
Number of coils (MSB)
6
Number of coils (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
*1.
Broadcasting cannot be performed.
*2.
Note that the coil start address is 0002 hex, which is 1 less than the coil number 0003 hex: Coil start
address = Coil number - 1.
 Response
No.
Field name
1
Slave address
2
Function code
3
Number of data bytes
4
Coil data 1
5
Coil data 2
6
CRC-16 (MSB)
M1 Series Standard Type User's Manual (I669)
Item
0003
hex
DI1
ON
Field name
Example (hex)
*1
01
01
*2
00
*2
02
00
0C
9D
CF
Example (hex)
*1
01
01
02
*2
08
*2
05
7E
8 Communications Functions
Data
0004
0005
0006
hex
hex
hex
DI2
DI3
DI4
OFF
ON
OFF
Remarks
(Coil address) = (Coil number) − 1
Remarks
Input terminal
Input terminal
D7, D6
D5 to D1
← 805 hex = 1000 0000 0101
Reserved
0007
000E
000F
hex
hex
hex
DI5
DI6
DI7
OFF
OFF
ON
8-11
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents