BlueLine Modbus Communication

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 12

BlueLine Modbus Communication

70SI01 / 70ME01

Adrian Staudenmaier
Baden, 2010-10-15
Agenda

Modbus protocol

BlueLine address <-> Modbus address

Communication

Presentation Title - Presenters Initials - dd mmm yyyy - P 2


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
Modbus protocol

• Modbus is a serial communications protocol published by


Modicon in 1979 for use with its programmable logic
controllers (PLCs). It has become a de facto standard
communications protocol in industry, and is now the most
commonly available means of connecting industrial
electronic devices.The main reasons for the extensive
use of Modbus over other communications protocols are:
- It is openly published and royalty-free
- Relatively easy industrial network to deploy
- It moves raw bits or words without placing many restrictions
on vendors

Presentation Title - Presenters Initials - dd mmm yyyy - P 3


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
Modbus protocol RTU

• The Modbus RTU protocol is used on the 70SI01 module


Modbus RTU Frame Format

Name Length Function

Start 3.5c idle at least 3-1/2 character times of silence (MARK condition)

Address 8 bits Station Address

Function 8 bits Indicates the function codes like read coils / inputs

Data n * 8 bits Data + length will be filled depending on the message type

CRC Check 16 bits Error checks

End 3.5c idle at least 3-1/2 character times of silence between frames

Presentation Title - Presenters Initials - dd mmm yyyy - P 4


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
Modbus protocol TCP

• The Modbus TCP protocol is used on the 70ME01


module
Modbus TCP Frame Format
Name Length Function
Transaction Identifier 2 bytes For synchronization between messages of server
& client

Protocol Identifier 2 bytes Zero for MODBUS/TCP


Length Field 2 bytes Number of remaining bytes in this frame
Unit Identifier 1 byte Slave Address (255 if not used)
Function code 1 byte Function codes as in other variants
Data bytes n bytes Data as response or commands

Presentation Title - Presenters Initials - dd mmm yyyy - P 5


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
BlueLine address <-> Modbus address
Analogue Input

• Analogue value coming from BlueLine

• Modbus start address 30001

• BlueLine address 00 -> 30001


• BlueLine address 01 -> 30002
• …
• BlueLine address FF -> 30256

• Calculation
- HEX2DEC(BlueLine address) + 1 +30000

Presentation Title - Presenters Initials - dd mmm yyyy - P 6


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
BlueLine address <-> Modbus address
Analogue Output

• Analogue value going to BlueLine (command)

• Modbus start address 40001

• BlueLine address 00 -> 40001


• BlueLine address 01 -> 40002
• …
• BlueLine address FF -> 40256

• Calculation
- HEX2DEC(BlueLine address) + 1 +40000

Presentation Title - Presenters Initials - dd mmm yyyy - P 7


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
BlueLine address <-> Modbus address
Binary Input

• Binary value coming from BlueLine

• Modbus start address 10001

• BlueLine address 00.0 -> 10001


• BlueLine address 00.1 -> 10002
• …
• BlueLine address FF.F -> 14096

• Calculation
- (HEX2DEC(BlueLine address))*16 + 1 +
HEX2DEC(BlueLine address bit) + 10000

Presentation Title - Presenters Initials - dd mmm yyyy - P 8


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
BlueLine address <-> Modbus address
Binary Output

• Binary value going to BlueLine (command)

• Modbus start address 00001

• BlueLine address 00.0 -> 00001


• BlueLine address 00.1 -> 00002
• …
• BlueLine address FF.F -> 04096

• Calculation
- HEX2DEC(BlueLine address) + 1

Presentation Title - Presenters Initials - dd mmm yyyy - P 9


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
Communication (standard blocks)

BL address Type Modbus address Quality Value


00 BI 10001 - 10016 Good bad
01 BI 10017 - 10032 Good bad
02 BI 10033 - 10048 •Group 1 bad bad
03 BI 10049 – 10064 Good bad
04 BO 65 - 80 Good Good
05 BO 81 – 96 •Group 2 Good Good
06 AI 30007 Good Good
07 AI 30008 •Group 3 Good Good
08 AO 40009 Good Good
•Group 4
09 AO 40010 Good Good
0A AI 30011 bad bad
•Group 5
0B AI 30012 Good bad

Presentation Title - Presenters Initials - dd mmm yyyy - P 10


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
Communication (optimized blocks)

BL address Type Modbus address Quality Value


00 BI 10001 - 10016 Good Good
01 BI 10017 - 10032 •Group 1 Good Good
02 BI 10033 - 10048 bad bad
•Group 2
03 BI 10049 – 10064 Good bad
04 BO 65 - 80 Good Good
05 BO 81 – 96 •Group 3 Good Good
06 AI 30007 Good Good
07 AI 30008 •Group 4 Good Good
08 AO 40009 Good Good
•Group 5
09 AO 40010 Good Good
0A AI 30011 •Group 6 bad bad
0B AI 30012 •Group 7 Good Good

Presentation Title - Presenters Initials - dd mmm yyyy - P 11


© ALSTOM 2010. All rights reserved. Information contained in this document is provided without liability for information purposes only and is subject to change without notice. No representation or warranty is given
or to be implied as to the completeness of information or fitness for any particular purpose. Reproduction, use or disclosure to third parties, without express written authority, is strictly prohibited.
www.power.alstom.com

You might also like