MODBUS – SLC gateway user manual

33
MODBUS – SLC gateway user manual Type: GW485LCD4P Document version: 1.2

Transcript of MODBUS – SLC gateway user manual

Page 1: MODBUS – SLC gateway user manual

MODBUS – SLC gateway

user manual

Type: GW485LCD4P

Document version: 1.2

Page 2: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

2/33

Introduction

This device has been created because the CASE VAV software could monitor only one VAV

meanwhile this device is able to monitor 128 VAV. The read values could not be used in

building management system. But by this device there is a possibility to integrate the data of

the VAV into the building managing system via the Modbus Protocol.

The unit is powered with 15-32 VDC or 12-24 VAC.

Variable types

The type of the variables is the following:

– USINT: unsigned integer (0-65535)

– INT: integer (-32768 – 32767)

Modbus types

The Modbus type of the signals (types in the list below):

3 = Holding Register (Modbus function = 3 and 6)

4 = Input Register (Modbus function = 4)

Supported Modbus functions:

3 = Read Holding Register

4 = Read Input Register

6 = Write Single Register

Max 20 registers

Max 20 registers can be read in one message.

Page 3: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

3/33

Modbus communication

Modbus address can be 1-127.

Supported baud rate:

– 2400 bps

– 4800 bps

– 9600 bps

– 19200 bps

– 38400 bps

Stop bit: 1

Data bits: 8

Parity: None

Stop bit: 1

Page 4: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

4/33

Input register (Function code 4)

register data type description comment

30001 USINT Modbus address value is from 1 to 127

30002 USINT SLC overrun counter

30003 USINT SLC frame error counter

30004 USINT SLC crc error counter

30005 USINT SLC address error counter

30006 USINT Global no answer counter

30007 USINT Modbus overrun counter

30008 USINT Modbus frame error counter

30009 USINT Modbus crc error counter

30010 USINT VAV1 SLC address value is up to 200, if 0, polling disable

3XXX1 INT VAVXXX Setpoint (%) scale factor 10

3XXX2 INT VAVXXX Actual value (%) scale factor 10

3XXX3 USINT VAVXXX Position (°) scale factor 10

3XXX4 INT VAVXXX Position (%) scale factor 10

3XXX5 INT VAVXXX Differential pressure (%) scale factor 10

3XXX6 INT VAVXXX Second setpoint (%) scale factor 10

3XXX7 INT VAVXXX Second actual value (%) scale factor 10

3XXX8 N/A Not used (read 0xFFFF (65535))

3XXX9 USINT VAVXXX No answer counter

XXX: 1-128 (MAX 128 VAV!)

30002, 30007: The receive FIFO buffer can hold two characters. An overrun error will be

generated if a third character, in its entirety, is received before the FIFO is accessed.

30003, 30008: A framing error indicates that a Stop bit was not seen at the expected time.

30005: The numbers of errors occur when a polled VAV does not answer, but another send

a response message.

30006: Total number of errors, which does not respond to the question. Equal to the sum of

the 6th element of the register arrays.

The input registers are reset to 0 after restart.

Page 5: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

5/33

Holding register (Function code 3)

register data type description comment

40001 USINT Modbus address value is from 1 to 127

40002 USINT Modbus baud rate value is up to 4

40003 USINT Min. polling interval in second value is from 1 to 240

40004 USINT Global polled data kill bits value is up to 127

40005 USINT Display auto shift 0=Off, 1=ON

40006 USINT Display shift period 1-250 cycle (1 cycle = 4 sec + 2 sec with loop2)

40007 USINT Display holding period 1-250 cycle (1 cycle = 4 sec + 2 sec with loop2)

40008 USINT VAV comm. fault response 0=error message, 1= read 0xFFFF (65535)

40009 N/A Not used (read 0xFFFF (65535))

4XXX0 USINT VAVXXX SLC address value is up to 200, if 0, polling is disable

4XXX1 USINT VAV1 second loop read settings 0=Off, 1=Pressure, 2=Temperature

4XXX2 USINT VAVXXX polled data kill bits If 40007 reg. is not 0, this value is ignored.

4XXX3 USINT VAVXXX manual command value is up to 7

4XXX4 USINT VAVXXX manual command value scale factor 10, value is up to 1100 (110.0 %/°)

4XXX5 N/A Not used (read 0xFFFF (65535))

4XXX6 N/A Not used (read 0xFFFF (65535))

4XXX7 N/A Not used (read 0xFFFF (65535))

4XXX8 N/A Not used (read 0xFFFF (65535))

4XXX9 N/A Not used (read 0xFFFF (65535))

XXX: 1-128 (MAX 128 VAV!)

40001: The Modbus address can be between 1 and 127. Default value is 1. 40002: Modbus baud rate might be: 0: 2400 1: 4800 2: 9600 (Default) 3: 19200 4: 38400 40003: Polling interval on SLC bus. Default value is 1 s. 40004: All of polled VAV data type can be disable. Default value is 0 (enable all polling).

– 1. bit: Disable setpoint polling (1) – 2. bit: Disable actual value polling (2) – 3. bit: Disable position in degrees polling (4) – 4. bit: Disable position polling (8) – 5. bit: Disable differential pressure polling (16) – 6. bit: Disable second setpoint polling (32) – 7. bit: Disable second actual value polling (64)

This number is valid for all register arrays. If the value is 0, then you can define for each VAV. For example you must monitor only VAV angle in degrees, then this value is 27 (1+2+8+16).

Page 6: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

6/33

40005: Enable or disable displayed VAV scrolling on LCD display. 40006: Scroll to next VAV after 1-250 cycle. (1 cycle without second loop display is 4 sec

with second loop display is 6 sec) (Default=2) 40007: If you choose a VAV to display with ‘SET’ button, with this value can you set that

you want to see through many cycle. (1 cycle without second loop display is 4 sec with second loop display is 6 sec) (Default=15)

40008: If the VAV device does not send a response message, you will get 0xFFFF hex

(65535 dec) in register 3XXX1-3XXX7 with multiple read function. With single read function (read only 1 register) you can select the Modbus response: 0: exception responses from Modbus (04 hex: slave device failure) (Default) 1: 0xFFFF hex (65535 dec) 4XXX1: VAV SLC address can be 0-200. If the value is 0, this ‘register array’ will be

disabled. 4XXX2: VAV second loop setting. 0: Second loop polling diable 1: Room pressure control loop polling and displaying 2: Room temperature control loop polling and displaying 4XXX3: You can set the VAV in manual operation with this register. 0: Manual operation is disabled (Default) 1: Stop working 2: Damper close 3: Damper open 4: Set the angle to defined position (4XXX9 register’s value with scale factor 10) 5: Set the air flow (setpoint) to defined value (4XXX9 register’s value with scale

factor 10) 6: Vmin 7: Vmax 8: Adapt working angle After restart this value will be reset to 0. 4XXX4: This value is for angle or air flow with scale factor 10. After restart this value will be

reset to 0. XXX = 1-128 The holding registers will be stored in EEPROM memory expects 4XXX8 and 4XXX9 registers.

THIS DEVICE HAS 4 SLC NETWORK! Register arrays (XXX) mapped as fallow: 001-032: SLC network 1 033-064: SLC network 2 065-096: SLC network 3 097-128: SLC network 4

Page 7: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

7/33

Hardware overview

– LED’s functions

POWER: Power indicator LED (green)

TX1: VAV polling indicator (red)

RX1: VAV response indicator LED (green)

STATUS: Gateway status indicator LED (yellow), 1 second flash cycle as follows:

– 1/5 duty cycle: all of assigned VAV sends response

– 2x 1/5 duty cycle: you are in the settings menu

– 4/5 duty cycle: at least one VAV does not send response

TX2: Modbus response indicator LED (red)

RX2: Modbus polling indicator LED (green)

Page 8: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

8/33

– Connection:

This device is a ‘master’ on SLC network. The CASE VAV software is a ‘master’ too. You

can use only one ‘master’ on the VAV network.

Page 9: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

9/33

Display

Normal gateway operation:

– Start screens (after restart):

– If the device has not assigned VAV, you can see the follow:

Page 10: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

10/33

– When the device has assigned VAV, 2 displays changed every 2 seconds:

– You can change the displayed VAV with pushing ‘SET’ button:

– When the VAV is in manual operation, you can see a hand pictogram:

• Manual air flow, Vmin, Vmax:

Page 11: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

11/33

• Manual angle, stop, damper open, damper close:

Settings menu: The device has a settings menu.

– Push the ‘Reset’ button and after restart hold the ‘SET’ button, then you can see the follow:

– Release the ‘SET’ button, then short pressing this button can you change between ‘-YES-’ or ‘-NO-’. If you select ‘-YES-’, after 2 seconds the last releasing of the ‘SET’ button you must enter the password:

Wait until you press the ‘SET’ button.

Page 12: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

12/33

– When you push the button, the first number will be increased

– After 2 seconds the last releasing of the ‘SET’ button you can increase the second number:

THE PASSWORD IS 5555.

– When the password is correct, you can see the settings:

Wait until you press the ‘SET’ button.

– You can select the follow:

Page 13: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

13/33

– SLC settings:

– Scan VAV devices:

If you select the ‘Start’:

Page 14: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

14/33

– Polling interval:

– Set new interval:

Push the ‘SET’ button to increase the value.

After 2 seconds the last releasing of the ‘SET’ button the interval will be stored.

– Modbus settings:

– Modbus address:

Page 15: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

15/33

– Set new address:

Push the ‘SET’ button to increase the value.

After 2 seconds the last releasing of the ‘SET’ button the address will be stored.

– Modbus baud rate:

– Set new baud rate:

Push the ‘SET’ button to increase the value.

After 2 seconds the last releasing of the ‘SET’ button the baud rate will be stored.

Page 16: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

16/33

Use with nPO

Install communication driver:

1. Add new driver.

2. Select Modicon Modbus (VPIWNMR).

1.

2.

Page 17: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

17/33

3. Add name.

4. Edit Init file.

BAUD_RATE = 9600

BUS=M,D

SWAP = NO

FLOATSWAP = NO

LONGADDR = NO

RTSCTS = NO

IFG = 0

IFG_MS = 0

1.

2.

3.

Page 18: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

18/33

5. Select the gateway’s COM port.

6. Only “Finish”.

2.

1.

Page 19: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

19/33

7. You can use the communication driver after restart.

Page 20: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

20/33

Add new data point

The driver address structure:

01 4 001 0

MODBUS address

(1-99)

Function code

(3, or 4)

VAV register array (1-128)

(0 is a diagnostic array)

Array

element

VAV’s data point definition:

– 1st array, VAV SLC address (register array zero element):

This data point is both readable and writable. The value must be between 0 and 200 that

corresponds with the VAV’s SLC address. If the value is set to 0, so this array not will be

uploading.

Page 21: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

21/33

– 1st array, VAV setpoint (register array 1st element):

Page 22: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

22/33

– 1st array, VAV actual value (register array 2nd element):

Page 23: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

23/33

– 1st array, VAV damper position in degrees (register array 3rd element):

Page 24: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

24/33

– 1st array, VAV damper position (register array 4th element):

Page 25: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

25/33

– 1st array, VAV differential pressure (register array 5th element):

Page 26: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

26/33

– 1st array, VAV no response counter (register array 6th element):

Page 27: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

27/33

– 1st array, VAV polled data kill kill byte (register array 7th element):

Page 28: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

28/33

– 1st array, VAV manual command (register array 8th element):

Page 29: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

29/33

– 1st array, VAV manual command’s value (register array 9th element):

Page 30: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

30/33

To add more data point is similar to the former one, except that the number of registers

should be written in an appropriate way.

For example, VAV angle for the register array of 23rd can be added in the following:

Page 31: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

31/33

For example, the data of the VAV register array 1:

Here we can see that the register 1st array of 1 SLC address’s VAV data by uploading from

the converter but it is currently not available, because it does not receive data.

Change the address to 130, which can be found on the network: Right-click on the title above

the data points, and then click “Read / Write to”.

In the window that appears, enter a new address, and then click "Write", then "OK" button.

Page 32: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

32/33

Then the device fills the 130 SLC address’s VAV data to register array 1.

Examples of diagnostic data points:

Page 33: MODBUS – SLC gateway user manual

GW485LCD4P user manual (ver.: 1.0ß)

SAUTER Magyarország • Sauter Automatikai Kft. • 1148 Budapest, Fogarasi út 2-6. • Tel. +36 (1) 470-1000 • Fax +36 (1) 467-9000

[email protected] • www.sauter.hu

33/33

Created: Miklós Varga (SAH)

Date: September 30, 2014