Helmholz CAN 300 PRO Скачать руководство пользователя страница 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CAN 300 PRO 

CAN Communication Module for S7-300 

Start-Up Guide for CANopen

®

 

Edition 3 / 22.12.2011 

 

 

Systeme Helmholz

 GmbH

 | Hannberger Weg 2 | D-91091 Großenseebach 

Phone +49 9135 7380-0 | Fax +49 9135 7380-110 | [email protected] | www.helmholz.com  

Содержание CAN 300 PRO

Страница 1: ...Communication Module for S7 300 Start Up Guide for CANopen Edition 3 22 12 2011 Systeme Helmholz GmbH Hannberger Weg 2 D 91091 Gro enseebach Phone 49 9135 7380 0 Fax 49 9135 7380 110 info helmholz de...

Страница 2: ......

Страница 3: ...right 2011 by Systeme Helmholz GmbH Hannberger Weg 2 91091 Grossenseebach Germany Note We have checked the content of this manual for conformity with the hardware and software described Nevertheless b...

Страница 4: ...istory of this document Edition Date Revision 1 29 9 2009 1st version 2 30 04 2010 Corrections for CANParam V4 20 and Firmware V1 20 3 22 12 2011 Correction of the SF LED behavior and further small co...

Страница 5: ...he slave 14 3 4 Importing a project into the CAN 300 PRO 14 3 5 First diagnosis 15 3 6 Scan for slaves 16 4 Preparations in the PLC 17 4 1 Loading data handling blocks 17 4 2 PLC in the RUN state 18 4...

Страница 6: ...ired 27 7 1 I O area in the PLC 27 7 2 Monitoring slave devices 27 7 3 Writing SDOs in the slave device 29 7 4 Operating conditions for CANopen slave devices 30 8 Troubleshooting 31 8 1 Looking for er...

Страница 7: ...Param software CANopen data handling blocks for CAN 300 PRO and manuals Two CAN connectors with terminating resistors CAN cable Manual of your CANopen device with documentation of the CANopen function...

Страница 8: ...ttention to the terminating resistors 120 ohms between CAN High and CAN Low at both ends of the cable and ensure that the three cables CAN High CAN Low CAN GND are not confused Manual Section 3 2 The...

Страница 9: ...the programming software of the PLC Manual Section 4 The module can be used wherever a CP module is allowed i e also in the expansion unit after an interface module You should change the name of the m...

Страница 10: ...s image The Basic parameters tab card has not function with the CAN 300 PRO 2 3 Connecting to the PC Connect a USB cable to the CAN 300 PRO and connect it to your PC Manual Section 6 2 If you are conn...

Страница 11: ...o the CAN 300 PRO in the upper right field 3 1 Creating a new project Activate the wizard with Set project in the Project menu You will now be guided through some dialog boxes in which basic settings...

Страница 12: ...In this dialog box select the CAN baud rate which is preset for your CANopen device We recommend setting lower baud rates such as 500 kpbs for initial start ups 12 Start up Guide CAN 300 PRO...

Страница 13: ...CANopen device The synchronous signal and master heartbeat should be activated and initially set to the suggested times The options in the Start up behavior group box can be retained Set the PLC I O b...

Страница 14: ...device is not known the Scan to slaves function will help If you do not know the node ID of your device you can use the Scan for slaves function after importing the project created so far into the CA...

Страница 15: ...s displayed in the controller status on the right hand side of the dialog box This should show 0x00 in the error register and the error counters The node status should be OK For further information on...

Страница 16: ...s empty the device you have connected cannot be detected as a CANopen slave on the CAN bus the baud rate is wrong or the cabling is not correct If the CAN device does not support the SDO 0x1000 it can...

Страница 17: ...form of a Step 7 example project ZIP file or directory You will find the project as C3PRO_CANopen _V1x ZIP and newer in the STEP7 CAN 300 PRO directory Open this project to use the blocks Copy the bl...

Страница 18: ...tional should be shown for the configured slave in the list of slaves below that Manual Section 6 7 2 If the slave status is 0x00 the slave has not been found If the status is 0x04 stop 0x6A slave det...

Страница 19: ...AN bus If the PLC is in the RUN state and a valid project has been imported both LEDs should flash or shine steadily depending on the CAN traffic The ON LED flashes until the PLC is in the STOP state...

Страница 20: ...n be modified as required You can find out which data are located where in which PDO either from the device manual or with the Show the slave mapping read out function in the Online CANopen Tools menu...

Страница 21: ...C is already defined In this example that is input bytes IB50 to IB 109 60 bytes for the TPDOs transmitted by the slave and for the data to be transmitted to the slave RPDOs output bytes QB50 to QB 10...

Страница 22: ...ese to the master in the project This ensures that the master transfer the mapping into the device on each start up For this purpose activate the Transmit PDO mapping to the slave option and enter the...

Страница 23: ...on the debug screen to find the cause 5 4 SDO abort codes The SDO abort code is the response of the CANopen slave device to the writing or reading of an SDO The CAN 300 PRO writes and reads some SDOs...

Страница 24: ...f the last emergency message transmitted in the Emergency column of the debug screen Structure of the emergency message Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Emergency Error Code Err...

Страница 25: ...of the PLC cycle to read the received data TPDOs of the slave from the CAN 300 PRO into the PLC CALL FB 20 DB20 Base 256 Dest P E 50 0 BYTE 60 STAT MW20 Err M22 6 RetVal MW24 NewData M22 0 After this...

Страница 26: ...of the PDOs to flag areas or in data blocks For larger CANopen projects in particular the use of data blocks is recommended because of the quantity of PDO data However be sure to adapt the parameters...

Страница 27: ...nal PIB 264 Node ID on use of the bit filter or of the master PIB 257 PIB 259 and PIB 260 provide information about the status of the CAN communication In PIB 261 you can see the status of the CANopen...

Страница 28: ...e with a time that is 1 5 times longer than the set heartbeat time that is in this case 300ms With the Device Monitoring setting Nodeguard the time base for querying the CANopen slave device is define...

Страница 29: ...Os can be communicated to each CANopen slave device in the CANParam software during parameterization These are always written into the device on start up The required SDOs can be inserted as a list in...

Страница 30: ...up message 0x700 node ID data 0x00 4 For monitoring by the master the slave should support either nodeguarding or producer heartbeat Please use the device manual to check whether the conditions state...

Страница 31: ...slave list of the CANopen debug display These stations can be defined as a mandatory device if necessary Initially set Wait after reset to a long time e g 30 seconds if the master displays all slaves...

Страница 32: ...of the CAN 300 PRO and an error analysis You will find the next dates in the Internet at www helmholz com Training courses can also be held on your site 8 3 Start up support Furthermore we will gladly...

Страница 33: ...Start up Guide CAN 300 PRO 33 Notes...

Отзывы: