Helmholz PN/CAN Gateway Manual

Rofinet/can layer 2
Hide thumbs Also See for PN/CAN Gateway:

Advertisement

Quick Links

PN/CAN gateway, PROFINET/CAN Layer 2
Manual
Version 2 - 06/22/2020 | for firmware V2.06 and above
Helmholz GmbH & Co. KG | Hannberger Weg 2 | 91091 Großenseebach | Germany
Phone +49 9135 7380-0 | Fax +49 9135 7380-110 | info@helmholz.de | www.helmholz.de
Link to newest version of
manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PN/CAN Gateway and is the answer not in the manual?

Questions and answers

Summary of Contents for Helmholz PN/CAN Gateway

  • Page 1 Version 2 - 06/22/2020 | for firmware V2.06 and above Link to newest version of manual Helmholz GmbH & Co. KG | Hannberger Weg 2 | 91091 Großenseebach | Germany Phone +49 9135 7380-0 | Fax +49 9135 7380-110 | info@helmholz.de | www.helmholz.de...
  • Page 2 Helmholz GmbH & Co. KG. All rights reserved in the event of the granting of a patent or the registration of a utility model. To download the latest version of this manual, please visit our website at www.helmholz.de. We welcome all ideas and suggestions.
  • Page 3: Table Of Contents

    PROFINET connection ......................15 4.2.4 USB interface ........................15 CAN bus ......................16 CAN bus wiring ........................16 CAN bus plug ........................16 Setup and use ....................17 Install GSDML file ........................17 PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 4 Set receive channel filter ....................30 7.4.2 Collecting messages from the receive channel ..............31 Transmission channel (Tx-FIFO) ..................... 33 7.5.1 Sending messages ......................33 LED-based diagnosis ..................35 Technical data ....................36 PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 5: General

    1 General This operating manual applies only to devices, assemblies, software, and services of Helmholz GmbH & Co. KG. 1.1 Target audience for this manual This description is only intended for trained personnel qualified in control and automation engineering who are familiar with the applicable national standards. For installation, commissioning, and operation of the components, compliance with the instructions and explanations in this operating manual is essential.
  • Page 6: Note Symbols And Signal Words

    If the hazard warning is ignored, people can be injured or harmed. Draws attention to sources of error that can damage equipment or the environment. Gives an indication for better understanding or preventing errors. PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 7: Intended Use

    Helmholz GmbH & Co. KG. The PN/CAN gateway may not be used as the only means for preventing hazardous situations on machinery and systems.
  • Page 8: Liability

    Helmholz GmbH & CO. KG is not liable for damage caused by software that is running on the user’s equipment which compromises, damages, or infects additional equipment or processes through the remote maintenance connection and which triggers or permits unwanted data transfer.
  • Page 9: Recycling / Weee

    1.7 Recycling / WEEE The company Helmholz GmbH & Co. KG is registered as a manufacturer with the HELMHOLZ brand and the device type "Small devices of information and telecommunications technology for exclusive use in households other than private households" as well as the following registration data: Helmholz GmbH &...
  • Page 10: System Overview

    2.1 General/area of application The PN/CAN gateway connects a CAN network into a PROFINET network. Any CAN messages in 11 bit or 29 bit format (CAN 2.0A / CAN 2.0B) can be integrated into the IO area of a PROFINET CPU.
  • Page 11: Installation

    • Do not touch components and assemblies on contacts. 3.4 Overcurrent protection Overcurrent protection isn't necessary as the PN/CAN gateway transports no load current. The power supply of the PN/CAN gateway electronics is to be secured externally with a fuse of maximum 1 A (slow-blowing). 3.4.1 Operation Operate the PN/CAN gateway only in flawless condition.
  • Page 12: Installation Position

    In order to ensure safe operation, the ambient temperature must not exceed 60 °C. 3.5 Installation position The PN/CAN gateway can be installed in any position. The front plate must be accessible in order to plug in bus lines. 3.6 Minimum clearance It is recommended to adhere to the minimum clearances specified when installing devices.
  • Page 13: Setup And Wiring

    4 Setup and wiring 4.1 EMC/safety/shielding The PN/CAN gateway complies with EU Directive 2004/108/EC (“Electromagnetic Compatibility”). One effective way to protect against disturbances caused by electromagnetic interference is to shield electric cables, wires, and components. When setting up the system and routing the required cables, make sure to fully comply with all standards, regulations, and rules regarding shielding.
  • Page 14: Wiring Of The Pn/Can Gateway

    4.2 Wiring of the PN/CAN gateway 4.2.1 Voltage supply The PN/CAN gateway is supplied with 24 V DC voltage via the 3-pin power supply plug: GND (-), 18…30V DC (+),FE. The housing of the PN/CAN Gateway is not grounded. Please connect the functional grounding connection (FG named FE on front) of the PN/CAN Gateway correctly with the reference potential.
  • Page 15: Profinet Connection

    Receive data + White Receive data - Blue 4.2.4 USB interface The service USB interface is currently only required for the firmware update and for diagnostics in the event of support. PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 16: Can Bus

    A CAN bus cable requires at least three wires: CAN high, CAN low, and CAN ground. Only linear bus topologies are allowed, A terminating resistor of 120 ohms must be connected between CAN high and CAN low at both ends of the CAN bus cable. The PN/CAN gateway has no installed bus terminating resistor.
  • Page 17: Setup And Use

    6 Setup and use 6.1 Install GSDML file The GSDML file can be found in the download area of the PN/CAN gateway at www.helmholz.de. Install the GSDML-file in TIA-Portal in the menu “Options / Manage general station description files (GSD)”.
  • Page 18 By calling up the object properties, the PN/CAN gateway should be assigned a unique PROFINET name and the IP address be checked for plausibility. The name of the configured device must later be assigned to the physical device (see Ch. 6.8).
  • Page 19: Setting Gateway Parameters

    CAN bit rate: 10, 50, 100, 125, 250, 500, 800 Kbps, and 1 Mbps are available as bit rates. CAN identifier type: The PN/CAN gateway can process and transmit CAN messages with either 11 bit identifiers or with 29 bit identifiers.
  • Page 20 Carry out a device reset for PLC stop: When the PN/CAN gateway receives the "PLC in stop" signal via PROFINET, it can carry out an internal reset in order to ensure a defined basic status for a restart of the PLC.
  • Page 21: Adding Can Messages

    6.3 Adding CAN messages The PN/CAN Gateway Layer 2 can transmit and receive CAN messages with 1 to 8 bytes of data and any CAN-IDs. A module with the CAN identifier must be configured in the slots of the PN/CAN gateway for each anticipated CAN message and each CAN message to be transmitted.
  • Page 22: Automatically Transmitting Can Messages

    CAN telegram in addition to the data. The modules for controlled reception have a control and a status byte in addition to the data bytes. The usage is explained in chapter 7.2. PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 23 PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 24: Controlled Transmission Of Can Messages

    In addition to the data, the length of the CAN messages can also be transferred to this module. The modules for controlled reception have a control and a status byte in addition to the data bytes. The usage is explained in chapter 7.3. PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 25: Assign The Profinet Device-Name

    In order for the PN/CAN gateway to be found by the PROFINET controller, the PROFINET device name must be assigned to the PN/CAN gateway. To do this, use the "Assign device name" function, which you can access with the right mouse button or in the Online menu when the PN/CAN gateway is selected.
  • Page 26: Programming In The Plc

    Reset: Carrying out a user reset. After setting the bit, one must wait for the bit 6 in the status byte 0. The PN/CAN gateway is in the INIT mode following the reset. The reset bit in status control can now be reset.
  • Page 27: Status (6 Bytes Inputs)

    The two mode status bits show the status of the PN/CAN gateway. Principally, an attempt is made to activate the status requested in the mode of the control word. However, this can be prevented by configuration errors.
  • Page 28: Controlled Receiving Of Can Messages

    RTR bit of the received message are supplied in this module. It is also possible to deactivate the module. If bit 3 is set to 0, all received messages are discarded and indication and the data bytes remain 0 . PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 29: Controlled Transmission Of Can Messages

    In addition, the data length and the RTR bit of the telegram to be sent can be transferred in this module. Furthermore, it is possible to deactivate the module. If bit 3 is set to 0, transmission is switched off independently of bit 0. PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 30: Receive Channel (Rx-Fifo)

    In contrast with the reception objects, the CAN messages for the reception channel can also have differing data lengths. The number of temporarily stored messages can be set in the parameters of the PN/CAN gateway (see ch. 6.2.1.) between 1 and 255.
  • Page 31: Collecting Messages From The Receive Channel

    3 "Receive channel FIFO: Mask and the code result in too many areas (max. 16)" will be displayed upon starting up of the PN/CAN gateway in status byte 1 of error 3 (see also Ch. 7.1.2). 7.4.2 Collecting messages from the receive channel The reception channel module has 1 byte of output data for the control and 15 bytes of input data for the status and the received CAN message.
  • Page 32 1 "Rx-FIFO Overrun”. The oldest received message is discarded. The error bit is static and must be reset with "Reset Overrun". With "Rx-FIFO Reset", the content of the Rx-FIFO can be completely deleted. PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...
  • Page 33: Transmission Channel (Tx-Fifo)

    13. By toggling (negate bit value) the bit 0 in byte 0 "Tx-Toggle", the message is entered into the transmission FIFO in the PN/CAN gateway. The bit 0 in the input byte 0 "Tx-ACK" is also toggled by the PN/CAN gateway as a response.
  • Page 34 The toggling of the "Tx-Acknowledge" bit only shows that the CAN message has been transferred to the internal transmission FIFO of the PN/CAN gateway. The time at which the CAN message was actually sent is not detectable in the PLC.
  • Page 35: Led-Based Diagnosis

    CAN-RX Flashing green CAN message is received without errors Red on CAN bus error in the receiver or PN/CAN gateway has not been configured yet CAN-TX Flashing green CAN messages are being transmitted Transmission error has occurred (e.g. false Baud rate, CAN bus disrupted) or PN/CAN gateway...
  • Page 36: Technical Data

    DIN EN 60068-2-27:2010 “Shock” Protection rating IP 20 Relative humidity 95% without condensation Installation position Permissible ambient temperature 0° C to 60° C Transport and storage temperature -20° C to 80° C PN/CAN gateway, PROFINET/CAN Layer 2 | Version 2 | 06/22/2020...

Table of Contents