Write To Coil [05 Hex] - Omron MX2 Series User Manual

Mx2 series type v1 multi-function compact inverter
Hide thumbs Also See for MX2 Series:
Table of Contents

Advertisement

Response
No.
1
Slave address
2
Function code
3
Number of data bytes
4
Register data 1 (MSB)
5
Register data 1 (LSB)
6
Register data 2 (MSB)
7
Register data 2 (LSB)
8
Register data 3 (MSB)
9
Register data 3 (LSB)
10
Register data 4 (MSB)
11
Register data 4 (LSB)
12
Register data 5 (MSB)
13
Register data 5 (LSB)
14
Register data 6 (MSB)
15
Register data 6 (LSB)
16
CRC-16 (MSB)
17
CRC-16 (LSB)
*1. Broadcasting cannot be performed.
*2. Note that the holding register start address is 0011 hex, which is 1 less than the register number 0012 hex:
Register address = Register number - 1.
*3. Data as much as the number of data bytes will be transferred. In this example, the inverter sends back data
from six holding registers, which is 12 (0C hex) bytes.
8-5-3

Write to Coil [05 hex]

Writes the ON/OFF status to a single coil. The coil status changes as shown in the table below.
Data
Written data (MSB)
Written data (LSB)
Example. Issuing RUN Command to Inverter with Slave Address 1
You need to set the 1st RUN Command Selection (A002) to03 (Modbus communication).
The coil number for the RUN command is 0001.
Query
No.
1
Slave address
2
Function code
3
Coil address (MSB)
4
Coil address (LSB)
5
Written data (MSB)
6
Written data (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
Multi-function Compact Inverter 3G3MX2-V1 User's Manual (I585-E1)
Example
Field name
[hex]
*1
01
03
*3
0C
00
03
00
04
00
00
04
D2
01
2C
0B
18
D0
6D
OFF to ON
FF hex
00 hex
Example
Field name
[hex]
*1
01
05
*2
00
*2
00
FF
00
8C
3 A
8 Communications Functions
0003 hex → 03 dec → E03 (Factor: Overcurrent)
0004 hex → 4 dec (Inverter status: During accelera-
tion)
0000 04D2 hex → 1234 dec → 12.34 [Hz] (Fre-
quency)
012C hex → 300 dec → 3.00 [A] (Current)
0B18 hex → 2840 dec → 284.0 [V] (DC voltage)
dec: Decimal
hex: Hexadecimal
Coil status
ON to OFF
00 hex
00 hex
(Coil address) = (Coil number) − 1
OFF to ON: FF00 hex
8
8 - 13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents