5.3 Cp340, Cp360, Cp380 and Cp382: B&R 2005 Modules - Cpus - Cp340, Cp360, Cp380 and Cp382

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382

5.3 CP340, CP360, CP380 and CP382


5.3.1 General Information
The CP340, CP360, CP380 and CP382 are high-performance CPUs for the B&R SYSTEM
2005. The CPUs are operated in the main rack directly beside the power supply module. They
require two or three slots.
It is equipped with one or three insert slots for aPCI interface modules, a Compact Flash
interface for CF memory cards and a floating point unit. An RS232 programming interface, a USB
interface and a 10/100 BASE-T ETHERNET interface are available.
The aPCI insert slot for interface modules makes it possible to connect the CPUs to different bus
and network systems.

The CPUs are especially useful for applications where lower cycle times are required, very large
amounts of data must be processed or for applications using the FPU.

B&R SYSTEM 2005 User's Manual V4.0

129

Chapter 3
B&R 2005 Modules

The Compact Flash interface allows the size of the memory to be adjusted to suit different
memory requirements of many diverse applications.

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.2 Order Data

Model Number

Short Description

3CP340.60-1

2005 CPU, x86 233 Intel-compatible, 16 MB DRAM, 512 KB SRAM, exchangeable application
memory: Compact Flash, 1 insert slot for aPCI modules, 1 USB interface, 1 RS232 interface,
1 Ethernet interface 100 Base-T. Program memory must be ordered separately.

3CP360.60-1 1)

2005 CPU, Pentium 266, 32 MB DRAM, 512 KB SRAM, exchangeable application memory: Compact
Flash, 1 insert slot for aPCI modules, 1 USB interface, 1 RS232 interface, 1 Ethernet interface
100 Base-T. Program memory must be ordered separately.

3CP380.60-1

2005 CPU, Pentium III 500, 64 MB DRAM, 512 KB SRAM, exchangeable application memory:
Compact Flash, 1 insert slot for aPCI modules, 1 USB, 1 RS232 interface, 1 Ethernet interface
100 Base-T. Program memory must be ordered separately.

3CP382.60-1

2005 CPU, Pentium III 500, 64 MB DRAM, 512 KB SRAM, exchangeable application memory:
Compact Flash, 3 insert slots for aPCI modules, 1 USB, 1 RS232 interface, 1 Ethernet interface
100 Base-T. Program memory must be ordered separately.

CPU

Program Memory 2)
5CFCRD.0032-01

Compact Flash 32 MB ATA/IDE SanDisk

5CFCRD.0064-01

Compact Flash 64 MB ATA/IDE SanDisk

5CFCRD.0128-01

Compact Flash 128 MB TrueIDE SanDisk

5CFCRD.0256-01

Compact Flash 256 MB ATA/IDE SanDisk

5CFCRD.0512-01

Compact Flash 512 MB ATA/IDE SanDisk


Accessories

0G0001.00-090

Cable PC <-> PLC/PW, RS232, online cable

Table 55: CP340, CP360, CP380 and CP382 order data


1) This CPU replaces the 3CP360.60-2. The 3CP360.60-1 has one additional USB interface.
2) Program memory is required to operate the CPUs. It is not included with the delivery of the CPUs, instead it must be ordered as an
accessory.

130

B&R SYSTEM 2005 User's Manual V4.0

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.3 Technical Data
Product ID

CP340

CP360

CP380

CP382

General Information
C-UL-US Listed

Yes

B&R ID Code

---

Module Type

B&R 2005 CPU

Slot
Main Rack
Expansion Rack

3+4
No

Power Consumption
5V
24 V
Total, without memory card
and without interface module

3-5
No

Max. 4.5 W
Max. 1 W
Max. 5.5 W

Max. 11 W
Max. 3 W
Max. 14 W

Clock Frequency

233 MHz

266 MHz

500 MHz

Typical Instruction Cycle Time

0.038 s

0.02 s

0.012 s

16 KB

2 x 16 KB

2 x 16 KB

---

512 KB

256 KB

16 MB DRAM
496 KB SRAM

32 MB DRAM
496 KB SRAM

64 MB DRAM
496 KB SRAM

Max. 13 W
Max. 3 W
Max. 16 W

Max. 13 W
Max. 4 W
Max. 17 W

Data and Program Code


L1 Cache
L2 Cache
Standard Memory
RAM
User RAM
Remanent Variables

32 KB

Chapter 3
B&R 2005 Modules

Processor Section

256 KB

FPU

Yes

Integrated I/O processor

Processes I/O data points in the background

Data Buffering
Lithium Battery
Battery Monitoring

At least 3 years
Yes

Peripheral
Compact Flash Interface
Connection
Memory Size

1
ATA / True IDE
32 MB to 512 MB (as of 07/2003)

Real-time Clock
Resolution

Nonvolatile
1s

Reset Button

Yes

Status Display

LEDs

Insert slots for aPCI interface


modules IF7xx

Table 56: CP340, CP360, CP380 and CP382 technical data

B&R SYSTEM 2005 User's Manual V4.0

131

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


Product ID

CP340

CP360

CP380

CP382

Standard Communication
Interfaces
Application Interface IF1
Electrical Isolation
Design
Distance
Baud Rate

RS232
No
9-pin DSUB plug
Max. 15 m / 19200 Baud
Max. 115.2 kBaud

Application Interface IF2


Electrical Isolation
Design
Distance
Baud Rate

ETHERNET
Yes
RJ45 socket
Max. 100 m
10/100 MBaud

Application Interface IF3

USB Rev. 1.1

Mechanical Characteristics
Dimensions

B&R 2005 double-width

B&R 2005 triple width

Table 56: CP340, CP360, CP380 and CP382 technical data (cont.)

5.3.4 Restrictions
Limitation

Replacement

NC Manager software for NC modules NC154 and NC157 are not


supported. That means, these NC modules do not function with these
CPUs. The NC150 can be used in applications with direct I/O access
when the NC Manager is not used.

Direct control of ACOPOS via the CAN interface or ETHERNET


Powerlink with the new NC Manager software.

The RIO-Master EX150 is not supported.

CAN IO, ETHERNET Powerlink

The PROFIBUS FMS module NW150 is not supported.

CAN IO, ETHERNET Powerlink

The IF050 communication module is not supported.

IF060

The IF681 interface module is not supported.

ETHERNET Onboard Interface

Table 57: CP340, CP360, CP380 and CP382 limitations

132

B&R SYSTEM 2005 User's Manual V4.0

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.5 Status LEDs
LED

Description

READY

CPU is active

RUN

Application running

ERROR

SERVICE mode

BAT CPU

CPU battery empty or not present

BAT BUS

Bus battery empty or not present

CF BUSY

Compact Flash BUSY

CF OK

Compact Flash OK

100TX

10/100 MBaud ETHERNET

ACT/LNK

ETHERNET Activity/Link

Chapter 3
B&R 2005 Modules

Image

Table 58: CP340, CP360, CP380 and CP382 Status LEDs

B&R SYSTEM 2005 User's Manual V4.0

133

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.6 Operational and Connection Elements
The operational elements, display elements, one or three insert slots for aPCI interface modules,
the slot for the program memory, the battery compartment and the connection plug for the RS232
interface are all found behind the module door. The RJ45 socket for the ETHERNET interface
and the USB interface can be found on the bottom of the module.
CP340, CP360 and CP380

Figure 57: CP340, CP360 and CP380 operational and connection elements

134

B&R SYSTEM 2005 User's Manual V4.0

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382

Chapter 3
B&R 2005 Modules

CP382

Figure 58: CP382 operational and connection elements

5.3.7 Slot for Program Memory


Program memory is required to operate the CPUs. The program memory is Compact Flash. It is
not included with the delivery of the CPUs, instead it must be ordered as an accessory.
5.3.8 Reset Button
The reset button can be pressed with any small pointed object (e.g. paper clip). The reset button
is protected by the module door. Pressing the reset button triggers a hardware reset, which
means:

All application programs are stopped

All outputs are set to zero

The PLC then goes into SERVICE mode.

B&R SYSTEM 2005 User's Manual V4.0

135

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.9 Operating Mode Switch
The CPUs are equipped with a hex switch which acts as an operating mode switch.
Switch Position

Operating Mode

$0

Boot

Description
In this switch position the default B&R Automation Runtime (AR) is started, and the runtime system
can be installed using the online interface (B&R Automation Studio). User Flash is deleted after the
download begins.

$4

Run

RUN Mode

$F

Diagnostics

The CPU boots in Diagnostics mode. Program sections in User RAM and User FlashPROM are not
initialized. After diagnostics mode, the CPU always boots with a warm restart.

Table 59: CP340, CP360, CP380 and CP382 operating modes

5.3.10 RS232 Interface (IF1)


The RS232 interface is not electrically isolated. It can be used as an online interface for
communicating with the programming device.
Interface

Description

PG interface
RS232

Pin Assignments

The RS232 interface operates as an


online interface.
Online connection to the PG is achieved
using a standard RS232 cable that is
available from B&R:
Module ID
Model No.

RS232 Cable
0G0001.00-090

Max. Baud Rate:


Max. Cable Length:

115.2 kBaud
15 m

RS232
1

DCD

Data Carrier Detect

RXD

Receive Signal

TXD

Transmit Signal

DTR

Data Terminal Ready

GND

Ground

DSR

Data Set Ready

RTS

Request To Send

CTS

Clear To Send

RI

Ring Indicator

9-pin DSUB plug

Table 60: CP340, CP360, CP380 and CP382 RS232 interface (IF1)

5.3.11 ETHERNET Interface (IF2):


IF2 is an ETHERNET interface. The connection is made using a 10/100 BASE-T Twisted Pair
RJ45 socket on the bottom of the module.
The INA2000 station number for the ETHERNET interface is set with both hex switches.

Information:
The onboard ETHERNET interface is not suitable for ETHERNET Powerlink.

136

B&R SYSTEM 2005 User's Manual V4.0

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.12 USB Interface (IF3)
The IF3 is a USB interface. The connection is made using a USB interface for Rev. 1.1 on the
bottom of the module.
The USB interface can only be used for devices which have been released by B&R (e.g. floppy
disk drive, DiskOnKey or dongle).

Information:
The USB interface (IF3) cannot be used as an online communication interface.
5.3.13 Insert Slot

The B&R SYSTEM 2005 can be connected to various bus or network systems using plug-in
interface modules.
The following aPCI interface modules can be operated presently in the CPUs:
Module

Description

3IF761.9

aPCI interface module, 1 PROFIBUS DP interface, electrically isolated and network capable, 1 RS232 interface

3IF762.9

aPCI interface module, 1 PROFIBUS DP interface, electrically isolated and network capable, 1 RS422/RS485 interface,
electrically isolated and network capable

3IF772.9

aPCI interface module with one RS232 interface and two CAN interfaces

3IF786.9

aPCI interface module, 1 ETHERNET Powerlink interface, manager or controller function, 1 RS232 interface

3IF787.9

aPCI interface module 1 ETHERNET Powerlink interface, manager or controller function, 1 CAN interface , max. 500 kbps,
object buffer in send and receive direction, network capable, electrically isolated. Order TB704 terminal blocks separately.

3IF789.9

aPCI interface interface module, 1 ETHERNET Powerlink Schnittstelle, manager or controller function, 1 X2X Link Master
interface, electrically isolated. Order TB704 terminal block separately.

Table 61: CP340, CP360, CP380 and CP382 aPCI interface module inserts

B&R SYSTEM 2005 User's Manual V4.0

137

Chapter 3
B&R 2005 Modules

The CPUs are equipped with one or three insert slots for aPCI interface modules.

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.14 Data/Real-time Buffering
The following areas are buffered:

Remanent variables

User RAM

System RAM

Real-time clock

Buffering is achieved using a lithium battery in the following order:


1) CPU battery:

The battery is in the CPU

2) Bus battery:

The backup battery is either in the B&R 2005 rack or in the AC240 battery
module

Battery Monitoring
The battery voltage is checked cyclically. The cyclic load test of the battery does not considerably
shorten the battery life, instead it gives an early warning of weakened buffer capacity.
The status information, "Battery OK" is available from the system library function "BatteryInfo".
Battery Change Interval
Battery

Change Interval

CPU Battery

The battery should be changed every 4 years. The change interval refers to the average life span and
operating conditions and is recommended by B&R. This does not correspond to the maximum buffer
duration.

Bus Battery

See the section "Backup Battery" in the sections 2 "Module Racks" and 17.2 "AC240" (Battery
Module).

Table 62: CP340, CP360, CP380 and CP382 battery changing intervals

138

B&R SYSTEM 2005 User's Manual V4.0

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.15 Changing the Lithium Battery
The CPUs are equipped with a lithium battery. The lithium battery is placed in a separate
compartment and protected by a cover.
Buffer Battery Data
Lithium Battery

3 V / 950 mAh

Model Number

0AC201.9

Short Description

Lithium batteries, 5 pcs., 3 V / 950 mAh, button cell

Storage Temperature

-20 to +60 C

Storage Time

Max. 3 years at 30 C

Relative Humidity

0 to 95% (non-condensing)

The product design allows the battery to be changed with the PLC switched on or off. In some
countries, safety regulations do not allow batteries to be changed while the module is switched
on.

Information:
The data stored in the RAM of the CPU is not lost while power is not applied during
a battery change, if the CPU is located in the module rack and the bus battery is
functioning normally.
The bus battery is located either in the B&R 2005 rack or in the AC240 battery
module

B&R SYSTEM 2005 User's Manual V4.0

139

Chapter 3
B&R 2005 Modules

Table 63: CP340, CP360, CP380 and CP382 data for the backup battery

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


Procedure for Changing the Battery
1) Touch the mounting rail or ground connection (not the power supply!) in order to discharge
any electrostatic charge from your body.
2) Remove the cover from the lithium battery holder using a screwdriver.

Figure 59: CP340, CP360, CP380 and CP382 - removing the cover for the lithium battery

3) Remove the battery from the holder by pulling the removal strip (don't use uninsulated tools
because of risk of short circuiting). The battery should not be held by its edges. Insulated
tweezers may also be used for removing the battery.

Figure 60: CP340, CP360, CP380 and CP382 - holding the battery correctly

140

B&R SYSTEM 2005 User's Manual V4.0

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382

Figure 61: CP340, CP360, CP380 and CP382 - removal strip should be pulled to the right

5) Now wrap the end of the removal strip over the top of the battery and insert it underneath the
battery so that it does not protrude from the battery holder.
6) Replace cover. Insert the lower edge of the cover in the battery holder opening. Press the
upper end of the cover home firmly.

Information:
Lithium batteries are considered hazardous waste. Used batteries should be
disposed of accordingly.
5.3.16 Local I/O Bus Expansion
Since the CPUs do not have their own expansion master, the EX350 I/O master controller is
needed for local I/O bus expansion. By using this controller, up to four expansion racks with all
I/O modules can be used with the CPUs.
The I/O master controller is operated in the expansion slot of a PS465 power supply module. I/O
modules on the main rack are handled by the CPU. The EX350 module supports the CPU by
processing I/O module data on the expansion racks.

B&R SYSTEM 2005 User's Manual V4.0

141

Chapter 3
B&R 2005 Modules

4) Insert the new battery with correct polarity. The removal strip should be pulled to the right of
the battery holder and the "+" side of the battery should be facing left. In order to be able to
remove the battery again in future, the removal strip must be on the right side of the battery.

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


5.3.17 Programming System Flash
General Information
The CPUs are delivered with a default B&R Automation Runtime (with limited functions)
already installed. This runtime system is started in boot mode (operating mode switch
position 0). It initializes and operates the serial RS232 onboard interface, allowing a runtime
system download via INA2000 protocol.
This runtime system download is carried out during the commissioning of the CPU. The runtime
system is stored in the program memory (Compact Flash) of the processor. A runtime system
update can be carried out later.
A runtime system download or update is made using the programming system (starting with B&R
Automation Studio V2.1).
Runtime System Download
When installing the runtime system (runtime system download) the following procedure must be
carried out:
1) Turn off power to the PLC.
2) A runtime system download is only possible if the processor is in boot mode. To do this, the
operating mode switch must be turned to 0.
3) Switch on the power supply again.
4) Establish an online connection between the programming device (PC or Industrial PC) and
the CPU. A runtime system download is only possible using the serial RS232 onboard
interface.
5) Start B&R Automation Studio.
6) Start the download procedure by calling the Services command from the Project menu.
Select Transfer Operating System... from the menu shown. Follow the instructions from
B&R Automation Studio.
7) A dialog box is displayed for configuring the runtime system version. The runtime system
version is already preselected by the user's project settings. Using the drop-down menu, the
runtime system versions stored in the project can be selected. Clicking on the Browse button
allows the selected runtime system version to be loaded from the hard drive or from the CD.
Pressing Next > opens a pop-up window, which allows the user to select whether the
modules should be downloaded with SYSTEM ROM target memory using the following
runtime system download. Otherwise, modules can also be downloaded using a later
application download.
Pressing Next > brings the user to a control box where the current settings are displayed.

142

B&R SYSTEM 2005 User's Manual V4.0

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


8) The download procedure is started by pressing Next >. Download progress is shown in a
message window.

Information:
The User Flash is cleared.
9) The operating mode switch must be turned to 4 when the download procedure is completed.
10) Turn PLC off and then on again.
11) The PLC is now ready for use.

When updating the runtime system (online runtime system update) the following procedure must
be carried out:
1) An online runtime system update is only possible if the processor is in RUN mode. To do this,
the operating mode switch must be turned to 4.
2) Switch on the supply voltage.
3) Establish online connection (online cable) between the programming device (PC or Industrial
PC) and the CPU. An online runtime system update is only possible using the CPU
interfaces.
4) Start B&R Automation Studio.
5) Start the update procedure by calling the Services command from the Project menu. Select
Transfer Operating System... from the menu shown. Follow the instructions from B&R
Automation Studio.
6) A dialog box is displayed for configuring the runtime system version. The runtime system
version is already preselected by the user's project settings. Using the drop-down menu, the
runtime system versions stored in the project can be selected. Clicking on the Browse button
allows the selected runtime system version to be loaded from the hard drive or from the CD.
Pressing Next > opens a pop-up window, which allows the user to select whether the
modules should be downloaded with SYSTEM ROM target memory using the following
runtime system update. Otherwise, modules can also be downloaded using a later
application download.
Pressing Next > brings the user to a control box where the current settings are displayed.

B&R SYSTEM 2005 User's Manual V4.0

143

Chapter 3
B&R 2005 Modules

Runtime System Update

B&R 2005 Modules CPUs CP340, CP360, CP380 and CP382


7) The update procedure is started by pressing Next >. The update progress is shown in a
message window.

Information:
The User Flash is cleared.
8) When the update procedure is complete, the online connection is automatically established
again.
9) The PLC is now ready for use.
An operating system update is not only possible through an online connection, but also through
a CAN network, serial network (INA2000 protocol) or an ETHERNET network, depending on the
system configuration.

144

B&R SYSTEM 2005 User's Manual V4.0

You might also like