M2XUM
5-2-55, Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN
Phone: +81(6)6659-8201 Fax: +81(6)6659-8510 E-mail: [email protected]
EM-5009 Rev.8 P. 5 / 6
MODBUS FUNCTION CODES & SUPPORTED CODES
■
COMMUNICATION PARAMETERS
PARAMETERS
SPECIFICATIONS
DEFAULT
MODIFICATION
Data Mode
RTU
RTU
Not modifiable
Baud Rate
9600 / 19200 / 38400 bps
38400 bps
JXCON Software
Parity
None / Odd / Even
Odd
JXCON Software
Bit Length
8
8
Not modifiable
Stop Bit
1
1
Not modifiable
Node Addresses
1 to 247
1
Hardware Rotary SW for 1 through 15,
JXCON Software for 16 through 247 (Rotary SW set to
0).
Floating Point Data
Normal / Swapped
Normal
JXCON Software
Physical Layer
RS-485
RS-485
Not modifiable
■
FUNCTION CODES
CODE
NAME
*
1
NOTES
01 (0x01)
Read Coil Status
Reading DO
02 (0x02)
Read Input Status
Reading DI
03 (0x03)
Read Holding Register
04 (0x04)
Read Input Register
05 (0x05)
Force Single Coil
Writing single DO
06 (0x06)
Preset Single Register
15 (0x0F)
Force Multiple Coils
Writing multiple DO
16 (0x10)
Force Multiple Registers
*1. Based upon Modbus Protocol Reference Guide PI-MBUS-300
■
DATA ADDRESS
ADDRESS
DATA FORMAT
NAME
Coil (0X)
1 – 16
DO (internal switch)
17
Operation Mode SW (0 : Programming Mode, 1 : Run Mode)
18
Cold junction compensation SW (0 : Disable, 1 : Enable)*
2
19
Linearization SW (0 : Disable, 1 : Enable)*
3
23
Remote output mode SW (0 : Local, 1 : Remote)
Input Status (1X)
1 – 16
DI (internal switch)
17
Input data error (0 : Normal, 1 : Error)
Input Register (3X)
1 – 2
F
AI in %
3 – 4
F
AI in engineering unit
5 – 6
F
Cold junction temperature (°C, °F or K)*
2
7
I
AI in % *
4
8
I
Bit
Status Description
0 – 3
4
5
6
6
8 – 15
Reserved for system’s use
1 : ADC Channel 1 Overrange
1 : ADC Channel 2 Overrange
1 : Burnout Detected
1 : ADC Hardware Error Detected
Reserved for system’s use
129 – 144
B16
Model No. “M2XUM”
Holding Register (4X)
1 – 2
F
AO in % *
5
3
I
AO in % *
4,
*
5
4
I
Input type No. *
6
5
I
Temperature unit (3 : °C, 4 : °F, 5 : K) *
7
6
I
Burnout type (0 : No Burnout, 1 : Downscale, 2: Upscale)
7
I
(Reserved)
8
I
#1 output type No. (0 : 0 – 20mA, 1 : ±2.5V, 2 : ±10V) *
6
9 – 10
I
(Reserved, integer)
17 – 18
F
Input 100% scaled value
19 – 20
F
Input 0% scaled value
21 – 22
F
Output 100% scaled value (V or A)
23 – 24
F
Output 0% scaled value (V or A)
25 – 28
F
(Reserved, 32-bit floating)
29 – 33
B10
Tag No.
I = 16-bit integer, F = 32-bit floating, Bn = n-byte character
*2. Thermocouple input *3. DC and Potentiometer input *4. 0 – 100% converted into 0 – 20000
*5. Remote Output Mode SW automatically turned ON when reading
*6. Be sure to scale 0% and 100% after the input type has been changed. *7. Thermocouple and RTD input