EasyManua.ls Logo

bihl+Wiedemann AS-i/Modbus Gateway User Manual

Default Icon
60 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
AS-i/Modbus Gateways
User Manual

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the bihl+Wiedemann AS-i/Modbus Gateway and is the answer not in the manual?

bihl+Wiedemann AS-i/Modbus Gateway Specifications

General IconGeneral
CategoryGateway
ProtocolAS-i, Modbus
Modbus SlaveYes
Power Supply24 V DC
AS-i Power Supply30 V DC
MountingDIN rail
Protection ClassIP20
AS-i MasterYes
Operating Temperature-25...70 °C
Storage Temperature-25…85 °C

Summary

The Used Symbols

Safety

Intended Use

The protection of operating personnel and the system against possible danger is not guaranteed if the control interface unit is not operated in accordance with its intended use.

General Safety Information

Safety and correct functioning of the device cannot be guaranteed if any operation other than that described in this operation manual is performed.

General Information

Connections, Displays and Operating Keys

Power Supply Concepts and AS-i Connection Techniques

The AS-i masters as well as all the AS-i gateways of the are available with two different power supply concepts, "master power supply A" and "master power supply N".

Devices in IP65

Every AS-i master and all the AS-i gateways in IP65 come with power supply A.

Single Masters in IP20 with power supply A

The AS-i masters with master power supply A do not need a voltage supply of their own.

Single Masters in IP20 with power supply N

At the bottom of the unit there are 10 terminals for the power supply and the AS-i network.

Double Master in IP20 with Power Supply A

Do not try to provide the AS-i master with power supply N out of the AS-i power supply of the AS-i circuit.

Double Master in IP20 with Power Supply N

The AS-i circuits are powered by the master power supply.

The Serial Interfaces

The serial interface has been designed as a 9-pin sub-D type socket that is located on the right side of the front plate.

AS-i/Modbus Gateway with RS 485

The AS-i/Modbus gateway with RS 485-interface sends and receives on pins 3 and 8 of the sub-D socket.

AS-i/Modbus Gateway with RS 422

The AS-i/Modbus gateway with RS 422-interface receives on pins 3 and 8 (“A” and “B”) and sends on pins 4 and 9 (“Y” and “Z”)...

AS-i/Modbus Gateway with RS 232C

The AS-i/Modbus gateway with RS 232C-interface sends on pin 2 of the sub-D connector ("RxD” signal) and receives on pin 3 ("TxD” signal).

AS-i/Modbus Gateway in IP65

The AS-i/Modbus gateway in IP65 can be connected to Modbus-RS 485 with cage clamp terminals inside of the device.

Display and Operating Elements

On the front panel of the AS-i/Modbus gateway are seven light-emitting diodes, a two-digit display and two push buttons.

LEDs of the Single Masters

The master's power supply is sufficient. Serial interface communication active via the serial interface.

LEDs of the Double Masters

Switching of the displays and push buttons between the two AS-i circuits.

Advanced Diagnostics for AS-i Masters

List of Corrupted AS-i Slaves (LCS)

This list contains entries of all AS-i slaves which were responsible for at least one configuration error since powering up the AS-i master or reading the list.

Error Counter: Counter of corrupted data telegrams

The AS-i master with advanced diagnostics has an error counter for each AS-i slave, which is increased every time there is a corrupted AS-i telegram.

Off-line Phase on Configuration Errors

The AS-i masters with advanced diagnostics offer the possibility to put themselves into the off-line Phase when a configuration error on the AS-Interface occurs.

Operating the AS-i/Modbus Gateway

Peculiarities with Double Masters

In protected mode the displays of the double Masters are switched over from AS-i circuit 1 to AS-i circuit 2 in a measure of 2 seconds.

Master Start-Up

After powering on, all segments of the figure display and all LEDs light up for approximately one second (self-test).

Configuration Mode

The configuration mode serves to configure the AS-i circuit.

Protected Operating Mode

In contrast with the configuration mode in the protected mode there is only data exchange between the AS-i master and the projected AS-i slaves.

Switching to Protected Operating Mode

You leave the configuration mode by pressing the “mode” button.

Configuration Errors in Protected Operating Mode

As long as there is no configuration error, the numeric display is turned off while in protected operating mode.

Assigning an AS-i Address in Configuration Mode

AS-i can be put into operation in a very comfortable manner by using the Windows software AS-i Control Tools.

Assigning a Slave Address

In configuration mode, the addresses of all detected slaves are displayed one after the other.

Erasing the Slave Address

In configuration mode, the addresses of all recognized slaves are displayed one after the other.

Programming the Address in Case of Configuration Errors

Programming the Address in Case of Configuration Errors

Automatic Address Assignment

One of AS-i's great advantages is the automatic address assignment.

Manual Address Assignment

If several slaves fail, they cannot be replaced automatically by the AS-i master.

Adjusting the Modbus-Address and Interface-Configuration

The addressing of the AS-i/Modbus gateway as a Modbus node can only be done on the gateway.

Error Messages

The system displays error codes for error messages that do not point to faulty assignments on the AS-i circuit.

Operation via Modbus

Configuring the Interface

When transferring data via the AS-i master's serial interface, RTU-coding (remote terminal unit) is used.

Message Structure

Telegrams from the Modbus-master (query-messages) and answers of the Modbus-slave have the same structure.

Modbus Functions

The following functions are supported:

Function 1: "Read Coil Status"

This function allows to read the discrete outputs.

Function 2: “Read Input Status”

This function allows to read discrete inputs.

Function 3: “Read Holding Registers”

Parallel to the discrete in and outputs Modbus also supplies registers with word-wide access.

Function 4: “Read Input Registers"

This function allows to access the value of read-only-registers.

Function 5: “Force Single Coil"

Function for reading and writing of one single output.

Function 6: “Preset Single Register"

Function for writing one read/write-register.

Function 15: “Force Multiple Coils"

Function for setting of several discrete outputs.

Function 16: “Preset Multiple Registers"

Function for setting of several read/write-registers.

Function 17: “Report Slave ID"

This function is not supported.

Function 7: “Read Exception Status"

All execution control-functions in the AS-i/Modbus gateway are initiated via writing specified registers or outputs.

Function 8: "Diagnostics"

This function is a Modbus service function.

Function 65: user defined function #1

This function is used to read the name and version of AS-i/Modbus gateway:

Function 66: user defined function #2

This function is used to write the Control programs for AS-i Control (download).

Function 67: user defined function #3

This function is used to read back the Control programs for AS-i Control (upload).

Address-Table of the Modbus Interfaces

Discrete Outputs (“Coils")

The discrete outputs of a Modbus slave can be read by function 1 and manipulated by function 5 and 15.

Discrete Inputs ("nputs")

The discrete inputs of a Modbus slave can be read by function 2.

Read/Write-Registers (“Holding Registers")

The read/write-registers of a Modbus slave can be read by function 3 and manipulated by the function 6 and 16.

Read-Only-Registers (“Input Registers")

The read-only registers of a Modbus slave can be accessed by function 4.

Appendix: Displays of the Figure Display

Appendix: The First Commissioning of AS-i

Related product manuals