Материал: m012900e

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

252 • I/O modules RS485C interface 750-653

Technical Data:

Item-No.:

Transmission channel

Transmission rate

Bit skew

Bit transmission

Resistance

Input current (internal)

Transmission length

Input buffer

Output buffer

Voltage supply

Isolation

Internal bit width

Configuration

Operating temperature

Wire connection

Dimensions (mm) WxHxL

Presetting:

Baud rate

Internal bit width

750-653

1 TxD / 1 RxD, full/ half duplex

1200 - 19200 Baud

-

Acc. to ISO 8482/ DIN 66259 T 4

-

50 mA max.

max. 500 m twisted pair

128 Byte

16 Byte

via internal system supply

500 V System/power supply

1 x 40 Bit, 1 x 8 Bit control/status

none, or via software with the consent of WAGO

0 °C ... + 55 °C

CAGE CLAMP ; 0.08 mm2 - 2.5 mm2, AWG 28 – 14, 8 – 9 mm Stripped length

12 x 64* x 100 (*from upper edge of carrier rail)

9600 Baud

1 x 24 Bit in/out, 1 x 8 Bit control/status

Description RS 485:

The interface module is designed to operate with all WAGO I/O fieldbus couplers. The serial interface module allows the connection of RS485 or RS488Interface devices to the WAGO I/O SYSTEM. The RS485/RS488 Interface module can provide gateways within the fieldbus protocol. This allows serial equipment such as printers, barcode readers, and links to local operator interfaces to communicate directly by the fieldbus protocol with the PLC or PC Master.

This module does not support a higher level protocol. Communication is made completely transparent to the fieldbus allowing flexibility in further applications of the serial interface module. The communication protocols are configured at the Master PLC or PC.

The 128 byte input buffer provides for high rates of data transmission. When using slower transmission speeds, you can collect the received data with less priority without loosing data.

Modular I/O System

ETHERNET TCP/IP

I/O modules • 253

RS485C interface 750-653

The 16 byte output buffer provides for faster transmission of larger data strings.

Attention

The data transmission takes place at 9,600 baud (default value). 1 start bit, 8 data bits and 1 stop bit will be transmitted. No parity is available. The drivers are high impedence. The control of data is made by the user software.

Attention

The interface module can be used for bus connections as well as for point to point connections. With bus connections, modules that are not connected to the power supply can also be wired. They do not disturb the bus connection.

receiver

termination

TxDTxD

+-

RxDRxD

transmitter

+ -

M M

S S

:$*2

TxD TxD

 

termination

+

-

 

 

RxDRxD

 

 

+

-

 

 

 

transmitter and

transmitter nd

transmitter and

 

receiver

receiver

receiver

M M

S S

:$*2

point to point connection

bus connection

Organization of the input and output data:

The module is a combination of analog input and output module with 2 x 16 bit input and output data. The transfer of the data to be transmitted and the received data is made via 3 output and 3 input bytes. One control byte and one status byte are used to control the floating data.

Requests are indicated by a bit change of state. An assigned bit indicates execution by adopting the value of the request bit.

Up to 3 characters which have been received via interface can be stored in the input bytes 0 to 2. The output bytes will contain the characters to be sent.

Modular I/O System

ETHERNET TCP/IP

254 • I/O modules RS485C interface 750-653

The control byte consists of the following bits:

Bit 7

Bit 6

 

Bit 5

 

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

0

OL 2

 

OL1

 

OL0

0

IR

RA

TR

Constant

Frames available in output area

Constant

Initialization

Receive

Transmit

value

 

OL2 is always 0,

 

value

request

acknow-

request

should

i.e. OL2, OL1, OL0 = 0,1,1

should

 

ledge

 

lways be 0.

3 characters should be sent and put

always be

 

 

 

 

 

into the output.

 

0.

 

 

 

 

 

 

 

 

 

 

The status byte consists of the following bits:

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

0

Constant value should always be 0.

IL2

IL1

Il0

BUF_F

IA

RR

TA

Frames available in input area IL2 is

Inpput

Initialization

Receive

Transmit

 

always 0.

 

buffer is

acknow-

request

acknow-

i.e. IL2, IL1, IL0 = 0,1,0

full.

ledge

 

ledge

2 characters were received and

 

 

 

 

reside in input 0 and input 1.

 

 

 

 

The PLC is able to control transmission and reception of data by means of the control byte and the status byte.

Initialization of the module:

set IR bit in the control byte to "1"

transmit/receive functions are blocked

output/input buffers are erased

serial interface module will load its configuration data

Transmitting data:

TR≠ TA: put characters into output bytes 0 to 2

amount of characters is specified in OL0 to OL2

TR is inverted and read out

characters are put into output buffer if TR=TA

Receiving data:

RR≠ RA: input bytes 0 to 2 characters are available

amount of characters is specified in IL0 to IL2

characters in IL0 to IL2 are read out

RA is inverted and read out

all characters are read when RR=RA

The transmitting and receiving of data can be done simultaneously. The initialization request has prioirity and will stop transmitting and receiving of data immediately.

Attention

Resetting the initialization bit can be performed with the following message.

Message: input buffer full (Bit 3)

Input buffer is full. Data which is being currently received is now lost.

Modular I/O System

ETHERNET TCP/IP

I/O modules • 255

RS485C interface 750-653

An example:

The module is initialized.

- The initialization bit in the control byte is set.

Output byte 0

 

Control byte

Output byte 2

Output byte 1

0x00

 

0000.0100

0x00

0x00

- After the initialization has been executed, the status byte will give back 000.0100.

Input

Status byte

Input

Input

 

 

 

 

 

 

byte 0

 

byte 2

byte 1

 

XX

0XXX.X0XX

XX

XX

Module is still being reset.

XX

0XXX.X1XX

XX

XX

Initialization completed.

Sending of the data string "Hello” in ASCII code:

-The first 3 characters and the buffer length of 3 are transmitted.

Out-

 

Control byte

Output

Output

 

put

 

 

byte 2

byte 1

 

 

 

 

byte 0

 

 

 

 

 

 

 

 

 

 

‘H’ (0 x

 

0011.0000

‘l’ (0 x 6C)

‘e’ (0 x

Entering data to module

-The transmission request bit (TR) is inverted.

Out-

 

Control byte

Output

Output

 

put

 

 

byte 2

byte 1

 

 

 

 

byte 0

 

 

 

 

 

 

 

 

 

 

‘H’

 

0011.0001

‘l’

‘e’

Send Data

-As soon as TR=TA, the rest of the data can be sent.

Input

Status byte

Input

Input

 

 

 

 

 

 

byte 0

 

byte 2

byte 1

 

XX

0XXX.XXX0

XX

XX

The data is still being transferred

XX

0XXX.XXX1

XX

XX

Data transfer completed.

-The last 2 characters and the buffer length of 2 are transmitted.

Output byte 0

 

Control byte

Output byte 2

Output byte 1

‘l’

 

0010.0001

XX

‘o’ (0 x 6F)

-The transmission request bit (TR) is inverted.

Output byte 0

 

Control byte

Output byte 2

Output byte 1

‘l’

 

0010.0000

XX

‘o’

Modular I/O System

ETHERNET TCP/IP

256 • I/O modules RS485C interface 750-653

- As soon as TA = TR, the data has been transferred to the output buffer..

 

 

Input

 

 

Status

 

 

 

Input

 

 

 

Input

 

 

 

 

 

byte0

 

 

byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

byte2

 

 

 

byte1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XX

 

 

0XXX.XXX1

 

 

XX

 

XX

 

The data is still being transferred.

 

 

XX

 

 

0XXX.XXX0

 

 

XX

 

 

 

XX

 

Data transfer completed.

Receiving the character chain "WAGO”

 

 

 

-As soon as RA≠ RR, the input bytes contain data.

 

 

 

Output byte 0

 

 

 

Control byte

 

 

Output byte 2

Output byte 1

 

 

XX

 

 

 

 

 

 

0XXX.000X

 

 

 

XX

XX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input

 

 

Status

 

 

 

Input

 

 

 

Input

 

 

 

 

 

 

 

 

byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

byte0

 

 

 

 

 

byte2

 

 

 

byte1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XX

 

 

0XXX.0X0X

 

 

XX

 

XX

 

No received data available.

 

 

‘W’

 

 

0011.0X1X

 

 

 

‘G’

 

 

 

‘A’

 

The information is in the input bytes.

-After the 3 characters have been processed, RA is inverted.

Out-

Control

Output

Output

 

put

byte

byte 2

byte 1

 

byte 0

 

 

 

 

 

 

 

 

XX

0XXX.001X

XX

XX

Command to read from input buffer

-If RA≠ RR, the receiving of additional characters will continue.

Input

Status

Input

Input

 

byte 0

byte

byte 2

byte 1

 

XX

0XXX.0X1X

XX

XX

No received data available.

‘O’

0001.0X0X

XX

XX

The information is in the input bytes.

-After the characters have been processed, RA is inverted.

Output byte 0

Control byte

Output byte2

Output byte1

XX

0XXX.000X

XX

XX

Attention

0 x 23 is a hexadecimal value

0101.1001 is a binary value

An X indicates that this particular value has no importance. XX indicates that the whole value has no importance.

Attention

For the process data configuration of these bus modules please refer to chapter "Process data architecture for MODBUS/TCP" in the process image description of the corresponding coupler/controller.

Modular I/O System

ETHERNET TCP/IP