Modbus - Function Codes - YASKAWA VIPA System SLIO Manual

Hide thumbs Also See for VIPA System SLIO:
Table of Contents

Advertisement

VIPA System SLIO

6.8 Modbus - Function codes

Naming convention
Range definitions
Overview
Code
Command
01h
Read n bits
02h
Read n bits
HB300 | CPU | 013-CCF0R00 | en | 19-30
Modbus has some naming conventions:
n
Modbus differentiates between bit and word access; bits = "Coils" and words = "Reg-
ister".
n
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-Reg-
n
ister".
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 assign-
ment 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.
The description always takes place from the point of view of the master:
Description
Read n bits of master output area 0x
Read n bits of master input area 1x
Deployment PtP communication
Modbus - Function codes
179

Advertisement

Table of Contents
loading

Table of Contents