Data Area

In general, TcCOM objects can contain data areas that can be used by the environment (e.g., by a PLC instance or by the TwinCAT I/O area). For TwinCAT MC3 TcCOM objects, you have a choice of data structures to use via the Data Area tab.

Pulse Width Current Drive (MDP250) (both channels) / PWM Inputs

Enable (default)

Name

Type

Description

Data Area 1:

Channel 1 Ready to enable

BIT

Channel 1: The terminal indicates that it is ready for operation.

Data Area 2:

Channel 1 Warning

BIT

Channel 1: A warning has occurred.

Data Area 3:

Channel 1 Error

BIT

Channel 1: An error has occurred, and the output drivers are disabled.

Data Area 4:

Channel 2 Ready to enable

BIT

Channel 2: The terminal indicates that it is ready for operation.

Data Area 5:

Channel 2 Warning

BIT

Channel 2: A warning has occurred.

Data Area 6:

Channel 2 Error

BIT

Channel 2: An error has occurred, and the output drivers are disabled.

Data Area 7:

WcState

BIT

Working counter

Data Area 8:

InputToggle

BIT

Level change upon receipt of a new telegram.

Pulse Width Current Drive (MDP250) (both channels) / PWM Outputs

Enable (default)

Name

Type

Description

Data Area 9:

Channel 1 Enable dithering

BIT

Dithering for Channel 1 is "enabled."

Data Area 10:

Channel 1 Enable

BIT

Enable dithering for channel 1.

Data Area 11:

Channel 1 Reset

BIT

Resetting an error on Channel 1.

Data Area 12:

Channel 1 PWM Output

INT

Output from the PWM terminal on channel 1

Data Area 13:

Channel 2 Enable dithering

BIT

Dithering for Channel 2 is "enabled”.

Data Area 14:

Channel 2 Enable

BIT

Enable dithering for channel 2.

Data Area 15:

Channel 2 Reset

BIT

Resetting an error on Channel 2.

Data Area 16:

Channel 2 PWM Output

INT

Output from the PWM terminal on channel 2.

Notice

Warning in the error log window caused by selected entries that are not linked to an I/O device

Entries in the data areas of drive and encoder objects that are enabled (Enable = True) but are not linked to the I/O drive object result in a warning in the error log window. If the link for a function used at runtime is missing, this results in a runtime error. For example, an axis cannot be started if the status word from the I/O drive object is not linked.

  • Link the required entries for the interface between the axis and the I/O device
  • Deselect the entry that is not required to avoid generating a warning.