17.02.2013 Views

CANopen Basics Instruction Manual pdf - Kuhnke

CANopen Basics Instruction Manual pdf - Kuhnke

CANopen Basics Instruction Manual pdf - Kuhnke

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Kuhnke</strong> Control Units<br />

6.2 KUBES Modules for <strong>CANopen</strong><br />

6.2.1 Read Emergency Messages (CO_EMY_R)<br />

Puts all incoming emergency messages on the error<br />

stack. The error stack stores the 128 most recent<br />

emergency objects in a ring buffer.<br />

KUBES module CO_EMY_R allows you to retrieve the error<br />

messages from the ring buffer for analysis.<br />

Name: ............................................................CO_EMY_R<br />

Controller .......................................................ProfiControl 680V<br />

CanControl 691<br />

Function .........................................................Read emergency messages<br />

Program code:<br />

Parameters:<br />

Input<br />

JPK CO_EMY_R ,<br />

BUS -|¯¯¯¯¯|- DEVICEID<br />

| |- KERN_ERR<br />

|_____|- EMY_ERR<br />

Function Symbol Type<br />

Par00 Selection of bus BUS B1<br />

Output<br />

Range of values<br />

0 � Bus2<br />

1 � Bus1<br />

Function Symbol Type<br />

Range of values<br />

Par01 Station address DEVICEID B8 [1...127]<br />

Par02 Kernel error KERN_ERR B16 See device data<br />

Par03 Emergency error EMY_ERR BX See device data<br />

74 E 615 GB<br />

06.02.2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!