background image

~ 15 ~ 

PEF-

321АВР   

     

 

 

             

                           

NOVATEK-ELECTRO

 

The subroutine for generating LRC checksum is in C language: 

 

1:    uint8_t GenerateLRC(uint8_t *p

СendRecvBuf, uint16_t uCount) 

2:    { 
3:        uint8_t lrc = 0x00; 
4:        uint16_t i; 
5:        for(i=0; i<(uCount-1); i++){ 
6:            lrc = (lrc + p

СendRecvbuf[i]) & 0xFF; 

7:        } 
8:       lrc = ((lrc ^ 0xFF) + 2) & 0xFF; 
9:      returnlrc; 
10:  }

 

 

6.3.4 Set of instructions 
6.3.4.1 Function 0x03 - read operation of a group of registers 

The 0x03 function reads the contents of 321ABP registers. The master

‟s request contains the address of the 

initial register, as well as the number of words to read. 

Answerback  of 

321АВР  contains  the  number  of  bytes  returned  and  the  requested  data.  The  number  of 

registers returned is limited to 50. If the number of registers in the request exceeds 50, the response is not split 
into frames. 

An example of a request and response in the 

MODBUS RTU

 is shown in Figure 11. 

Request 

Address 

Function 

In. address 

HB 

In. address 

LB 

Number of words 

HB 

Number of words 

LB 

CRC LB 

CTC HB 

01h 

03h 

00h 

A0h 

00h 

02h 

C4h 

29h 

 

Answerback 

Address 

Function 

Number of 

bytes 

HW HB 

data 

HW LB 

data 

LW HB 

data 

LW LB 

data 

CRC LB 

CTC HB 

01h 

03h 

04h 

44h 

7Ah 

00h 

00h 

CFh 

1Ah 

 

Fig. 11 -

 Example of request and response of function 0x03 - reading a group of registers 

 

6.3.4.2 Function 0x06 - register entry 

Func

tion  0x06  provides  writing  to  one  321ABP  register.  The  master‟s  request  contains  the  address  of  the 

register and data for entering. 

The  answer  of  the  device  coincides  with  the  request  of  the  master  unit  and  contains  the  address  of  the 

register and the established data. An example of a request and answer in the 

MODBUS RTU

 mode is shown in 

Figure 12. 

 

Request 

– register 00A0h = 1000 (INT) 

Address 

Function 

In. address 

HB 

In. address 

LB 

HB 

data 

LB 

data 

CRC LB 

CTC HB 

01h 

06h 

00h 

A0h 

03h 

E8h 

89h 

56h 

 

Answerback 

Address 

Function 

In. address 

HB 

In. address 

LB 

HB 

data 

LB 

data 

CRC LB 

CTC HB 

01h 

06h 

00h 

A0h 

03h 

E8h 

89h 

56h 

 

 

Fig. 12

 - Example of request and answer of function 0x06 - register setting

 

 
7 MAINTENANCE  
7.1 

Safety precautions 

 

THE TERMINALS AND THE DEVICE INTERNAL ELEMENTS CONTAINS POTENTIALLY LETHAL 
VOLTAGE. 
DURING  MAINTENANCE  IT  IS  NECESSARY  TO  DISABLE  THE  DEVICE  AND  CONNECTED  

                DEVICES FROM THE MAINS.

 

 

7.2 

Maintenance of the device must be performed by the skilled professionals

7.3 

Recommended frequency of maintenance is

 every six months

7.4 

Maintenance Procedure

1) Check the connection reliability of the wires, if necessary, clamp with the force specified in Table 1; 
2) Visually check the integrity of the housing, in case of detection of cracks and damages take the device out 

of service and send for repair; 

3) If necessary, wipe the front panel and the housing of the device with cloth. 

 

Do not use abrasives and solvents for cleaning. 

Summary of Contents for PEF-321ABP

Page 1: ...m on the development and production complies with requirements ISO 9001 2015 Dear customer Company NOVATEK ELECTRO LTD thanks you for purchasing our products You will be able to use properly the produ...

Page 2: ...AL ELEMENTS OF THE PRODUCT During operation and maintenance the regulatory document requirements must be met namely Regulations for Operation of Consumer Electrical Installations Safety Rules for Oper...

Page 3: ...vervoltage category III Rated insulation voltage V 450 Rated impulse withstand voltage kV 4 0 Wire cross section for connecting to terminals mm2 0 5 2 Tightening torque of terminal screws N m 0 4 Tabl...

Page 4: ...frame self extinguishing plastic No harmful substances in amount that exceeds permissible exposure limits Table 3 Characteristics of output contacts Used terminals Max current at U 250 V A Number of...

Page 5: ...to power the device or connect the generator 7 8 9 10 11 not involved 31 the second phase of input 2 to power the device or connect the generator 12 13 the state of voltage at input 1 32 the third pha...

Page 6: ...ECTIONS MUST BE PERFORMED WITH THE DEVICE BEING DEENERGIZED An error in installation work may result in damage of the device and instruments connected to it To ensure reliability of electrical connect...

Page 7: ...f operation 321 supports 6 operating modes two equivalent three phase inputs two three phase inputs with priority input 1 two three phase inputs with priority input 2 three phase input 1 and a three p...

Page 8: ...input 1 by contactor K1 and counts the transition time to the secondary input table 5 3 After completion of the 321 time countdown device 321 closes terminals 20 21 sends a signal to start the generat...

Page 9: ...d configure other menu items In order to exit the menu press and hold the OK button for 3 s If no button is pressed within 30 s the menu will exit automatically Table 5 Menu Menu Value Name Descriptio...

Page 10: ...SCII 1 RTU MODBUS modes 134 Parity check parity check is off even parity check odd parity check 135 Number of stop bits or 136 Transfer rate transfer rate 2400 baud transfer rate 4800 baud transfer ra...

Page 11: ...d order dot is lighting 13 14 Phase voltage of phase 3 Low order dot is lighting 15 16 Linear voltage of phases 1 2 High order dot is flashing 17 18 Linear voltage of phases 2 3 Mid order dot is flash...

Page 12: ...s not lighting no voltage 400 AC 16 17 Optotransistor Availability of the battery Is not lighting the battery is disconnected Is lighting the battery is connected 280 AC 400 DC 18 19 Optotransistor Th...

Page 13: ...ite the value to 321 The coefficient of reduction to an integer value is determined by a number of decimal places 1 0 10 1 00 100 1 000 1000 Table 13 Error codes for the MODBUS protocol Error code Nam...

Page 14: ...s Addresses of the slave devices are in the range from 1 to 247 Figure 10 shows the ASCII frame format 1 byte Address Function code Data CRC checksum CRLF 2 bytes 2 bytes 2 bytes Up to 504 bytes 2 byt...

Page 15: ...tion 0x06 provides writing to one 321ABP register The master s request contains the address of the register and data for entering The answer of the device coincides with the request of the master unit...

Page 16: ...ored at the temperature from minus 45 to 60 C and relative humidity of no more than 80 10 ACCEPTANCE CERTIFICATE PEF 321 has been manufactured and accepted in accordance with the requirements of valid...

Reviews: