background image

RS-485 gateway

4

Parameter data is stored permanently in the slave memory� Since the 

process of storing takes several 100 ms, the CTT2 communication will stop 

and resume after a reset of the device only�

4.1  Receiving data via the RS-485 gateway

The slave cyclically transmits the number of bytes that have been received and 

that are available for reception via AS-Interface� The receive buffer in the slave has 

a size of 64 bytes�
The master should then send "18, 3, xx" (acyclic read service request to index 3 

with a usable length of xx bytes) to collect the information� 
If more than 32 bytes are in the buffer, the command may be issued several times 

with a maximum length of 32 bytes until the buffer is empty� If there are fewer 

bytes in the buffer than required, the response contains all available bytes� If an 

acyclic read service request to index 3 is issued while the buffer is empty, the 

response is an error "illegal length"�
If single bit transmission errors occur, AS-Interface will repeat faulty telegrams and 

recover lost information� If byte transmission errors occur, the data may be lost�

4.2  Sending data via the RS-485 gateway

The master sends "19, 3, xx, ��� data���" (acyclic write service request to index 3 

with a usable length of xx bytes) to transmit the output information� 
If more than 32 bytes are to be transmitted, this write service may be repeated 

several times with a maximum length of 32 bytes� Since the RS-485 interface is 

faster than AS-Interface, there is no danger of buffer overrun�

Содержание ecomat 300 AC1155

Страница 1: ...Device manual AS i RS 485 gateway AC1155 7391078 02 04 2016 UK ...

Страница 2: ...eway 4 4 2 Sending data via the RS 485 gateway 4 5 Manufacturer specific device behaviour 5 5 1 Status model Root Device Profile 5 5 2 Status transition table 5 6 Acyclic CTT2 services 6 6 1 Standard services 6 6 1 1 Standard ID object 6 6 1 2 Standard diagnostic object 7 6 2 Exchange device parameters 8 6 3 Exchange serial data 9 6 4 Data structures 10 ...

Страница 3: ...on which is not in accordance with use as prescribed below wrong installation or incorrect handling can seriously affect the safety of operators and machinery 3 Documentation This documentation relates to the hardware and firmware status at the time of editing this manual 4 Functions and features The devices have been designed for use in applications described in this manual and the data sheet Adh...

Страница 4: ...s with a maximum length of 32 bytes until the buffer is empty If there are fewer bytes in the buffer than required the response contains all available bytes If an acyclic read service request to index 3 is issued while the buffer is empty the response is an error illegal length If single bit transmission errors occur AS Interface will repeat faulty telegrams and recover lost information If byte tr...

Страница 5: ...a bits are valid Recognition The device is waiting for the message Get ID It will not respond to any other message Normal The device is available for automatic operation Transition Output status Final State Transition Condition 1 Initialisation Configuration Initialisation performed without error 2 Configuration Start serial data transmission Write_Parameter received and processed without error 3 ...

Страница 6: ...d read requests Index no Description 0 ID object 1 Diagnosis object Code 18 Acyclic read requests Index no Description 2 Reading parameters 3 Read data Code 19 Acyclic write request services Index no Description 2 Write parameters 3 Write data 6 1 Standard services 6 1 1 Standard ID object This object range describes and identifies the AS i slave Identification with reference to Manufacturer ID an...

Страница 7: ...00hex 4 AS i device ID low 65hex 5 Number of analogue AS i inputs and outputs 09hex no outputs 1 byte input 6 1 2 Standard diagnostic object Verification if the module has an error on the AS i side or if it functions without error Read standard diagnostic object request Byte no Description 0 Command code 16 read standard 1 Index 1 ID object 2 Length to be read 1 Read standard diagnostic object rep...

Страница 8: ...a 3 Reply write device parameters Byte no Exchange reply 0 Command code 83 data exchange OK Parameter data see chapter 6 4 Read device parameters Read devices parameter reply Byte no Exchange requirement 0 Command code 18 read standard 1 Index 2 parameter 2 Reading length 4 Read device parameters reply Byte no Exchange reply 0 Command code 82 data exchange OK 1 Parameter data 0 2 Parameter data 1 ...

Страница 9: ...th 1 32 3 34 Data to be sent length corresponds to byte2 Write serial data answer Byte no Exchange reply 0 Command code 83 data exchange OK Read serial data Read serial data request Byte no Exchange reply 0 Command code 18 read 1 Index 3 serial data 2 Read length 1 32 Read serial data answer byte no Exchange reply 0 Command code 82 data exchange OK 1 32 received data ...

Страница 10: ...4 19200 baud 5 38400 baud 5 reserved Parameter data 3 Description XXXXXX00bin no parity XXXXXX01bin odd parity XXXXXX10bin even parity XXXXX0XXbin 1 stop bit XXXXX1XXbin 2 stop bits XX00XXXXbin 8 data bits XX01XXXXbin 7 data bits Error code Description 0 no error 1 illegal index 2 illegal length 3 request not implemented 4 busy request was not executed within time frame please try again later 5 la...

Страница 11: ...UK RS 485 gateway 11 ...

Отзывы: