Normally the access at 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 CPs from VIPA is not differentiating digital and analog data,
the following assignment is valid:
0x - Bit area for master output data
Access via function code 01h, 05h, 0Fh
1x - Bit area for master input data
Access via function code 02h
3x - word area for master input data
Access via function code 04h
4x - word area for master output data
Access via function code 03h, 06h, 10h
A description of the function codes follows below.
With the following Modbus function codes a Modbus master can
access a Modbus slave: With the following Modbus function codes a
Modbus master can access a Modbus slave. The description always
takes place from the point of view of the master:
Code Command Description
01h Read n bits Read n bits of master output area 0x
02h Read n bits Read n bits of master input area 1x
03h Read n words Read n words of master output area 4x
04h Read n words Read n words master input area 3x
05h Write 1 bit Write 1 bit to master output area 0x
06h Write 1 word Write 1 word to master output area 4x
0Fh Write n bits Write n bits to master output area 0x
10h Write n words Write n words to master output area 4x
Point of View of "Input" and "Output" data
Range definitions
Overview
VIPA System 300S Deployment PtP communication
Modbus - Function codes
HB140 | CPU-SC | 312-5BE13 | GB | 15-50 159