background image

Introduction to the BACnet Communication 

CFW-11 | 11 

HEADER 

DATA 

0x55 

0xFF 

Frame 

type 

Destination 

address 

Source 

address 

Length 

Length 

CRC 

Data 

CRC 

CRC 

Figure 3.4:

 BACnet Frame 

 

Preamble: It is formed by two bytes with the 55h and FFh values respectively. 

 

Frame type: The BACnet  specification defines eight frame types, from 0 to 7. Frame Types 8 through 127 are 

reserved for the specification improvement, and from 128 through 255 are reserved for each vendor specific 

frames. The defined types are: 

 

 

0 Token 

 

1 Poll for master 

 

2 Reply to poll for master 

 

3 Test request 

 

4 Test response 

 

5 BACnet data expecting reply 

 

6 BACnet data not expecting reply 

 

7 Reply postponed 

 

Only master nodes must acknowledge frame types 0, 1 and 2, the slave nodes must ignore them. 

 

Token (0) frame type: it is used in the relationship between master nodes. It does not present data. The master 

node that has the token can initiate the communication. After sending the maximum number of data frames 

(Nmax_info_frames) and waiting any expected replies, it must pass the token to the next master. 

 

Poll for Master (1) frame type: It is transmitted periodically during the configuration. It is used to discover the 

presence of other masters in the network and to determine the token sequence. Master nodes must respond 

and slave nodes must ignore it. It does not present data. 

 

Reply to Poll for Master (2) frame type: It is the response of the master nodes to the Poll for Master (frame type 

1). It does not present data. 

 

Test Request (3) frame type: It is used to start the communication in the MS/TP network. It is applied to send a 

particular piece of information to a node. 

 

Test Response (4) frame type: It is the response to a Test Request. 

 

BACnet Data Expecting Reply (5) frame type: It is used by master nodes to convey the data parameter of a 

DL_UNITDATA.request that presents destination address, data, priority and message code, waiting for a 

response from the destination node. 

 

BACnet Data not Expecting Reply (6) frame type: It is used by master nodes to convey the data parameter of a 

DL_UNITDATA.request that presents destination address, data, priority and message code. It does not wait for 

a response from the destination node. 

 

Reply Postponed (7) frame type: It is used by master nodes to indicate that the response to a Data Expecting 

Reply frame will be sent later. It does not present data. 

 

Destination and source addresses: It is formed by two bytes, destination and source, respectively. 

 

Length: It is formed by two bytes that inform the number of data bytes in the message. 

 

Header CRC: The last part of the header is the fields for checking header transmission errors. The used 

method is the CRC-8 (Cycling Redundancy Check). 

 

Data:  It may present from 0 to 501 bytes, according to the BACnet specification. Data in the CFW-11 can 

present up to 59 bytes. 

 

Data CRC:  The last part of the telegram is the field for checking data transmission errors. The used method is 

the CRC-16 (Cycling Redundancy Check). 

Summary of Contents for CFW-11

Page 1: ...Motors I Automation I Energy I Transmission Distribution I Coatings BACnet CFW 11 User s Manual...

Page 2: ...BACnet User s Manual Series CFW 11 Language English Document Number 10000831662 02 Publication Date 11 2012...

Page 3: ...lize Device B DM RD B 12 4 INVERTER PROGRAMMING 13 4 1 SYMBOLS FOR THE PROPERTIES DESCRIPTION 13 P0105 1ST 2ND RAMP SELECTION 13 P0220 LOCAL REMOTE SELECTION SOURCE 13 P0221 SPEED REFERENCE SELECTION...

Page 4: ...MAXIMUM NUMBER OF MS TP FRAMES 22 P0764 I AM TRANSMISSION 23 P0765 NUMBER OF RECEIVED TOKENS 23 5 BACNET OBJECT MODELING 24 5 1 ANALOG INPUT ANI OBJECT 25 5 2 ANALOG OUTPUT ANO OBJECT 25 5 3 ANALOG VA...

Page 5: ...e used together with the CFW 11 user manual ABBREVIATIONS AND DEFINITIONS ASCII American Standard Code for Information Interchange PLC Programmable Logic Controller HMI Human Machine Interface ro Read...

Page 6: ...that specify the RS232 and RS485 interfaces however do specify neither the format nor the character sequence for data transmission and reception In this sense besides the interface it is also necessar...

Page 7: ...al signal which grants more robustness against electromagnetic interference It allows the connection of up to 32 devices to the same segment More devices can be connected by using repeaters 1 A maximu...

Page 8: ...ble with a twisted pair of wires It is also recommended that the cable has one more wire for the connection of the reference signal GND In case the cable does not have the additional wire then the GND...

Page 9: ...ction defined as objects and properties A BACnet object represents physical or virtual information of the equipment as a digital or analog input control variables and parameters The BACnet standard de...

Page 10: ...SE TOKEN state executes the necessary communication with slaves or other masters and passes the token to the next node Reception of a Poll of Master it sends a telegram to the node with the address in...

Page 11: ...t is the response of the master nodes to the Poll for Master frame type 1 It does not present data Test Request 3 frame type It is used to start the communication in the MS TP network It is applied to...

Page 12: ...t have the W write or C commandable access type 3 3 3 WHO IS I AM DM DDB B The WHO IS I AM service is used to identify the devices connected to the network The WHO IS message is sent by the BACnet con...

Page 13: ...RWARD REVERSE SELECTION REMOTE SITUATION P0227 RUN STOP SELECTION REMOTE SITUATION P0228 JOG SELECTION REMOTE SITUATION These parameters are used in the configuration of the command source for the CFW...

Page 14: ...ts no parity 2 stop bits 4 8 data bits even parity 2 stop bits 5 8 data bits odd parity 2 stop bits Properties CFG Access groups 01 PARAMETER GROUPS via HMI 49 Communication 113 Serial RS232 485 Descr...

Page 15: ...ead of an alarm the communication error causes an inverter fault so that an inverter fault reset becomes necessary in order to restore normal operation The following events are considered communicatio...

Page 16: ...the RS232 or RS485 board installed 1 Active Installed and acknowledged RS232 or RS485 interface board 2 Watchdog error The serial interface is active but a serial communication error has been detected...

Page 17: ...arm condition 1 The drive is in alarm condition Note The alarm number can be read by means of the parameter P0048 Present Alarm This bit is mapped in the BV7 object Bit 8 Motor Running 0 The motor is...

Page 18: ...ed in rpm 450 rpm Negative values in this parameter indicate that the motor is running in the reverse direction This parameter is mapped in the ANV28 object P0682 SERIAL CONTROL WORD Range 0000h a FFF...

Page 19: ...imes This bit is mapped in the object BV21 Bit 6 Quick stop 0 It does not execute the quick stop command 1 It executes the quick stop command Note This function is not allowed with control types P0202...

Page 20: ...e parameters is used as the analog output value providing that the function for the desired analog output be programmed for P0696 P0697 P0698 P0699 value at the parameters P0251 P0254 P0257 or P0260 T...

Page 21: ...defines the low part of the BACnet equipment instance The BACnet standard defines that the equipment instance must be unique in the network and it must present a value between 0 and 4194304 The BACnet...

Page 22: ...eters P0760 and P0761 allow adjusting a maximum value of 4199999 However the maximum instance value will be 4194304 NOTE The equipment must be initialized when the contents of parameters P0760 and P07...

Page 23: ...HMI 49 Communication 113 Serial RS232 485 Description The I AM telegram is used to identify the node in the BACnet network When the option 1 periodically is selected then an I AM telegram is sent eve...

Page 24: ...X X X X X X X System Status X Vendor Name X Vendor Identifier X Model Name X Firmware Revision X Application Software Version X Description X Protocol Version X Protocol Revision X Protocol service su...

Page 25: ...parameter P0696 C ANO1 AO2 Value Accesses the contents of the parameter P0697 C ANO2 AO3 Value Accesses the contents of the parameter P0698 C ANO3 AO4 Value Accesses the contents of the parameter P069...

Page 26: ...ng command Procedure for reading a parameter via MBOX 1 Inform the parameter number in the ANV30 object Present Value property 2 Write 1 in the BV33 object Present Value property 3 Check the value rea...

Page 27: ...Reserved BIN24 Reserved BIN25 Reserved BIN26 Reserved BIN28 Reserved BIN29 Reserved BIN30 Reserved BIN31 Reserved BIN32 Reserved 5 5 BINARY OUTPUT BOUT OBJECT It represents a physical digital output...

Page 28: ...in the ANV30 object ON OFF W BV34 MBOX write Command to write the contents specified in the ANV31 object in the parameter specified in the ANV30 object ON OFF W The section 5 3 1 describes the MBOX o...

Page 29: ...it will be considered that there was any problem in the serial communication The time counting initiates after the reception of the first valid telegram This function can be used by any serial protoc...

Reviews: