TM5SDM8DTS_OIOO Parameters

Description

Digital mixed module 24 Vdc pre-configured with:

oFour oversampled inputs

oFour oversampled outputs

Parameterizing the Device Object Corresponding to the Module

Step

Action

1

Add module in the Devices tree under a Sercos III bus interface (TM5NS31).

2

Double-click on the module in the Devices tree.

Result: The device editor is opened and the index cards Sercos III Module I/O Mapping, User Parameter, and Information are displayed.

Index Card Sercos III Module I/O Mapping

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

I/O mapping channel

Meaning

Data type

ErrorQuit

Acknowledgement of the detected active errors (QuitOutputControlError, QuitOutputCopyError)

 Refer to Controlling the Oversampled Outputs.

BYTE

OversampleControl

Control of the oversample functionality (OversampleEnable, OversampleControlCopyActive)

 Refer to Controlling the Oversampled Outputs.

BYTE

OversampleOutputCycle

Oversampled output buffer address to write OversampleOutput0xSample1_8.

 Refer to Controlling the Oversampled Outputs.

BYTE

OversampleOutput01Sample1_8

8 bits oversampling output data for channel 03, which is written to the oversampling output buffer.

Refer to Controlling the Oversampled Outputs.

BYTE

OversampleOutput02Sample1_8

8 bits oversampling output data for channel 04, which is written to the oversampling output buffer.

BYTE

OversampleOutput03Sample1_8

8 bits oversampling output data for channel 07, which is written to the oversampling output buffer.

BYTE

OversampleOutput04Sample1_8

8 bits oversampling output data for channel 08, which is written to the oversampling output buffer.

BYTE

ModuleOK

Value for OK = 245

Bit 0: DcOk, Power supply in the valid range: 0 = Invalid, 1 = Valid

Bit 1: Reserved

Bit 2: NetworkOK, TM5 bus: 0 = Not OK, 1 = OK

Bit 3: I/O Data valid, I/O Data: 0 = Valid, 1 = Invalid

Bit 4 - 7: Reserved

BYTE

ErrorState

State of the detected active errors

Refer to Controlling the Oversampled Outputs.

Bit 1 - 4: Reserved

Bit 5: OutputControlError, 0 = No error detected, 1 = Error detected

Bit 6: OutputCopyError, 0 = No error detected, 1 = Error detected

Bit 7 - 8: Reserved

BYTE

DigitalInput01-08

Values of the input channels 01 to 08

BYTE

OversampleInputCycle

Oversampling input buffer address of the I/O module

 Refer to Controlling the Oversampled Outputs.

BYTE

OversampleInput01Sample1_8

8 bits oversampling input data for channel 01, which is written to the oversampling output buffer.

BYTE

OversampleInput02Sample1_8

8 bits oversampling input data for channel 02, which is written to the oversampling output buffer.

BYTE

OversampleInput03Sample1_8

8 bits oversampling input data for channel 05, which is written to the oversampling output buffer.

BYTE

OversampleInput04Sample1_8

8 bits oversampling input data for channel 06, which is written to the oversampling output buffer.

BYTE

Index Card User Parameter

The change over between numeric and symbolic values takes place via the check box Symbolic values.

Name

Meaning

Default value

Data type

Cycle time

(200...2000 [μs/8])

TM5SDM8DTS cycle time

Refer to Configuration of Timing Parameters.

1000

BitArea

Cycle prescaler

(2...128)

Value to prescale the system time

Refer to Configuration of Timing Parameters.

2

BitArea

Oversample cycle

System timer (2) or prescaled system timer (3)

Refer to Configuration of Timing Parameters.

2 (system timer)

BYTE