ENDA EUP1122 PID UNIVERSAL CONTROLLER
MODBUS PROTOCOL ADDRESS MAP
1.9
Memory Map for Input Registers
Word
Word
0000d (0000h)
0100d (0064h)
I0
PI0
Read Only
Read Only
Read Only
Read Only
Word
Word
0001d (0001h)
0101d (0065h)
I1
PI1
Read Only
Word
Word
0002d (0002h)
0102d (0066h)
I2
PI2
Read Only
I3
Word
0003d (0003h)
Read Only
Word
0004d (0004h)
I4
Read Only
Word
Word
0005d (0005h)
0006d (0006h)
I5
I6
Read Only
Read Only
Data
Type
Parameter
Number
Input Register
Adresses
Decimal (Hex)
Read / Write
Permission
Data Content
Data
Type
Parameter
Number
Discrete Input
Adresses
Decimal (Hex)
Read / Write
Permission
Data Content
Measured temperature
Analog output percentage
Measurement error codes
0 = No error, 1 = Sensor
short circuit, 2 = Lower scale error,
3 = Upper scale error, 4 =
and/or sensor line
No communication.
Self tune condition codes
0 = No error, 1 = Initial temperature is higher than 60% setpoint value,
2 = Calculating PID parameters, 3 = Calculating power setpoint parameters
Current (active) temperature setpoint.
Current (active) decimal point value.
Modbus address. Can be set between 1 and 247 with DIP swirch.
The number of the active step.
Remaining time indicator of the active step.
Target temperature value of the active step.
1.10
Memory Map for Step Control Input Registers
2. MODBUS ERROR MESSAGES
Modbus protocol has two types error, communication error and operating error. Reason of the communication error is data corruption in
transmission. Parity and CRC control should be done to prevent communication error. Receiver side checks parity and CRC of the data. If they are
wrong, the message will be ignored. If format of the data is true but function doesn’t perform for any reason, operating error occurs. EUP1122
realizes error and sends error message. Most significant bit of function is changed '1' to indicate error in error message by EUP1122. Error code is
sent in data section. EUP1122 realizes error type via this message.
Error Code
Meaning
Name
ILLEGAL FUNCTION
ILLEGAL DATA ADDRESS
ILLEGAL DATA VALUE
01
02
03
The function code received in the query is not an allowable action for the
EUP1122
. If
a Poll Program Complete command was issued, this code indicates that no program
function preceded it.
The data address received in the query is not an allowable address for
EUP1122
.
A value contained in the query data field is not an allowable value for the
EUP1122
.
Device Address
Function Code
Beginning address
of coils.
Number of coils (N)
CRC DATA
MSB
LSB
MSB
LSB
LSB
MSB
Structure of command message (Byte Format)
(0A)h
(01)h
(04)h
(A1)h
(00)h
(01)h
(AC)h
(63)h
Device Address
Function Code
CRC DATA
LSB
MSB
Structure of response message (Byte Format)
(0A)h
(81)h
(02)h
(B0)h
(53)h
Error Code
Message sample ;
As you see in command message, coil information of (4A1)h = 1185 is required but there isn’t
any coil with 1185 address. Therefore error code with number (02) (
Illegal Data Address
) sends.
ModBus Error Codes
* MODBUS CONNECTION DIAGRAM
1
2
0
O
h
m
120 Ohm
EUP1122
EUP1122 - 1
Up to 127 devices
can be controlled.
EUP1122
- 2
EUP1122
- 127
A
B
Termination should be accomplished
by attaching 120 Ohm resistors to the
s t a r t a n d a t t h e e n d o f t h e
communication line.
* Applies to devices with Modbus function.
EUP1122-EN-01-220120
SİSEL MÜHENDİSLİK ELEKTRONİK SAN. VE TİC. A.Ş.
Şerifali Mah.
Y.Dudullu 34775
ÜMRANİYE/İSTANBUL-TURKEY
Tel : +90 216 499 46 64 Pbx. Fax : +90 216 365 74 01
url : www.enda.com.tr
Barbaros Cad. No:18
ENDA
TM
8
/
8
+ -
A
B
+ -
A
B
+ -
A
B
+ -
Word
000
7
d (000
7
h)
I7
Read Only
Modbus address for EUP1122 (with active DIP switch address query).