CCP 521
CCP 521
The CCP 521 processor module runs the control program and
thereby represents an essential component of an automation sys-
tem. The internal DC/DC converter powers all modules on a
C-DIAS module carrier.
The CAN bus, an Ethernet interface or the USB device (Mini USB)
can be used as the online interface.
With the integrated VARAN manager, the processor module offers the possibility to con-
struct a high-performance VARAN system to operate for example, decentralized I/O mod-
ules, drive systems or communication modules.
Compatibility
Completely PC-compatible. The CCP 521 works with standard PC BIOS and therefore no
SIGMATEK-specific BIOS is needed; the LASAL operating system in provided.
15.03.2016 Page 1
CCP 521 C-DIAS PROCESSOR MODULE
Technical Data
Performance data
Internal I/O No
BIOS AMI
Page 2 15.03.2016
b
C-DIAS PROCESSOR MODULE CCP 521
Electrical requirements
Standard configuration
15.03.2016 Page 3b
CCP 521 C-DIAS PROCESSOR MODULE
Miscellaneous
Environmental conditions
Humidity 10 - 90 %, uncondensed
Pollution degree 2
Page 4 c 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Mechanical Dimensions
129 24.90
15.03.2016 Page 5
CCP 521 C-DIAS PROCESSOR MODULE
Connector Layout
Page 6 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Pin Function
1 +5 V
2 D-
3 D+
4 -
5 GND
Pin Function
1 +5 V
2 D-
3 D+
4 GND
It should be noted that many of the USB devices on the market do not comply with
USB specifications; this can lead to device malfunctions. It is also possible that
these devices will not be detected at the USB port or function correctly. Therefore,
it is recommended that every USB stick be tested before actual use.
Il faut souligner que la plupart des périphériques USB sur le marché ne sont pas
conformes aux spécifications USB, ce qui peut entraîner des dysfonctionnements
de l'appareil. Il est également possible que ces dispositifs ne seront pas détectés
par le port USB ou qu’ils ne fonctionnent pas correctement. Par conséquent, il est
recommandé que chaque clé USB soit testée avant l'utilisation sur l’automate.
X3: Ethernet
Pin Function
1 TX+
2 TX-
3 RX+
4-5 -
6 RX-
7-8 -
15.03.2016 Page 7a
CCP 521 C-DIAS PROCESSOR MODULE
X4: VARAN-Out
Pin Function
1 TX+ / RX+
2 TX- / RX-
3 RX+ / TX+
4-5 -
6 RX- / TX-
7-8 -
More information on the VARAN bus can be found in the VARAN bus specifica-
tions!
X5: CAN-Bus
1 2
Pin Function
1 CAN A (CAN LOW)
2 CAN B (High)
3 CAN A (CAN LOW)
4 CAN B (High)
5 GND
6 -
5 6
Pin Function
1 1 +24 V supply
2 GND
Page 8 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
The number of read and write actions have a significant influence on the
lifespan of the storage media.
Il est recommandé de n’utiliser que les supports de stockage approuvés par SIG-
MATEK (compact flash, microSD, etc.).
Numéro de commande pour la carte microSD 512 Mo Edge est le: 12-630-051
15.03.2016 Page 9
CCP 521 C-DIAS PROCESSOR MODULE
Page 10 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Applicable connectors
The complete C-DIAS CKL 017 connector set with spring terminals is available from
Sigmatek under the article number 12-600-017.
15.03.2016 Page 11
CCP 521 C-DIAS PROCESSOR MODULE
Status Displays
Ethernet
LED Color Description
Active Yellow Lights when data is exchanged over Ethernet
Link Green Lights when the connection between the two PHYs is established
VARAN
LED Color Description
Active Yellow Lights when data is exchanged over the VARAN bus
Link Green Lights when the connection between the two PHYs is established
Control
LED Color Description
ERROR Red Lights when an error occurs (defective USV)
DCOK Green Lights when the power supply is OK
Page 12 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Display
The CCP 521 processor module has a 2-digit decimal display (7 segment display) for the
following functions:
- When configuring the processor module, the parameters are shown in the display.
- If an error occurs while running the program or no valid user program is found, the dis-
play shows an error message. Thereby, "Er" (error) and the error code are displayed al-
ternatingly. The same error code is also shown in the LASAL status line.
- While running the program, the display can be used to show digits using the system
variable _cpuDisplay. Valid values are 0 to 255; values over 99, however, are not shown
and the display remains dark.
15.03.2016 Page 13
CCP 521 C-DIAS PROCESSOR MODULE
Each CAN bus station is assigned its own station number. With this station number, data
can be exchanged with other stations connected to the bus. Up to 31 stations can be in-
stalled in a CAN bus system. However, each station number can only be assigned once.
The data transfer rate (baud rate) for the CAN bus can be set. However, the longer the
length of the bus, the smaller the transfer rate that must be selected.
These values are valid for the following cable: 120 , Twisted Pair.
NOTE: the following is valid for the CAN bus protocol: 1 kBit/s = 1 kBaud.
Page 14 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
15.03.2016 Page 15
CCP 521 C-DIAS PROCESSOR MODULE
To enter the mode for setting changes, press and hold the SET button while the C-IPC is
booting.
After releasing the SET button, the first menu appears in the display.
With several short presses of the SET button, it is possible to switch through the various
menu points. By pressing the SET button for approximately 1.5 s, the menu is accessed
and the setting can be changed with short presses.
Once the desired changes are made, press the SET button for about 5 seconds to end the
process. If the changes are to be discarded, press the RESET button to restart the C-IPC.
The settings for the IP address, subnet mask and gateway are hexadecimal, whereas in
the left and right digits, 0 - F must be entered separately. The switch occurs when the SET
button is pressed for about 1.5 s.
The values from AUTOEXEC.LSL are used as the standard settings; changes are written
back to this file. Before this, the original content of the file is written to AUTOEXEC.BAK.
Page 16 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
15.03.2016 Page 17
CCP 521 C-DIAS PROCESSOR MODULE
CAN-Bus- D-SUB-plug
termination on with terminating
terminal module resistors
CAN-Bus-Connections
If the CCP 521 processor module is an end module, it can be terminated by placing a 150-
Ohm resistor between CAN-A (Low) and CAN-B (High).
1 x 150-Ohm resistor
Page 18 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
The CCP 521 must be connected to earth over the mounting on the back wall of the control
cabinet or over the earth terminal provided (C-DIAS module carrier). It is important to cre-
ate a low-ohm earth connection, only then can error-free operation be guaranteed. The
earth connection should have the maximum cross section and the largest electrical surface
possible.
Any noise signals that reach the CCP 521 over external cables must be filtered out over
the earth connection. With a large (electrical) surface, high frequency noise can also be
well dissipated.
15.03.2016 Page 19
CCP 521 C-DIAS PROCESSOR MODULE
Shielding
The wiring for the CAN bus, Ethernet and VARAN bus must be shielded. The low-ohm
shielding is either connected at the entry to the control cabinet or directly before the CCP
521 processor module over a large surface (cable grommets, grounding clamps)!
Noise signals can therefore be prohibited from reaching the electronics and affecting the
function.
ESD Protection
Before any device is connected to or disconnected from the CCP 521, the potential with
ground should be equalized (by touching the control cabinet or earth terminal). Static elec-
tricity (from clothing, footwear) can therefore be reduced.
Page 20 a 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Process Diagram
15.03.2016 Page 21
CCP 521 C-DIAS PROCESSOR MODULE
88 Display during system start. - The operating system is not fully booted
- Check operating system/boot medium
If the status does not change, the oper-
- Boot medium not inserted
ating system or application cannot be
started. This may be for different - Boot medium defective
reasons. - No operating system on the boot medium
- BIOS self-test error
- RAM, CPU, BIOS, etc.
Page 22 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Solution:
- Reprogram the memory module, if the
error reoccurs exchange the module.
- Correct programming error
04 CHKSUM An invalid checksum was detected before Cause/solution: s. POINTER
running the user program.
15.03.2016 Page 23
CCP 521 C-DIAS PROCESSOR MODULE
Solution:
- Correct programming error.
- Exchange CPU.
06 GENERAL General error
ERROR
Solution:
- Exchange the program memory module
08 Reset The CPU has received the reset signal
and is waiting for further instructions.
10 STOP
11 PROG BUSYS
12 PROGRAM
LENGTH
Page 24 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Solution:
- Correct programming error.
18 SINGLE The CPU is in single step mode and is
STEP waiting for further instructions.
Solution:
- Correct programming error.
15.03.2016 Page 25
CCP 521 C-DIAS PROCESSOR MODULE
Solution:
- Check the DIAS bus
- Check the termination resistors.
26 WAIT The CPU is busy.
32 NO DEVICE
33 UNUSED CODE
35 MAX IO
39 OFFLINE
40 APPL LOAD
41 APPL SAVE
Page 26 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Solution:
- Read log file
45 VARAN ERROR A required VARAN Client was Possible causes:
removed or a communication error
- Damaged wiring
has occurred. The program execu-
tion has stopped. - Missing energy supply for
decentralized modules
Solution:
- Read Log file
- Analyze error tree
46 APPL-LOAD-ERROR An error has occurred while
loading the application.
64 INTERNAL ERROR An internal error has occurred, all Restart; report error to Sig-
applications are stopped. matek.
67 REALTIME RUNTIME The total duration of all real-time Starting from Version 1.1.7
objects exceeds the maximum
time; the time cannot be config-
ured.
Page 28 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
103 C_RUNTIME
15.03.2016 Page 29
CCP 521 C-DIAS PROCESSOR MODULE
252 CONTINUE
Page 30 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
Application exceptions
SRAM and IRQ routines
Writing remnant data during interrupt routines is not allowed and leads to a system crash.
If more than 32 different sectors are changed (512 bytes each) shortly before shutting
down the voltage supply while the user program is writing to the microSD card, this can
sometimes lead to partial loss of remnant data.
The file system does not support safe writing through SRAM
If files are stored, modified or written on the microSD card from the user program, these
files must always be stored with a fixed maximum size. Since changes in size and the sim-
ultaneous shutdown of the voltage supply can corrupt the file system, a later change in the
file size is not allowed.
Data Breakpoint
15.03.2016 Page 31
CCP 521 C-DIAS PROCESSOR MODULE
2. Writing only in the event of PowerFail with a backup time buffered through the
hardware (starting with version 01.02.195)
The advantage of cyclic writing is that in the event of a severe system crash, it's possible to
reference an image of the SRAM data that with the standard settings, is a maximum of 1
minute older than the last change. With extensive use, the amount and frequency of SRAM
data changes from the user program can have a massive effect on the microSD card
lifespan.
Detailed information regarding the SRAM behavior and the corresponding settings can be
found in the LASAL OS documentation, in the chapter “SRAM”.
In the LASAL CLASS project, seldom changed value settings in retentive servers as well
as RamEx and StringRam objects, can be converted to file storage. Should existing objects
be converted from SRAM to File, the loader version 02.02.140 or higher and the RamEx
and StringRam classes of the Tools library version 01.02.033 or higher must be used.
If the user program runs cyclic writing processes in files, the tool “Flash Media Lifetime
Calculation” included in LASAL CLASS can be used to determine the effects of the opera-
tions mentioned above on the flash media. This allows the lifespan of the media to be cal-
culated for different, configurable writing scenarios.
Page 32 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
For applications in which the bus is run outside the control cabinet, the correct shielding is
required. Especially when for structural reasons, the bus line must be placed next to strong
electromagnetic interference. It is recommended to avoid placing VARAN bus lines parallel
to power cables whenever possible.
The VARAN cable must be secured at a distance of 20 cm from the connector for
protection against vibration!
Le câble VARAN doit être protégé contre les vibrations à moins de 20 cm du con-
necteur (par exemple à l’aide d’une pince)!
15.03.2016 Page 33
CCP 521 C-DIAS PROCESSOR MODULE
Page 34 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
15.03.2016 Page 35
CCP 521 C-DIAS PROCESSOR MODULE
Page 36 15.03.2016
C-DIAS PROCESSOR MODULE CCP 521
15.03.2016 Page 37
CCP 521 C-DIAS PROCESSOR MODULE
Page 38 15.03.2016