Siemens IM182 - Profibus Slave

The TwinCAT system can be used as a slave in a Profibus with the aid of the Profibus DP - slave fieldbus card.
The DPRAM is 1536 (0x600) bytes. There are no interrupts used.

Context menu

Siemens IM182 - Profibus Slave 1:

Delete Device... <Del>

Removes the IM182 fieldbus card from the I/O configuration.

Online Reset

Initiates an online reset on the Profibus.

"SPC3 / IM182" tab

Siemens IM182 - Profibus Slave 2:

Address: Enter the DPRAM card address here. This address is jumped on the card

Port: The card uses one of the ports 0x320 or 0x330

Stations No.: Each Profibus device requires a unique station number.

Tab ”(Online) DPRAM”

See ”Online Display of DPRAM

Input Diagnosis

The Siemens SPC3/IM182 automatically provides one input byte which describes the status of the card and the Profibus:

Flags: The individual bits have the following definitions:

Variables can be defined under the inputs and outputs for data exchange with a Profibus master. These variables are exchanged with the Profibus master and can be linked within TwinCAT.

Variables are added as described in ”Additional Tasks” under ”Adding Variables”