Manual VIPA System 200V
Chapter 8 Ethernet coupler
HB97E - IM - Rev. 06/29
8-21
Modbus function codes
Modbus has some naming conventions:
Word =
Register
IN: "Input Register"
OUT: "Holding Register"
Bit =
Coil
IN: "Input Status"
OUT: "Coil Status"
•
Modbus differentiates between bit and word access;
Bits = "Coils" and Words = "Register".
•
Bit inputs are referred to as "Input-Status" and Bit outputs as "Coil-
Status".
•
Word inputs are referred to as "Input-Register" and Word outputs as
"Holding-Register".
Normally the access under Modbus happens by means of the ranges 0x,
1x, 3x and 4x.
0x and 1x gives you access to
digital
Bit areas and 3x and 4x to
analog
word areas.
For the Ethernet coupler from VIPA is not differentiating digital and analog
data, the following assignment is valid:
0x: Bit area for master output
Access via function code 01h, 05h, 0Fh
1x: Bit area for master input
Access via function code 02h
3x: Word area for master input
Access via function code 04h, 17h
4x: Word area for master output
Access via function code 03h, 06h, 10h, 17h
3x
0001
3x
0002
3x
0003
1x
0001
1x
0002
1x
0003
IN
1x
0022
4x
0001
4x
0002
4x
0003
0x
0001
0x
0002
0x
0003
OUT
0x
0022
A description of the function codes follows below.
Naming
convention
Range definitions
Summary of Contents for System 200V IM Series
Page 1: ...Manual VIPA System 200V IM Order No VIPA HB97E_IM Rev 06 29...
Page 2: ...Lerrzeichen...
Page 6: ...About this manual Manual VIPA System 200V Subject to change to cater for technical progress...
Page 10: ...Contents Manual VIPA System 200V iv HB97E IM Rev 06 29...
Page 18: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E IM Rev 06 29...
Page 136: ...Chapter 3 Profibus DP Manual VIPA System 200V 3 104 HB97E IM Rev 06 29...
Page 338: ...Chapter 8 Ethernet coupler Manual VIPA System 200V 8 34 HB97E IM Rev 06 29...
Page 344: ...Chapter 9 Bus expansion modules IM 260 IM 261 Manual VIPA System 200V 9 6 HB97E IM Rev 06 29...