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
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 |
---|---|
Bus Coupler (max. 1.5 MBaud) | |
Bus Coupler (max. 12 MBaud) | |
Economy Bus Coupler (max. 1.5 MBaud) | |
Economy Bus Coupler (max. 12 MBaud) | |
Bus Coupler (fibreoptic, max. 1.5 MBaud) | |
Low-cost Bus Coupler (max. 12 MBaud) | |
Bus controller with integrated PLC (max. 12 MBaud) | |
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
Address: The DPRAM address of the card is set here. The software sets this address when the card is initialized
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:
- 240-243 0000 (standard)
- 244-247 0001
- 248-24B 0010
- 24C-24F 0011
- 280-283 0100
- 284-287 0101
- 288-28B 0110
- 28C-28F 0111
- 300-303 1000
- 304-307 1001
- 308-30B 1010
- 30C-30F 1011
- 390-393 1100
- 394-397 1101
- 398-39B 1110
- 39C-39F 1111
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
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.
Input Diagnosis
The Siemens CP5412A2 automatically provides two input bytes, which describe the status of the card and the Profibus:
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
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. |