In order to parameterize a module per PLC Configuration in the device editor, proceed as follows:
Step |
Action |
---|---|
1 |
Append module in the TM5NS31). beneath a Sercos III bus interface ( |
2 |
Afterwards double-click the module in the .Result: The device editor is opened and the tabs , , and are displayed. |
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 |
---|---|---|---|
Transmitter sequence number Transmitter status Feedback receiver sequence number Receiver status |
– |
BYTE |
|
Control byte in sending direction or transmission data |
– |
BYTE |
|
Receiver sequence number Receiver status Feedback transmitter sequence number Transmitter status |
– |
BYTE |
|
Control byte in receiving direction or received data |
– |
BYTE |
A selection list (Baudrate) or a direct input (Upper Threshold) is used for setting the values.
The check box
is used for switching between the numeric and the symbolic value.
Name |
Meaning |
Numeric/symbolic value |
Default value |
Data type |
---|---|---|---|---|
Size of the MTU in bytes, which is available in the cycle input data area |
15 / 15 byte |
15 / 15 byte |
BYTE |
|
Size of the MTU in bytes, which is available in the cyclic output data area |
15 / 15 byte |
15 / 15 byte |
BYTE |
|
Maximum number of MTU input blocks sent without acknowledgement from the module to the superordinated system |
1 / 1 |
1 / Block Forward |
BYTE |
|
Waiting time between MTU input blocks sent without acknowledgement from the module to the superordinated system |
0 / 0 |
0 / Block Forward Delay |
BitArea |
|
Multiple segment within MTU not permitted/permitted |
0 / off 1 / on |
0 / off |
BYTE |
|
Segment size maximum MTU size/segment size may exceed MTU size |
0 / off 2 / on |
0 / off |
BYTE |
|
Baudrate |
Set Baudrate |
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 of the receiver FIFO |
1024 / 1024 |
1024 / 1024 |
BitArea |
|
Lower threshold of the receiver FIFO |
512 / 512 |
512 / 512 |
BitArea |
|
Receive timeout |
4 / 4 |
4 / Receive Idle Time |
BitArea |
|
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 timeout |
5 / 5 |
5 / Transmit Idle Time |
BitArea |
|
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 |
Level inverting RTS (Request To Send) |
0 / off 16 / on |
0 / off |
BYTE |
|
Level inverting CTS (Clear To Send) |
0 / off 1 / on |
0 / off |
BYTE |
|
Evaluation of the HW handshake line CTS |
0 / disabled 1 / flow control |
0 / disabled |
BYTE |
|
Operating mode of the output level of the HW handshake line RTS mandatorily on passive |
16 / flow control |
16 / flow control |
BYTE |
|
XOn character ASCII code for flow control using SW handshake |
17 / 17 |
17 / Sw Handshake Xon Char -1 / Deactivated |
BitArea |
|
XOff character ASCII code for flow control using SW Handshake |
19 / 19 |
19 / Sw Handshake Xoff Char -1 / Deactivated |
BitArea |
|
Automatic repeat time in milliseconds for sending the current XOn/XOff status character |
0 / 0 |
0 / Sw Handshake Periode |
BitArea |
For further information, see the TM5 Communication Modules Hardware guide.