AS-i/Modbus Gateways
User Manual
Страница 1: ...AS i Modbus Gateways User Manual...
Страница 2: ......
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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_...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...
Страница 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...