Presentation

 

TM5SE1RS2 Communication Module

Description

The TM5SE1RS2 communication module is used to connect devices using RS232 communications.

This communication module can only be used with the TM5NS31 Sercos interface module.

Adding the TM5SE1RS2 Communication Module

Step

Action

1

In the Devices tree, drag and drop the Modicon LMC078 Motion Controller.

2

Drag and drop the TM5SE1RS2 on the SERCOSIII (SERCOS III Interface) node.

Result: The TM5NS31 is automatically added with the TM5SE1RS2.

Description of TM5SE1RS2 Parameters

Double-click the TM5SE1RS2 (TM5SE1RS2) node. There are three tabs:

oSERCOS III Module I/O Mapping: Channels to configure.

oUser Parameter: Parameters to configure.

oInformation: Information about the TM5SE1RS2.

SERCOS III Module I/O Mapping Tab

The input and output channels of the module are mapped to project variables that are used by the application.

Channel

Meaning

Default value

Data type

OutputSequence

Transmitter sequence number

Transmitter status

Receiver sequence number acknowledgment

Receiver status

BYTE

TxByte1–TxByte15

Control byte in sending direction or transmission data

BYTE

InputSequence

Receiver sequence number

Receiver status

Transmitter sequence number acknowledgment

Transmitter status

BYTE

RxByte1–RxByte15

Control byte in receiving direction or received data

BYTE

User Parameter Tab

The check box Symbolic values is used for switching between the numeric and the symbolic value.

Name

Meaning

Numeric/symbolic value

Default value

Data type

Input MTU

Size of the maximum transmission unit (MTU), in bytes, available in the cyclic input data area

15 / 15 bytes

15 / 15 bytes

BYTE

Output MTU

Size of the MTU, in bytes, available in the cyclic output data area

15 / 15 bytes

15 / 15 bytes

BYTE

Block Forward

Maximum number of Input MTU blocks sent without acknowledgment from the module to the superordinate system

1 / 1

1 / Block Forward

BYTE

Block Forward Delay

Waiting time between Input MTU blocks sent without acknowledgment from the module to the superordinate system

0 / 0

0 / Block Forward Delay

BitArea

Multiple Segments

Multiple segments within MTU not permitted/permitted

0 / off

1 / on

0 / off

BYTE

Segment Size

Segment size is maximum MTU size /segment size can exceed MTU size

0 / off

2 / on

0 / off

BYTE

Baudrate

Set baud rate

1200 / 1200

2400 / 2400

4800 / 4800

9600 / 9600

19200 / 19200

38400 / 38400

57600 / 57600

115200 / 115200

57600 / 57600

BitArea

Data Bits

Number of data bits

7 / 7

8 / 8

7 / 7

BYTE

Stop Bits

Number of stop bits

1 / 2

2 / 4

1 / 2

BYTE

Parity

Parity control bit

48 / Low

49 / High

69 / Even

78 / None

79 / Odd

69 / Even

BYTE

Upper Threshold

Upper threshold of the receiver FIFO

1024 / 1024

1024 / 1024

BitArea

Lower Threshold

Lower threshold of the receiver FIFO

512 / 512

512 / 512

BitArea

Receive Idle Time

Receive timeout

4 / 4

4 / Receive Idle Time

BitArea

Rx Frame Termination Char 1

Receive termination character 1

-1 / -1

-1 / Rx Frame Termination Char 1

BitArea

Rx Frame Termination Char 2

Receive termination character 2

-1 / -1

-1 / Rx Frame Termination Char 2

BitArea

Rx Frame Termination Char 3

Receive termination character 3

-1 / -1

-1 / Rx Frame Termination Char 3

BitArea

Rx Frame Termination Char 4

Receive termination character 4

-1 / -1

-1 / Rx Frame Termination Char 4

BitArea

Transmit Idle Time

Transmit timeout

5 / 5

5 / Transmit Idle Time

BitArea

Tx Frame Termination Char 1

Transmit termination character 1

-1 / -1

-1 / Tx Frame Termination Char 1

BitArea

Tx Frame Termination Char 2

Transmit termination character 2

-1 / -1

-1 / Tx Frame Termination Char 2

BitArea

Tx Frame Termination Char 3

Transmit termination character 3

-1 / -1

-1 / Tx Frame Termination Char 3

BitArea

Tx Frame Termination Char 4

Transmit termination character 4

-1 / -1

-1 / Tx Frame Termination Char 4

BitArea

RTS Inversion

Invert RTS (Request To Send) level

0 / off

16 / on

0 / Off

BYTE

CTS Inversion

Insert CTS (Clear To Send) level

0 / off

1 / on

0 / Off

BYTE

Hw Hand Shake Cts Recognition

Evaluation of the hardware handshake line CTS

0 / disabled

1 / flow control

0 / Disabled

BYTE

Hw Handshake Rts Mode

Operating mode of the output level of the hardware handshake line RTS, always on passive

16 / flow control

16 / Flow control

BYTE

Sw Handshake Xon Char

XON character ASCII code for flow control using software handshake

17 / 17

17 / Sw handshake Xon character

-1 / Deactivated

BitArea

Sw Handshake Xoff Char

XOFF character ASCII code for flow control using software handshake

19 / 19

19 / Sw handshake XOff character

-1 / Deactivated

BitArea

Sw Handshake Period

Automatic repeat time in milliseconds for sending the current XON/XOFF status character

0 / 0

0 / Software handshake period

BitArea