Материал: m012900e

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

242 I/O modules

RS232C interface 750-650

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: data in 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 priority 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 • 243

RS232C interface 750-650

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.

Output

 

Control byte

Output

Output

 

byte 0

 

 

byte 2

byte 1

 

 

 

 

‘H’ (0 x 48)

 

0011.0000

‘l’ (0 x 6C)

‘e’ (0 x 60)

Entering data to module

-The transmission request bit (TR) is inverted.

Output

 

Control byte

Output

Output

 

byte 0

 

 

byte 2

byte 1

 

 

 

 

‘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 trans-

 

 

 

 

ferred.

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’

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

Modular I/O System

ETHERNET TCP/IP

244 I/O modules

RS232C interface 750-650

 

 

Input

 

 

Status byte

 

 

Input

 

 

 

 

 

 

Input

 

 

 

 

 

byte0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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 RARR, the input bytes contain data.

 

 

 

Output byte 0

Control byte

 

 

 

Output byte 2

Output byte 1

 

 

XX

 

 

 

0XXX.000X

 

 

 

 

XX

XX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input

 

 

Status byte

 

 

Input

 

 

 

Input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

Output

Control

Output

Output

 

byte 0

byte

byte 2

byte 1

 

XX

0XXX.001X

XX

XX

Command to read from input

 

 

 

 

buffer

-If RARR, the receiving of additional characters will continue.

Input

Status byte

Input

Input

 

byte 0

 

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

I/O modules • 245

TTY interface 750-651

4.8.1.1.2 TTY Interface - 20mA Current Loop

750-651

 

13

14

 

 

Function

A

 

 

 

 

C

 

 

TxD

B

 

RxD

 

 

__D

 

 

TxD TxD

Data contacts

 

 

 

 

Receiver

 

 

 

___

 

 

 

 

 

 

 

TxD

 

 

 

 

TxD

 

 

 

__

 

Transmitter

 

RxD RxD

 

 

 

 

 

 

 

RxD

 

 

 

 

___

 

 

 

 

RxD

 

 

750-651

 

 

Technical description

This technical description is only valid for hardware and software versions X X X X 2 C 0 3----. The product series number is printed on the right side of the module.

The following description is preliminary and is applicable to the factory preset configuration.

Many other operational modes are possible (please contact WAGO for the corresponding settings).

The interface module can operate with all WAGO-I/O-SYSTEM buscouplers (except for the economy type).

Modular I/O System

ETHERNET TCP/IP

246 I/O modules

TTY interface 750-651

Technical Data:

Item-No.:

Transmission channel

Transmission rate

Bit skew

Bit transmission

Resistance

Current consumption (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-651

2 (1/1), T x D and R x D, full duplex

1200 - 19200 Baud

-

2 x 20 mA passive

< 500

50 mA max.

max. 1000 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 TTY:

The TTY interface module allows the connection of TTY-Interface devices to the WAGO I/O SYSTEM. The TTY 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 lower priority without loosing data.

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

Modular I/O System

ETHERNET TCP/IP