785598
6
Zoom out
Zoom in
Previous page
1/8
Next page
14 September 2014 / MasterBus – Modbus Interface / NL
6.5 De waarden invoeren in Modbus
Nadat u de benodigde waarden heeft opgeschreven,
kunnen deze worden ingevoerd in het Modbus
systeem. Het volgende voorbeeld toont hoe u dit
doet en hoe u met de gekozen variabele “Override”
van MasterBusapparaat INT DC Relay
communiceert.
6.5.1 Modbus functiecode 23
De Modbus - MasterBus interface gebruikt het
Modbusfunctie 23 communicatieprotocol. Ze de
Modbus Application Protocol Specification V1.1b
Op www.modubs.org voor meer details.
De dataframetabellen hieronder beschrijven de
variabelen die worden gebruikt in de Modbusfunctie
23 (0x17) Read/Write Multiple Registers Protocol.
Aanvraag dataframe
Adresveld Functiecode (Function 23) Data (Lees startadres, enz. ) CRC (foutcheck)
1 Byte 1 Byte 21 Bytes 2 Bytes
Aanvraag
Variabele Grootte Waarde
Bus address 1 Byte Variabel
Function code 1 Byte 0x17 (Vast)
Read Starting Address 2 Bytes 0 (Vast)
Quantity to Read 2 Bytes 6 (Vast)
Write Starting Address 2 Bytes 0 = lezen / 1 = schrijven
Quantity to Write 2 Bytes 6 (Vast)
Write Byte Count 1 Byte 12 (Vast)
IDAL 5 bit value 1 Byte Variabel
IDB 3 Bytes Variabel
TabNr 2 Bytes Variabel
Index 2 Bytes Variabel
Value 4 Bytes Variabel
CRC 2 Bytes Berekend
Antwoord dataframe
Address field Function code (Function 23) Data (Read Starting Address, etc. ) CRC (foutcheck)
1 Byte 1 Byte 13 Bytes 2 Bytes
Antwoord
Variabele Grootte Waarde
Bus address 1 Byte Variabel
Function code 1 Byte 0x17 (Vast)
Byte Count 1 Byte 0x0C (Vast)
IDAL 5 bit value 1 Byte Variabel
IDB 3 Bytes Variabel
TabNr 2 Bytes Variabel
Index 2 Bytes Variabel
Value 4 Bytes Variabel
CRC 2 Bytes Berekend
6


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Mastervolt MasterBus Modbus Interface at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Mastervolt MasterBus Modbus Interface in the language / languages: English, German, Dutch, French, Italian, Spanish as an attachment in your email.

The manual is 0.26 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info