Siemens CP5412 A2

The DPRAM of the CP5412A2 is 16 or 64 Kbytes. There are no interrupts used. There are no functional differences between the 16k and 64k settings. In general therefore the 16k setting is recommended.

Context menu

Siemens CP5412 A2 1:

Append Box... <Insert>

Adds Profibus slaves (boxes). As the addressing in the Profibus takes place via fixed station numbers, the sequence of the added boxes is irrelevant.

Currently supports the following boxes (further details on the boxes given later):

Supported boxes

Description

BK3000

Bus Coupler (max. 1.5 MBaud)

BK3100

Bus Coupler (max. 12 MBaud)

BK3010

Economy Bus Coupler (max. 1.5 MBaud)

BK3110

Economy Bus Coupler (max. 12 MBaud)

BK3500

Bus Coupler (fibreoptic, max. 1.5 MBaud)

LC3100

Low-cost Bus Coupler (max. 12 MBaud)

BC3100

Bus controller with integrated PLC (max. 12 MBaud)

GSD Device

General Profibus device (GSD files required from the manufacturer)

Delete Device... <Del>

Removes the CP5412A2 fieldbus card and all subsidiary elements from the I/O configuration.

Online Reset

Initiates an online reset on the Profibus.

"CP 5412" tab

Siemens CP5412 A2 2:

Address: The DPRAM address of the card is set here. The software sets this address when the card is initialized

Siemens CP5412 A2 3:

Reserve DPRAM area

For newer motherboards/BIOS, the DPRAM area which the card will use in the computer BIOS may need to be reserved. The corresponding setting is generally carried out in PNP-BIOS and is described as ISA Memblock.

16 / 64kByte: Here you set whether the card should use 16 or 64 kByte DPRAM. There are no functional differences between the 16k and 64k settings. Therefore, the 16k setting is recommended in general.

Port: Used to set the port address for the card, which is set on the card via the DIL switch. When the card is initialized, the DPRAM address specified above is set via the port. Available ports (in hex) (with the corresponding DIL switches 1-4) are:

Station No.: Each PROFIBUS device requires a unique station number – including the master

Baud rate: The PROFIBUS baud rate is set here. Automatically tests whether the connected slave also supports this baud rate

Cycle ticks: The smallest possible cycle time for the currently specified slave is set here automatically. It can be manually increased (in ms)

Synchron mode.: The highest priority task linked with the corresponding device controls the fieldbus cycle and is thus synchronized with the fieldbus. All other tasks are served asynchronously via corresponding buffers.

”Profibus” tab

Siemens CP5412 A2 4:

The parameters set here are described in the PROFIBUS standard (DIN 19245 part 3 - PROFIBUS-DP), Chapter 7 and should only be changed by expert users.

Tab ”(Online) DPRAM”

See ”Online Display of DPRAM” .

Input Diagnosis

The Siemens CP5412A2 automatically provides two input bytes, which describe the status of the card and the Profibus:

Siemens CP5412 A2 5:

DeviceState: General status, which only assumes values 0=OK and 1=error

DeviceDpState: DeviceDpState is a flag byte, the individual bits have the following definitions:

0x00 = No error

0x01 = Transmitter fault

0x02 = Master address fault

0x04 = HSA fault

0x08 = Baud rate fault

0x80 = Temp fault

Siemens CP5412 A2 6:

If the CP5412A2 is implemented in a Beckhoff IPC with 24 V UPS and/or with special keys, the port address must be changed from 0x240 to another value as 0x240 is configured by the IPC.