bihl+Wiedemann AS-i/Modbus Gateway User Manual Download Page 31

                    

AS-i/Modbus Gateway 

Operating the AS-i/Modbus  Gateway

Subject to reasonable modifications due to technical advances

Copyright Bihl+Wiedemann, Printed in Germany

Bihl+Wiedemann GmbH  ·  D-68199 Mannheim  ·  Tel. +49-621-339960  ·  Fax +49-621-3392239  ·  Internet http://www.bihl-wiedemann.de

is

s

u

e

 d

a

te

 1

1

.1

.2

0

0

0

31

6

Operating the AS-i/Modbus  Gateway

6.1

Peculiarities with Double Masters

In 

configuration mode

 all detected AS-i slaves are displayed at first before the dis-

play switches to the other AS-i circuit.

The operation of the push buttons is always related to the currently displayed AS-i cir-
cuit (LED AS-i 1/AS-i 2). After a push button was pressed the display stays with the 
respective AS-i circuit until the operation is finished or the operator has not interfered 
for 10 seconds.

6.2

Master Start-Up

After powering on, all segments of the figure display and all LEDs light up for approx-
imately one second (self-test). Afterwards, the LEDs display the condition of their re-
spective flags. The LCD displays the condition of the master:

40

Off-line Phase
The AS-i master initializes - there is no data communication on the AS-i.

41

Detection Phase
Start of the start-up phase, where the system looks for slaves located on 
the AS-i. The master remains in the detection phase until it finds at least 
one slave.

42 

Activation Phase
Condition at the end of the start-up operation where the parameters are 
transmitted to all connected and recognized slaves. This enables access 
to the AS-i slaves’ data connections.

43

1

Start of Normal Operation
In normal operation the AS-i master can exchange data with all active 
slaves. It transmits management messages and looks for and activates 
newly connected slaves. During normal operation, the system keeps the 
maximum cycle time of 5 milliseconds.

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.

If the AS-i circuit is insufficiently powered (“U ASI” does not 
light up) or there is no communication relationship between 
the Modbus  master and the AS-i/Modbus  gateway, the 
master remains in the off-line phase.

1. Activation phase and the start of normal operation maybe so short that the numbers can not be seen in the display.

Summary of Contents for AS-i/Modbus Gateway

Page 1: ...AS i Modbus Gateways User Manual...

Page 2: ......

Page 3: ...Modbus Gateway with RS 422 24 4 2 3 AS i Modbus Gateway with RS 232C 25 4 2 4 AS i Modbus Gateway in IP65 25 4 3 Display and Operating Elements 26 4 3 1 LEDs of the Single Masters 26 4 3 2 LEDs of th...

Page 4: ...Input Registers 39 7 3 5 Function 5 Force Single Coil 39 7 3 6 Function 6 Preset Single Register 39 7 3 7 Function 15 Force Multiple Coils 39 7 3 8 Function 16 Preset Multiple Registers 40 7 3 9 Func...

Page 5: ...responsibility that the products mentioned below are according to the listed harmonized standards or normative documents and where neccessary a component body has been re leased Specification AS i Mod...

Page 6: ...ity Subject to reasonable modifications due to technical advances Copyright Bihl Wiedemann Printed in Germany Bihl Wiedemann GmbH D 68199 Mannheim Tel 49 621 339960 Fax 49 621 3392239 Internet http ww...

Page 7: ...Internet http www bihl wiedemann de issue date 11 1 2000 7 1 The Used Symbols This symbol warns the user of possible danger Failure to heed this warning can lead to personal injury or death and or da...

Page 8: ...Subject to reasonable modifications due to technical advance Copyright Bihl Wiedemann Printed in Germany Bihl Wiedemann GmbH D 68199 Mannheim Tel 49 621 339960 Fax 49 621 3392239 Internet http www bih...

Page 9: ...alified personnel in accordance with this operating manual Safety and correct functioning of the device cannot be guaranteed if any operation other than that described in this operation manual is per...

Page 10: ...t to reasonable modifications due to technical advance Copyright Bihl Wiedemann Printed in Germany Bihl Wiedemann GmbH D 68199 Mannheim Tel 49 621 339960 Fax 49 621 3392239 Internet http www bihl wied...

Page 11: ...y to Modbus 2 AS i masters with mini PLC AS i control AS i Modbus gateway with RS 232C power supply A article no 1153 AS i Modbus gateway with RS 485 power supply A article no 1154 AS i Modbus gateway...

Page 12: ...rocess the actuator sensor data with in the gateway All AS i Control functions are usable program download upload start stop read and write flags There are AS i Modbus gateways without mini PLC on off...

Page 13: ...ices in IP65 The devices in IP65 have the terminals for Modbus cage clamp terminals and the push buttons under the top of the housing to prevent liquids from entering The AS interface is connected wit...

Page 14: ...rminals have the following functions AS i Actuator Sensor Interface positive terminal AS i Actuator Sensor Interface negative terminal GND Ground terminal used for better EMC Should be connected with...

Page 15: ...i Actuator Sensor Interface positive terminal This terminal is connected internally with the center contact of jumper J AS i Actuator Sensor Interface negative terminal This terminal is connected inte...

Page 16: ...n open With the jumper open or missing the AS i network must be powered by a separate AS i power supply The AS i power supply can be connected to the jumper or to the AS i cable in the field Operation...

Page 17: ...each AS i circuit is decoupled with its own in the AS i master integrated coils Operation with AS i power supply In the jumper position ext pwr the AS i network needs an additional AS i power sup ply...

Page 18: ...pply A The terminals have the following functions AS i Actuator Sensor Interface 1 or 2 positive terminal These terminals are connected internally with point a2 of jumper J AS i Actuator Sensor Interf...

Page 19: ...issue date 11 1 2000 19 jumpers open With the jumpers open or missing the AS i master must be powered by a separate 24 V DC power supply Power supply out of AS i circuit 1 AS i Master AS i 1 power GN...

Page 20: ...through the AS i master must not exceed 5 A AS i Master AS i 1 power GND a2 b2 AS i 2 max 10 A PELV according to EN 60950 Protective extra low voltage AS i Slave max 10 A PELV according to EN 60950 Pr...

Page 21: ...egative terminal GND Ground terminal used for better EMC Should be connected with a short wire to machine GND J J Jumpers for selecting the power supply of AS i jumpers closed The AS i circuits are po...

Page 22: ...supply In the wiring schemes above the current through the AS i master must not exceed 2 8 A each AS i circuit AS i Slave AS i Slave Master power supply max 5 6 A 29 5 31 6 V DC PELV according to EN 6...

Page 23: ...e issue date 11 1 2000 23 Do not try to provide the AS i double master with power supply N with one AS i power supply each AS i circuit because the additional decoupling coils would burden the AS i li...

Page 24: ...us gateway with RS 485 interface sends and receives on pins 3 and 8 of the sub D socket The RS 485 signal A is assigned to pin 3 and signal B to pin 8 To prevent compensation current the shield of the...

Page 25: ...sion cable con nected directly to the ground of AS i gateway During the data transmission the AS i Modbus gateway with RS 232C interface acts as a DCE Data Carrier Equipment When connected to a DTE Da...

Page 26: ...devices in IP65 the push buttons are situated inside of the housing to avoid liquids from entering The top of the housing has to be screwed off to operate these push buttons 4 3 1 LEDs of the Single...

Page 27: ...uits If this LED lights up all displays and button operations are relat ed to AS i circuit 2 otherwise AS i circuit 1 ser active Serial interface communication active via the serial interface By AS i...

Page 28: ...ating Keys Subject to reasonable modifications due to technical advance Copyright Bihl Wiedemann Printed in Germany Bihl Wiedemann GmbH D 68199 Mannheim Tel 49 621 339960 Fax 49 621 3392239 Internet h...

Page 29: ...ring up the AS i master or reading the list Short time AS i power failures are represented in the LCS at the po sition of AS i slave with address 0 5 2 Error Counter Counter of corrupted data telegram...

Page 30: ...for this feature Every configuration error during normal operation in protected mode releases the off line phase For each slave address can be chosen whether a configuration error on this ad dress wi...

Page 31: ...the master 40 Off line Phase The AS i master initializes there is no data communication on the AS i 41 Detection Phase Start of the start up phase where the system looks for slaves located on the AS i...

Page 32: ...dless of whether the detected AS i slaves were projected before When delivered the AS i Modbus gateway is in configuration mode 6 4 Protected Operating Mode 6 4 1 Switching to Protected Operating Mode...

Page 33: ...d held addressing device If you don t have neither a PC nor a hand held addressing device address assigning of the AS i slaves is also possible with the AS i gateway using the push buttons How it work...

Page 34: ...t address and the display starts to blink If the faulty slave was previously replaced by a slave with address zero the new slave can now be programmed for the blinking address by pressing the set key...

Page 35: ...te parity and the number of stop bits follows which is coded in the table below Like changing the address the set button changes the val ue and the mode button writes it to the EEPROM As default Modbu...

Page 36: ...68199 Mannheim Tel 49 621 339960 Fax 49 621 3392239 Internet http www bihl wiedemann de issue date 11 1 2000 36 6 8 Error Messages The system displays error codes for error messages that do not point...

Page 37: ...ty and one stop bit is pre selected see chapter 2 6 7 2 Message Structure Telegrams from the Modbus master query messages and answers of the Modbus slave have the same structure Slaveaddress ABusaddre...

Page 38: ...bit 8 27 of D2 represents output S 15 To achieve a short response time S and N should be a multiple of 8 In all other cases the master must sort in every bit to transmit meaning high response time 7...

Page 39: ...ion code the telegram structure is equal to the one of function 3 Additionally this data could be read as read only Input The AS i Modbus gateway can transmit up to 15 registers in one telegram 7 3 5...

Page 40: ...address of register area to write N Number of read write registers to set B Number of data bytes to follow D1 hi to DN lo D1 hi DN lo Values for the registers to set For every register 2 bytes were t...

Page 41: ...s master D 1 restart comm option The Modbus slave will be restarted Iq must either hold 0000hex or FF00hex In the case of AS i Modbus gateway the following actions are initiat ed The Listen Only Mode...

Page 42: ...antity of CRC errors encoun tered by the slave since its last restart clear counters operation or power up D 13 return bus exception error count The response data field returns the quantity of Modbus...

Page 43: ...on of the characters within the string is defined as follows CBFE DOA WT 7 3 13 Function 66 user defined function 2 This function is used to write the Control programs for AS i Control download S Firs...

Page 44: ...heim Tel 49 621 339960 Fax 49 621 3392239 Internet http www bihl wiedemann de issue date 11 1 2000 44 7 3 14 Function 67 user defined function 3 This function is used to read back the Control programs...

Page 45: ...To achieve a short response time it is advisable to use the Modbus functions 1 and 15 only with both start addresses and quantity of outputs divisible by eight In all other cases the master must cost...

Page 46: ...element 300 301 302 303 304 305 422 423 424 425 426 427 slave 0 connector P0 slave 0 connector P1 slave 0 connector P2 slave 0 connector P3 slave 1 connector P0 slave 1 connector P1 slave 30 connecto...

Page 47: ...only with start addresses divisible by eight In all other cases the master must costly sort in every bit to transmit Config_OK There is no configuration error LDS 0 An AS i slave with address zero is...

Page 48: ...gisters for function execution resides Additionally all as Coil addressable data can be reached by this function The AS i Modbus gateway can transmit up to 15 registers in one telegram Addresses with...

Page 49: ...for slave 11 data for slave 24 7 0 3 4 7 8 11 12 15 data for slave 31 data for slave 30 data for slave 29 data for slave 28 Flags of the Host Interface Address Bit Data element 8 0 1 2 Data_Exchange_...

Page 50: ...0 projected par of slave 1 projected par of slave 2 projected par of slave 30 projected par of slave 31 Permanent Config Data PCD Address Data element 300 301 302 330 331 permanent conf of slave 0 pe...

Page 51: ...15 data from slave 3 data from slave 2 data from slave 1 reserved 601 0 3 4 7 8 11 12 15 data from slave 7 data from slave 6 data from slave 5 data from slave 4 602 606 0 3 12 15 data from slave 11 da...

Page 52: ...Slaves LDS Address Bit Data element 611 0 1 2 14 15 AS i slave 0 AS i slave 1 AS i slave 2 AS i slave 14 AS i slave 15 612 0 1 14 15 AS i slave 16 AS i slave 17 AS i slave 30 AS i slave 31 Configurati...

Page 53: ...parameters projected PP Store_Actual_Configuration If a value different to zero is written to register 1004 the actual AS i config uration will be stored as projected configuration PCD LPS Execute_Co...

Page 54: ...ogram Trough writing this registers the control program can be stopped or restarted This register consists of the following bits 20 start_flag With this bit set the control program will be executed if...

Page 55: ...register The bits 0 4 8 and 12 are connected with the data connection D0 of the AS i slaves bits 1 5 9 and 13 with D1 bits 2 6 10 and 14 with D2 bits 3 7 11 and 15 with D3 Data Input Image IDI Addres...

Page 56: ...ve 15 10 0 1 14 15 AS i slave 16 AS i slave 17 AS i slave 30 AS i slave 31 List of Detected Slaves LDS Address Bit Data element 11 0 1 2 14 15 AS i slave 0 AS i slave 1 AS i slave 2 AS i slave 14 AS i...

Page 57: ...er starts normal operating mode 70 Hardware error The AS i master s EEPROM cannot be written to 72 Hardware error The PIC processor does not respond 73 Hardware error The PIC processor does not respon...

Page 58: ...re Display Subject to reasonable modifications due to technical advance Copyright Bihl Wiedemann Printed in Germany Bihl Wiedemann GmbH D 68199 Mannheim Tel 49 621 339960 Fax 49 621 3392239 Internet h...

Page 59: ...supply with the terminals 24 V and 0 V of the master connect the ground terminal Turn on the power supply After the self test the LEDs power config err U ASI and prj mode are on The LCD shows 40 the A...

Page 60: ...bH D 68199 Mannheim Tel 49 621 339960 Fax 49 621 3392239 Internet http www bihl wiedemann de issue date 11 1 2000 60 Change to the protected operating mode and store the AS i configuration Leave the c...

Reviews: