ABB Zenith 50P-2035 Скачать руководство пользователя страница 21

ABB Zenith

19

MX150/MX250 Series Modbus Network Card (71R-2200)

Appendix G

For a detailed specification of the Modbus protocol, 
reference the Modicon website address 

www.modbus.org

.

The Modbus protocol provides the internal standard for
parsing messages. During communications on a Modbus
network, the protocol determines how each slave will
know its device address, recognize a message addressed
to it, determine the kind of action to be taken, and
extract any data or other information contained in the
message. If a reply is required, the slave will construct the
reply message and send it using Modbus protocol.

The following is a brief description of the Modbus com-
mands supported by the Modbus Network Card. Each
command consists of the following: 

a sample query message that is sent out by the
master device to the designated slave

the slave’s reply message to the master device

The query and reply messages show how the information
is packeted and sent out using the Modbus Protocol.

Each query message consists of the following:

Slave Address

– address of the slave you wish to

establish communications with.

Function Code

– code that lets the slave know what

command is being requested, e.g. read coil,
write single coil.

Starting Address High/Low Order

– high and low

byte of the address the master reads from or
writes to. Coils and Registers are addressed start-
ing at 0. For instance Coil 1 is address 0 and
Register 40001 is address 0. 

Error Check Field

– contains either a 

CRC

(

RTU

mode) or 

LRC

(

ASCII

mode) error check value.

The query message for specific functions requires some
of the following information:

Number of Data Points High/Low Order

– high

and low byte of the number of addresses the
master wants to read.

Data High/Low Order

– high and low byte of the

data that will be written to the slave device.

Number of Coils High/Low Order

– high and low

byte for the number of coils to force 

ON

or 

OFF

.

Number of Regs High/Low Order

– high and low

byte for the number of registers to preset.

Byte Count

– is the number of data bytes which

are sent to the slave.

Slave

Address

05h

Figure G1 – Read Coil Status Query Message

Function

Code

Starting

Address

High

Order

Starting

Address

Low

Order

No. of Data

Points

High

Order

No. of Data

Points

Low

Order

Error

Check Field

(LRC or

CRC)

01h

00h

08h

00h

10h

Response

An example response to the Read Coil Status is shown
in 

Figure G2

. The response includes the slave address,

function code, number of data bytes sent, the data,
and error checking.

The data consists of one bit per coil (1=

ON

, 0=

OFF

).

The status of coils 9-16 is C1 (hex) or 1100 0001 (binary).
Reading left to right, coils 16, 15, and 9 are 

ON

and the

remainder is 

OFF

. The other data byte is decoded similarly.

Slave

Address

05h

Figure G2 – Read Coil Status Response Message

Function

Code

Byte

Count

Data Coil

Status

9-16

Data Coil

Status

17-24

Error Check Field

(LRC or CRC)

01h

02h

C1h

A2h

Modbus Protocol Illustration

Read Coil Status (Function Code 01)

Query

This function allows the master device to obtain the

ON

/

OFF

bit status of various coils from the 

addressed slave.

Figure G1

is a sample read coil status request to read

coils 9-24 (

MX

150/250 status bits) from slave device 5.

These query and reply messages are for both 

RTU

and

ASCII

modes depending on whether the Error Check

Field contains a 

CRC

or 

LRC

respectively. Each value 

in the query message is a hexadecimal value.

Read Holding Register (Function Code 03)

Read holding registers allows the master device to obtain
the binary contents of holding registers 4xxxx in the
addressed slave.

Query

Figure G3

is an example that reads registers

40006-40007 from slave 8.

Slave

Address

08h

Figure G3 – Read Holding Register Query Message

Function

Code

Starting

Address

High

Order

Starting

Address

Low

Order

No. of Data

Points

High

Order

No. of Data

Points

Low

Order

Error

Check Field

(LRC or

CRC)

03h

00h

05h

00h

02h

Содержание Zenith 50P-2035

Страница 1: ... OPERATION AND MAINTENANCE MANUAL Zenith Modbus Network Card 50P 2035 For MX150 MX250 MX Version 6 0 Only ...

Страница 2: ...aimer Table of Contents Page Overview 01 LED Indicator 01 Installation 02 Installation on the Controller 02 Termination Resistor 02 Configuring a Modbus Network Card 02 Testing a Modbus Network 03 CDP Programmable Exercisers 03 CDT Exercisers 3 Operation 04 Setting System Time 04 Operation with In Phase Monitor 04 Operation Under Battery Backup 04 Appendix A Read Only Register List 05 12 Appendix ...

Страница 3: ...device such as a programmable logic controller PLC to obtain information from the controller and have that information available for control data acquisi tion and monitoring Every Modbus network consists of one master device and at least one slave device All devices on the network are daisy chained using a twisted pair cable see Appendix E Each slave device is assigned a unique address from 1 247 ...

Страница 4: ...uring the slave address RTU or ASCII mode baud rate parity and stop bits the default settings are Slave Address 1 RTU mode 9600 Baud No Parity and 2 Stop Bits These slave settings will be setup by the user and must match the master device settings for proper communications The user configures these settings using the Modbus Configuration applica tion ABB Zenith Part 50P 1111 This application can a...

Страница 5: ...rcisers can be configured to run under load trans fer the ATS to the generator A zero indicates that exercisers can only run No Load A one indicates that exercisers can be programmed to run Load or No Load Holding Registers 40101 through 40110 are provided to control and report the status of the CDP Exercisers These registers contain valid data only if the controller is configured for CDP Exercise...

Страница 6: ...iting for phase synchro nization for more than one minute the controller will request confirmation of the In Phase Monitor bypass This request is indicated by a one in Bit 1 of the System Busy Status Register Coil 106 3 To confirm the request to bypass set Bit 1 of the System Busy Control Register Coil 114 to one The controller will bypass the In Phase Monitor Note The In Phase Monitor bypass feat...

Страница 7: ...lid only if 3ph and S2 Avail 1 CW 0 CCW 5 14 S1 Phase Rotation Valid only if 3ph and S1 Avail 1 CW 0 CCW e n O 0 e e r h T 1 2 S n o s e s a h P f o r e b m u N 5 1 6 e n O 0 e e r h T 1 1 S n o s e s a h P f o r e b m u N 6 1 7 40003 MX Status 2 0 17 Unused f f O 0 n O 1 e v i t c A 5 S 8 1 1 f f O 0 n O 1 e v i t c A 2 1 S 9 1 2 f f O 0 n O 1 e v i t c A S L d e h S d a o L 0 2 3 f f O 0 n O 1 e...

Страница 8: ...ation 0 0 41 Unused 1 42 Unused 2 43 Unused 3 44 Unused 4 45 Unused 5 46 Closed Transition Configured 1 Configured 6 47 In Phase Monitor Configured 1 Configured d r a d n a t S 0 y a l e D 1 e p y T S T A 8 4 7 40023 MX Network Configuration 1 d e r u g i f n o C 1 n o i t p O l a u n a M o t u A 2 1 S 9 4 0 1 50 S5 Auto Manual Bypass Option 1 Configured 2 51 Phase Sequence Check Option 1 Configur...

Страница 9: ...0051 Days Powered Up s r u o H R S M e l b a l i a v A 1 S e m i T 2 5 0 0 4 s r u o H R S L e l b a l i a v A 1 S e m i T 3 5 0 0 4 s r u o H R S M e l b a l i a v A 2 S e m i T 4 5 0 0 4 s r u o H R S L e l b a l i a v A 2 S e m i T 5 5 0 0 4 40056 Unused 40057 Unused 40058 Unused 40059 Unused 40060 Unused 40061 Unused 40062 Unused 40063 Exerciser Schedule Status r e m i T 0 k c o l C 1 e p y T ...

Страница 10: ...Value 100 40074 Unused 40075 Unused 40076 Unused 40077 Most Recent Event Pointer 40082 Unused 40083 Unused 40099 System Time Day of Week s e t o N e g n a R n o i t p i r c s e D l i o C t i B g e R g n i d l o H 40102 Exerciser Record Hour 0 23 40103 Exerciser Record Minute 0 59 40104 Exerciser Record Month 1 12 Not writeable for Daily s r e s i c r e x E y l k e e W r o 40105 Exerciser Record Da...

Страница 11: ... t n e v E 5 2 1 0 4 h t n o M f o y a D 0 t n e v E 6 2 1 0 4 r a e Y 0 t n e v E 7 2 1 0 4 2 e l b a T e e S 1 t n e v E r o f n o s a e R 8 2 1 0 4 d n o c e S 1 t n e v E 9 2 1 0 4 r u o H 1 t n e v E 0 3 1 0 4 e t u n i M 1 t n e v E 1 3 1 0 4 h t n o M 1 t n e v E 2 3 1 0 4 h t n o M f o y a D 1 t n e v E 3 3 1 0 4 r a e Y 1 t n e v E 4 3 1 0 4 2 e l b a T e e S 2 t n e v E r o f n o s a e R...

Страница 12: ...t n e v E 8 6 1 0 4 r a e Y 6 t n e v E 9 6 1 0 4 2 e l b a T e e S 7 t n e v E r o f n o s a e R 0 7 1 0 4 d n o c e S 7 t n e v E 1 7 1 0 4 r u o H 7 t n e v E 2 7 1 0 4 e t u n i M 7 t n e v E 3 7 1 0 4 h t n o M 7 t n e v E 4 7 1 0 4 h t n o M f o y a D 7 t n e v E 5 7 1 0 4 r a e Y 7 t n e v E 6 7 1 0 4 2 e l b a T e e S 8 t n e v E r o f n o s a e R 7 7 1 0 4 d n o c e S 8 t n e v E 8 7 1 0 ...

Страница 13: ...n e v E 0 1 2 0 4 r a e Y 2 1 t n e v E 1 1 2 0 4 2 e l b a T e e S 3 1 t n e v E r o f n o s a e R 2 1 2 0 4 d n o c e S 3 1 t n e v E 3 1 2 0 4 r u o H 3 1 t n e v E 4 1 2 0 4 e t u n i M 3 1 t n e v E 5 1 2 0 4 h t n o M 3 1 t n e v E 6 1 2 0 4 h t n o M f o y a D 3 1 t n e v E 7 1 2 0 4 r a e Y 3 1 t n e v E 8 1 2 0 4 2 e l b a T e e S 4 1 t n e v E r o f n o s a e R 9 1 2 0 4 d n o c e S 4 1 ...

Страница 14: ... 110b W W3 YE bypassed 101b T T3 Unbypassed 011b Y T3 YN bypassed 010b b 0 0 0 U Reason Code Description 0 S1 Fail 1 S2 Fail 2 S1 Phase Imbalance 3 S2 Phase Imbalance 4 S2 Start 5 S2 Stop 6 Sync Fail 7 Load Shed 8 ATS Inhibit 9 Phase Rotation 10 Remove Test 11 Local Test 12 S1 S2 Volt Imbalance 13 S1 S2 Freq Imbalance 14 CT Xfr S1 S2 15 CT Xfr S2 S1 16 Xfr S1 S2 17 Xfr S2 S1 18 19 20 No Xfr 21 OLC...

Страница 15: ...tart Test 7 72 Fast Load Test Control 1 Start Test 40048 Net Control 1 0 73 Unused f f O 0 n O 1 l o r t n o C 5 S 4 7 1 f f O 0 n O 1 l o r t n o C 2 1 S 5 7 2 f f O 0 n O 1 l o r t n o C S L 6 7 3 f f O 0 n O 1 l o r t n o C 7 Q 7 7 4 f f O 0 n O 1 l o r t n o C 3 Q 8 7 5 f f O 0 n O 1 l o r t n o C 2 x u A 9 7 6 f f O 0 n O 1 l o r t n o C S M T 0 8 7 40078 UMD Timer Setting 0 300 seconds 40079...

Страница 16: ...40100 Daylight Savings Time 1 ATS follows DST HR 40101 40109 MUST ALL be written with a Write Multiple Holding Register Command HR s listed as Not Writeable under certain conditions must be written as zeros HR40101 40110 are for CDP Programmable Exercisers Only 40112 System Busy Control 0 113 Command to Bypass In Phase Monitor 1 Bypass In Phase Monitor 1 114 Confirm Bypass In Phase Monitor 1 Confi...

Страница 17: ... R12 C5 J3 R16 R15 R14 C13 R17 J6 COMMUNICATIONS ADAPTER R10 LED1 D1 R1 RN1 P1 C1 C3 R5 R9 C2 U2 R3 J1 Y1 J2 U3 R8 D2 R4 U7 U8 C4 U4 R11 U5 S N U6 REV A R2 U1 MODBUS 50P 2025 REV X X TOP 50P 2025 MODBUS NETWORK CARD CONFIGURATION JUMPER J4 LED ADDR STATUS INDICATOR TOP OF MODBUS CARD BOTTOM OF MODBUS CARD TERMINATION JUMPER J6 ...

Страница 18: ...LT SETTINGS SLAVE ADDRESS 1 RTU MODE 8 DATA BITS 9600 BAUD NO PARITY 2 STOP BITS NOTES 1 USETWISTED PAIR CABLE BELDEN 8471 16 AWG ABB ZENITH PART WMW 453 2 CONFIGURATION JUMPER J4 MUST BE INSTALLEDTO CHANGE MODBUS ADDRESS AND MODE REMOVE FOR NORMAL OPERATION 3 MODBUS NETWORK CARD ASSEMBLY MUST BE INSTALLED ONTHE CON TROLLER REFERTO APPENDIX F 4 USE SOFTWARE PROGRAMMING PACKAGE 50P 1111 REFERTO PAG...

Страница 19: ...RMINATION JUMPER J6 LOCATED ON THE MODBUS CARD MUST BE CONNECTED ON THE LAST SLAVE IN THE CHAIN REFER TO FIGURE 3 FOR JUMPER POSITIONS 2 A MAXIMUM OF 247 SLAVES CAN BE ADDRESSED ON THE MODBUS NETWORK 3 RECOMMENDED TWISTED PAIR WIRE IS BELDEN 8471 16 AWG ABB ZENITH PART WMW 453 4 FOLLOW STANDARD RS485 WIRING INSTALL A REPEATER IF THE WIRE LENGTH EXCEEDS 4 000 FT OR FOR EVERY 32 DEVICES ON THE NETWO...

Страница 20: ...Modbus Network Card 71R 2200 Appendix F Installation of Modbus Card on MX Controller BACK OF MX CONTROLLER RS485 NETWORK CONNECTION VERIFY POLARITY CONNECTIONS 50P 2035 MODBUS NETWORK CARD ASSEMBLY REF APPENDIX E FOR CONNECTION DETAILS ...

Страница 21: ...High Low Order high and low byte for the number of coils to force ON or OFF Number of Regs High Low Order high and low byte for the number of registers to preset Byte Count is the number of data bytes which are sent to the slave Slave Address 05h Figure G1 Read Coil Status Query Message Function Code Starting Address High Order Starting Address Low Order No of Data Points High Order No of Data Poi...

Страница 22: ... all other values are illegal and will not affect that coil Query Figure G5 is an example of a request to slave number 3 to turn ON coil 71 Slave Address 03h Figure G5 Write Single Coil Query Message Function Code Starting Address High Order Starting Address Low Order Data High Order Data Low Order Error Check Field LRC or CRC 05h 00h 46h FFh 00h Response The slave s normal response to the Write S...

Страница 23: ...set two registers starting at 40034 W Time to 9 hex 9 seconds and 40035 W3 time to 32 hex 50 seconds in slave device 17 Slave Address 11h Figure G11 Write Multiple Registers Query Message Function Code 10h Starting Address High Order 00h Starting Address Low Order 21h Number of Regs High Order 00h Number of Regs Low Order 02h Byte Count 04h Data High Order 00h Data Low Order 09h Data High Order 00...

Страница 24: ...ayed Press BACK Press MORE then ESC to return to the Main Screen If the network card is present this option is enabled and this screen is displayed Press MORE then ESC to return to the Main Screen Enter the Access Code Press MORE several times until the CONFIG NETWORK screen appears Press SEL ENTER ACCESS CODE 1 VAB 120 2 VAB 120 MORE CFG TEST CONFIG NETWORK OFF MORE SEL NETWORK CARD NOT FOUND INS...

Страница 25: ... 50P 1048 1 Network Plug Connector PS 5140 1 Miniature Support Post PS 7363 3 Components for the Modbus Card Configuration Assembly Part Description ABB Zenith Part Number Quantity Modbus Card Configuration Assembly 50P 1124 1 Individual Replacement Components RS232 485 Converter 50W 1208 1 Belden 8471Twisted Pair Cable WMW 453 6 Feet Network Plug Connector PS 5140 1 Configuration Software for Mod...

Страница 26: ...ata bits parity stop bits with ASCII or RTU protocol selected Twisted pair wire length exceeds 4 000 ft Install repeater if wire length exceeds 4 000 ft RS485 multi drop has more than 32 devices Install one repeater for every 32 devices on the network Controller network option not enabled Refer to Appendix H Illegal Data Value exception response to a write query Data value being written is too hig...

Страница 27: ...ABB Zenith Controls Inc 305 Gregson Drive Cary NC 27511 24 hour support ABB Technical Services 1 800 637 1738 epis pqservice abb com new abb com low voltage 1SCC303025M0201 08 19 71R2200A ...

Отзывы: