background image

 

Glossary 

 

SIMATIC PN/CAN LINK 
Operating Instructions, 03/2022, A5E39895388-AC 

167

 

Receive PDO 

A process data object (PDO) that is received by a CANopen device. 

RoHs (Restriction of certain Hazardous Substances) 

EU Directive 2011/65/EU restricts the use of certain hazardous substances in electrical and 

electronic devices. 

RTR (Remote Transmit Request) 

This mechanism enables a CANopen device to request another CANopen device to transmit 

data. 

SDO (Service Data Object) 

SDO is a specification for a framework for uniform data access to all entries in the CANopen 

object dictionary. 

SIMATIC Controller 

The SIMATIC Controllers are available as Basic, Advanced, Distributed and Software 

controllers. The Basic Controller S7-1200 for small to medium-sized applications, the 

Advanced Controller S7-1500 for medium-sized and complex applications, the Distributed 

Controller ET 200SP for distributed applications and the Software Controller S7-1500 for PC-

based applications. 

SYNC 

Synchronization object SYNC messages synchronize the communication on the CANopen bus. 

TIA (Totally Integrated Automation) 

The TIA Portal offers complete access to the entire digitalized automation - from digital 

planning over integrated engineering all the way to transparent operation. 

Transmit-PDO 

A process data object (PDO) that is sent by a CANopen device. 

 

Summary of Contents for SIMATIC PN/CAN LINK

Page 1: ......

Page 2: ... 2022 A5E39895388 AC Introduction 1 Safety instructions 2 New properties functions 3 System overview 4 Functions 5 Application planning 6 Mounting Extending 7 Connecting 8 Commissioning 9 Configuring Programming 10 Diagnostics 11 Maintenance and service 12 Technical specifications 13 Appendix A ...

Page 3: ...ly by personnel qualified for the specific task in accordance with the relevant documentation in particular its warning notices and safety instructions Qualified personnel are those who based on their training and experience are capable of identifying risks and avoiding potential hazards when working with these products systems Proper use of Siemens products Note the following WARNING Siemens prod...

Page 4: ...1 1 Basic functions 33 5 1 1 1 Overview 33 5 1 1 2 Object dictionary 34 5 1 1 3 Process data objects PDO 35 5 1 1 4 Service Data Objects SDO 36 5 1 1 5 EMCY messages 36 5 1 1 6 Heartbeat Node Guarding 37 5 1 1 7 SYNC messages 38 5 1 1 8 Data exchange between controller and PN CAN LINK 39 5 1 1 9 Conversion of data formats between PROFINET and CANopen 42 5 1 2 CANopen Manager 43 5 1 2 1 State model...

Page 5: ... 83 6 4 Storage 83 6 5 Scope of delivery 83 7 Mounting Extending 84 7 1 Installing the device 84 8 Connecting 86 8 1 Safety instructions and guidelines 86 8 2 Potential ratios 88 8 3 24 V DC power supply 89 8 4 Connecting the functional ground 91 8 5 Connecting PROFINET 92 8 6 Connecting the CAN bus 94 9 Commissioning 95 9 1 Commissioning the PN CAN LINK 95 10 Configuring Programming 97 10 1 Confi...

Page 6: ...S7 controller 143 11 2 1 Events that trigger a diagnostic message 143 11 2 2 Diagnostic messages 146 12 Maintenance and service 149 12 1 Firmware update 149 12 2 Replacing the PN CAN LINK 154 12 3 Recycling and disposal 155 13 Technical specifications 156 13 1 Technical specifications 156 13 2 Dimension drawing 160 A Appendix 161 A 1 Certificates and approvals 161 A 2 Contact address 163 A 3 Licen...

Page 7: ... the following target groups Commissioning engineers Operating and service personnel System integrator Knowledge required The following knowledge is required in order to understand the operating instructions Knowledge of programming a SIMATIC S7 controller Knowledge in the application of the TIA configuration environment Knowledge of working with the PROFINET fieldbus In depth knowledge of the CAN...

Page 8: ...ion 03 2018 Addition of naming scheme for generated PLC tags Minor improvements and additions 01 2022 Addition of the Simple slave functionality Minor improvements and additions Naming conventions The term PN CAN LINK or device is used in this documentation instead of the full product name SIMATIC PN CAN LINK The term S7 controller or S7 for short is also used for the SIMATIC S7 controller ...

Page 9: ...n Manual Designing interference free controllers https support industry siemens c om cs ww en view 59193566 Basics Electromagnetic compatibility Lightning protection PROFINET SIMATIC PROFINET System Description https support industry siemens c om cs ww en view 19292127 Basics Installation Functions Configuration examples The latest manuals for SIMATIC products are available for download free of ch...

Page 10: ...t shall constitute a revocation of the CE approval and manufacturer s warranty Intended use NOTICE The PN CAN LINK may only be used for the applications described in the catalog and in the associated technical documentation If the device is used in a manner other than the one specified by Siemens the protection offered by the device might be impaired See also the section Legal notices at the begin...

Page 11: ...es must be supplied from approved sources that meet requirements set forth by various standards for SELV PELV voltage limited sources Therefore only connect safety extra low voltages SELV with safe electrical separation according to IEC 60950 1 EN 60950 1 VDE 0805 1 to the supply voltage connections and the communications interfaces Working on the device or on connected components WARNING Risk of ...

Page 12: ...work or the internet if and to the extent such a connection is necessary and only when appropriate security measures e g firewalls and or network segmentation are in place For additional information on industrial security measures that may be implemented please visit https www siemens com industrialsecurity Siemens products and solutions undergo continuous development to make them more secure Siem...

Page 13: ... Portal version HSP required HSP version FW version Note V14 SP1 Yes HSP_V14_0197_001_Link_PN_CAN_1 0 V1 0 Update module description necessary V15 1 Yes HSP_V15_1_0197_001_Link_PN_CAN _1 0 V1 0 V16 Yes HSP_V16_0197_001_Link_PN_CAN_1 0 V1 0 V17 No V1 0 V17 Yes HSP_V17_0358_001_Link_PN_CAN_2 0 V1 0 V2 0 Simple slave functionality included ...

Page 14: ...vice to version V2 0 is required Note Use of a new PN CAN LINK V2 0 firmware version 2 0 and higher as replacement for a device with firmware V1 0 It is not possible to use a device with firmware V2 0 with a project that requires firmware V1 0 To bypass this restriction you must upgrade the PN CAN LINK in the project from V1 0 to V2 0 More information is available in the section Using an existing ...

Page 15: ... requests of the manager within the specified time the diagnostic message BootUp node not responding is sent to the PLC The diagnostic message is deleted as soon as the node responds correctly to the manager Under CANopen Manager Diagnostics For PN CAN LINK V2 0 the menu CANopen Manager Response to EMCY message is changed to CANopen Manager Diagnostics Check box Response to EMCY message Pass event...

Page 16: ...e deleted When you disable this option all data from a received PDO with a length deviating from the standard is discarded and replaced with the value of the last valid PDO last received PDO with the correct length The CANopen Manager calls up an error message in the diagnostic buffer Under CANopen node universal Communication Check box No NMT Layer 2 slave When you select this option the requeste...

Page 17: ...ect but is not downloaded to the PN CAN LINK The node does not exist in the configuration that is used by the PN CAN LINK No errors or warnings are generated by the PN CAN LINK Under CANopen Slave Diagnostics This menu is new for PN CAN LINK V2 0 in CANopen Slave mode Check box Enable additional diagnostics alarms When you disable this option the device does not send diagnostic alarms related to t...

Page 18: ...into the Error Passive state of the CAN bus The next error is signaled by a Passive Error Flag which consists of 6 recessive bits This signal does not destroy any other communication on the bus The device is fully operational unless an error counter exceeds 255 and the device goes into the Bus Off state New data type Boolean The Boolean data type is now available for transmit receive data OD and t...

Page 19: ...instruction with data record number 0x211 for this Note This functionality is only available in the CANopen Manager operating mode It returns an array of 127 bytes for the status of the node ID from 1 to 127 RET ARRAY 0 Status of node 1 RET ARRAY 1 Status of node 2 RET ARRAY 126 Status of node 127 Note Reading from 0x1F82OD with the SDO command only returns a status byte of a node instead of an ar...

Page 20: ...must use the HSP_V17_0358_001_Link_PN_CAN_V2 0 You can configure a PN CAN LINK with firmware version V1 0 using the same HSP If necessary you can download and install the HSP_V17_0358_001_Link_PN_CAN_V2 0 from Siemens Industry Online Support You can find the Hardware Support Packages HSP as a download on the Internet https support industry siemens com cs us en view 72341852 The HSP_V17_0358_001_Li...

Page 21: ...ible to use a device with firmware V2 0 with a project that requires firmware V1 0 To bypass this restriction you must upgrade the PN CAN LINK in the project from V1 0 to V2 0 More information is available in the section Using an existing configuration below If you are not making any changes after the upgrade the new device will work just like the old one More information is available in the chapt...

Page 22: ...INK to your configuration Using the HSP_V17_0358_001_Link_PN_CAN_V2 0 you can configure the PN CAN LINK with firmware version V1 0 and V2 0 When selecting the PN CAN LINK you can choose the desired firmware version in the HW catalog Figure 3 2 Selecting a firmware version in the HW catalog The new Simple slave functionality is only available as of version V2 0 ...

Page 23: ...N LINK from V1 0 auf V2 0 Precondition Use a PN CAN LINK V2 0 in your plant 1 Select the PN CAN LINK in the device view 2 To upgrade the PN CAN LINK click the Change firmware version button under General Catalog information 3 Confirm the Change device PN CAN LINK dialog with OK 4 As a downgrade from V2 0 to V1 0 is not possible the Change firmware version button is disabled afterwards ...

Page 24: ...e new HSP SIMATIC PN CAN LINK Operating Instructions 03 2022 A5E39895388 AC 23 5 Use the Simple slave functionality 6 Make sure that the device has the correct firmware version 2 0 before loading the changed configuration Figure 3 3 Changing the firmware version ...

Page 25: ...P1 To use a PN CAN LINK created in V14 SP1 follow these steps 1 Click Update module description You must repeat this step for each individual PN CAN LINK After clicking the Update module description button the Change firmware version button appears and a message is shown at the bottom right stating that the PN CAN LINK was updated successfully Now you can use the PN CAN LINK with its OD entries an...

Page 26: ...d OD entries are visible and work as intended NOTICE You are not permitted to transfer nodes process data messages between V1 0 and V2 0 within devices To avoid inconsistencies and ensure correct configuration you must update the module description on all devices Use the Update module description button if you want to use firmware version V1 0 Use the Update module description and Change firmware ...

Page 27: ...ew 4 4 1 Field of application Figure 4 1 SIMATIC PN CAN LINK The SIMATIC PN CAN LINK is a communication gateway and allows for the connection of SIMATIC controllers to the CAN fieldbus over PROFINET This connection enables the exchange of information and data between PROFINET and CAN ...

Page 28: ...can also take on the role of CANopen Manager in the CANopen network The PN CAN LINK can be operated in the following three modes CANopen Manager CANopen Slave CAN transparent The operating mode for the PN CAN LINK is set via the associated HSP in the TIA Portal The PN CAN LINK supports both the standard format CAN 2 0A as well as the extended CAN format CAN 2 0B The PN CAN LINK can operate up to 1...

Page 29: ...nt V1 8 0 CiA 303 Part 3 LED control Display specification V1 4 0 CiA 309 Part 4 Mapping of data types and their conversion Amendment 7 to Fieldbus Integration into PROFINET IO V1 0 0 The PN CAN LINK does not support the following standards CiA 305 regarding LSS functionality CiA 306 regarding XDD files CiA 1301 CiA 601 regarding CANopen FD Flexible Data I O data are transmitted on the CANopen sid...

Page 30: ...nded CAN format Configured CAN messages with fixed message ID and fixed length can be used in CAN transparent mode Programmed CAN messages for which the message ID and the length max 8 bytes is not determined by the S7 user program until runtime can be used in CAN transparent mode Users can send and receive CAN messages in the S7 automation program For this purpose Transmit proxy modules and Recei...

Page 31: ...th the CPU of the S7 controller takes place exclusively over the PROFINET interface From the PROFINET view the PN CAN LINK is an IO device according to Conformance Class B CC B The cyclic data exchange between the PN CAN LINK and the connected SIMATIC CPUs is based on updating the IO image Acyclic communication takes place by means of Read write data record services An external power supply unit w...

Page 32: ...IMATIC S7 1500 SIMATIC ET 200SP and SIMATIC Open Controller are supported 24 V voltage supply CAN bus PROFINET bus Windows PC for configuring commissioning and diagnostics TIA Portal V14 or higher you can find the required HSP on the Internet https support industry siemens com cs us en view 72341852 You can find an overview of all HSP firmware versions in the chapter Version overview Page 12 ...

Page 33: ...Design 24 V DC functional grounding Nameplate Status LEDs CAN Ethernet connector PROFINET CAN connection Status LEDs Ethernet MAC address Status LEDs device PROFINET See also 24 V DC power supply Page 89 Operating state of the PN CAN LINK PROFINET diagnostics Page 139 Connecting PROFINET Page 92 Connecting the CAN bus Page 94 ...

Page 34: ...1 CANopen 5 1 1 Basic functions 5 1 1 1 Overview Overview The following overview diagram shows the correlations in the communication between CAN and PROFINET M Only available in Manager mode S Only available in Slave mode Figure 5 1 PN CAN LINK principle of communication with CANopen ...

Page 35: ...the default values In CANopen Slave mode the PN CAN LINK monitors whether the entries were written at least once per SDO or if a matching PDO was received This information is compressed into one bit and sent cyclically as group status of all data in the PROFINET data to the S7 controller According to the CiA standard CiA 301 the default values are always applied to the OD in the NMT state Initiali...

Page 36: ...ission types Transmission method Description Acyclic synchronous PDO is transmitted during the next SYNC after a value change Cyclic synchronous Depending on the configuration PDO is transmitted for each first to 240th SYNC regardless of value changes RTR only On request only RTR message synchronous asynchronous PDO is only transmitted after a RTR message with the COB ID of the PDO was received Th...

Page 37: ...LINK is in CANopen Slave operating mode and the heartbeat for a monitored node fails 0x8130 General heartbeat or node guarding error Is transmitted when the PN CAN LINK is in CANopen Slave operating mode node guarding is enabled and monitoring by the master fails 0xFF90 Is transmitted when the connection to the S7 controller fails that is when the connection Application Relation is terminated or w...

Page 38: ...with all CANopen nodes Mixed operation with different monitoring functions is not possible Nevertheless slave nodes without the Heartbeat or Node Guarding functions can also be put into operation Note If a node does not support monitoring functions or if Heartbeat and Node Guarding are disabled a failure or fault of the node is not recognized by the PN CAN LINK as CANopen Manager Even when you sel...

Page 39: ... consumer as well as the send interval In CANopen Manager mode a different CANopen slave can be configured as SYNC producer The COB ID that must be used for this purpose can be changed in CANopen Slave mode by the manager with SDO The default value for the COB ID is 0x80 in CANopen Manager mode Note During SYNC not less than 100 μs internal time limit can be set Lower setting of OD 0x1006 is rejec...

Page 40: ... CAN LINK The values of the process data to be transmitted to the S7 controller are read from the object directory Control information and status information is exchanged cyclically between the PN CAN LINK and the S7 controller in CANopen Manager and in CANopen Slave mode The following controller information is cyclically transmitted by the S7 controller to the PN CAN LINK Control bit for the stat...

Page 41: ...es are transmitted to ensure consistency The sum of net data and status bytes provides the gross data Each submodule with IO data has one status byte for input data and one status byte for output data These submodules are PN CAN LINK rack 0 slot 0 interface and ports In addition to the configured data bytes net data each submodule with only input or output data has a status byte for input data and...

Page 42: ...1 8 0 1 1 Receive proxy_1 13 1 2 2 Transmit proxy_1 1 13 2 2 Sum 23 27 13 13 In this example the following values are calculated Net data 23 bytes for input data and 27 bytes for output data Gross data 36 bytes for input data and 40 bytes for output data Acyclic data exchange The PN CAN LINK provides 16 data records on the PROFINET side of the PN CAN LINK which the S7 user program can access with ...

Page 43: ... takes places prior to writing the process data received by the S7 controller to the OD or before the process data read from the OD are sent to the S7 controller The following table provides an overview of the data types supported by the PN CAN LINK and their conversion Conversion PROFINET data type CANopen data type Conversion Integer 8 INTEGER 8 None Integer 16 INTEGER 16 Byte sequence is automa...

Page 44: ...The PN CAN LINK controls the NMT state of the other CAN devices and executes the boot up procedure according to the CiA standard CiA 302 Part 2 Configuration Manager The PN CAN LINK configures the CANopen slaves during the boot up procedure by means of SDO write access 5 1 2 1 State model State model The state model in CANopen Manager mode is based on the NMT state model described in the CiA stand...

Page 45: ...en side because there is no CAN communication in this state The NMT state of the slaves connected via CANopen does not change Booting slaves The PN CAN LINK runs the boot up procedure according to CiA standard CiA 302 Part 2 and configures the CANopen slaves with SDO The PN CAN LINK has the NMT state Pre Operational The NMT state of the slaves connected via CANopen is Pre Operational after booting...

Page 46: ...o ON With this transition all CANopen slaves that are completely booted are set to Operational by NMT 5 Takes place when the control bit in the cyclic data from the S7 controller is set to OFF With this transition all CANopen slaves that are completely booted are set to Pre Operational by NMT 6 7 8 Is triggered by a heartbeat node guarding error of a mandatory slave if configured accordingly NMT M...

Page 47: ... data for the S7 controller to 1 The S7 controller can then set the reset bit to 0 0 When the reset has been performed and the reset bit is 0 the PN CAN LINK sets the reset acknowledgment bit to 0 Only then can a reset be performed again 0 Control bit 0 CANopen network is not supposed to be Operational If the current state of the CAN network is Operational a switchover to CAN network Pre Operation...

Page 48: ...en side to the user program running on the S7 controller the reset acknowledgment bit is used in the data that is cyclically sent from the PN CAN LINK to the S7 controller As soon as the command for resetting the CANopen side has been received this bit is set to 1 Afterwards the user program running on the S7 controller must set the reset bit to 0 When the reset of the CANopen side is complete the...

Page 49: ...sult the PN CAN LINK stops transmitting receiving any packages 2 Error Passive Error counter1 has reached the specified threshold The PN CAN LINK continues to transmit receive packages 3 Error Active Error counter1 is below a specified threshold This is the normal state Everything is okay 1 The error counters customary in CAN and their associated thresholds are internal functions that are not visi...

Page 50: ...ls SDO communication is initiated with the corresponding data record with the help of the services RDREC read data record and WRREC write data record A WRREC is always run first to transfer the desired SDO command to the PN CAN LINK it is followed by a RDREC to the same index to retrieve the result RDREC may have to be repeated multiple times if the PN CAN LINK returns information that SDO access ...

Page 51: ...ing error after booting DF80C200 Communication channel data record index is already busy The PN CAN LINK first expects a RDREC before it permits a new WRREC When an error is recognized SDO access is not even triggered RDREC Read data record Data record size 12 data length bytes for SDO read access 10 bytes for SDO write access The values of the SDO command that is the prior WRREC operation are ret...

Page 52: ...SDO completed successfully 1 SDO aborted or not yet started because a reset was triggered by PROFINET or the boot operation for the node was restarted 2 SDO aborted or net yet started because once the node was successfully booted it had a heartbeat or node guarding error 3 SDO started but aborted by the PN CAN LINK cause according to CiA 301 in error code additional information 4 SDO started but S...

Page 53: ...mit interval receive interval can be configured in the device configuration in TIA Portal Note If a problem with the configuration occurs with the Heartbeat function set the error response to Stop the link and all nodes and check the diagnostic buffer Note As of firmware version V2 0 The Heartbeat function can be disabled by setting the Transmit interval and the Monitoring time to 0 Node guarding ...

Page 54: ...ia NMT The state can be exited with a reset either by the reset bit in the cyclic data from the S7 controller or by configuring the PN CAN LINK again with the S7 controller Note Use this response to troubleshoot the CAN bus Note CANopen slaves that are not configured as mandatory by the user do not trigger the set error response When such a slave fails or signals an unexpected state the slave is r...

Page 55: ...figuration Manager If the PN CAN LINK is operated in CANopen Slave mode most of the configuration settings such as those for heartbeat or for PDOs are not made in the TIA Portal but are written to the OD of the PN CAN LINK during boot up by the CANopen Manager responsible for the CANopen network via SDOs Note Retentive storage in the PN CAN LINK of the configuration received from a CANopen Manager...

Page 56: ...A R Software version as character string Corresponds to the SW version that can also be read out via PROFINET and IM0 for example V 1 0 0 Build xxx 0x100C RW Guard Time for the node guarding protocol 0x100D RW Life Time Factor for the node guarding protocol 0x1014 RW COB ID for EMCY messages sent by the PN CAN LINK 0x1016 RW Field for Receiver Heartbeat Time that is the setting of which CANopen no...

Page 57: ... 2022 A5E39895388 AC 5 1 3 2 State model State model The state model in CANopen Slave mode is based on the NMT state model described in the CiA standard CiA 301 The figure below shows the states of the PN CAN LINK in CANopen Slave mode Figure 5 4 State model CANopen Slave ...

Page 58: ...gured in the HSP are reset to the values set in the HSP Communication is reset as well CANopen distinguishes between substates Reset Application The OD entries not equal to 0x1xxx are reset For PN CAN LINK these are the process data exchanged with the S7 controller Reset Communication The OD entries of the Communication Profile Area OD 0x1xxx are reset and thus the CANopen communication Pre Operat...

Page 59: ...riggered by an NMT command from the CANopen Manager by a communication error when OD 0x1029 was configured accordingly or when the control bit sent by the S7 controller in the cyclic data changes to OFF 7 Triggered by an NMT command from the CANopen Manager or by a communication error when OD 0x1029 was configured accordingly 8 Triggered by an NMT command from the CANopen Manager 9 Triggered by an...

Page 60: ...he CANopen Manager must configure and start the PN CAN LINK again in this case The PN CAN LINK acknowledges receipt of the reset command by setting the reset acknowledgment bit in the data for the S7 controller to 1 The S7 controller can then set the reset bit to 0 0 When the reset has been performed and the reset bit is 0 the PN CAN LINK sets the reset acknowledgment bit to 0 Only then can a rese...

Page 61: ...ller regarding the reset of the CANopen side As soon as the command for resetting the CANopen side has been received this bit is set to 1 The S7 controller must then set the reset bit to 0 When the reset of the CANopen side is complete the PN CAN sets the reset acknowledgment bit to 0 1 The PN CAN LINK is currently performing or has performed a reset but the reset bit of the S7 controller is still...

Page 62: ... needs more than two seconds to synchronize with the CAN bus 2 Error Passive Error counter1 has exceeded the specified first threshold The PN CAN LINK still transmits receives packages 3 Error Active Error counter1 is below a specified threshold The PN CAN LINK transmits receives packages This is the normal state Everything is okay 1 The error counters customary in CAN and their associated thresho...

Page 63: ...ANopen network When a monitored CANopen device fails the PN CAN LINK signals corresponding diagnostic information to the S7 controller In addition an EMCY message is transmitted on the CANopen side and the error response specified in the OD entry ErrorBehaviour at address 0x1029 subindex 0x01 is executed Error responses The following error responses are supported Subindex value Description 0x00 Ch...

Page 64: ...corresponding OD entries remain valid Data contents remain valid until a new value is present Failure of a CAN node The failure of a fieldbus node as well as bus problems on the CAN side are signaled to the S7 controller using diagnostic information Error Register The Error Register entry OD 0x1001 indicates the current error state of the device The PN CAN LINK uses the following bits from this en...

Page 65: ...o the S7 controller by the PN CAN LINK in case of error Received EMCY messages are signaled to the IO controller in extended PROFINET diagnoses This function can be activated or deactivated through configuration See EMCY messages Page 36 LEDs The PN CAN LINK signals its state in CANopen Manager mode and in CANopen Slave mode with the LEDs on the front of the housing The meaning of the LEDs is desc...

Page 66: ...n CAN transparent mode the PN CAN LINK has the two states OFF and ON PN CAN LINK state OFF No CAN frames are transmitted or received in this state The CAN controller does not participate in the CAN bus communication It does not transmit or receive messages or any error frames If the PN CAN LINK is not connected to an S7 controller or if the data from the S7 controller has the IO provider status Ba...

Page 67: ... controller has IO provider status Bad PN CAN LINK state is OFF Cyclic PROFINET data exchange is active and data from the S7 controller has IO provider status Good PN CAN LINK goes to the state conforming to the control bits OFF or ON The control bits are contained in the cyclic data that come from the S7 controller S7 controller changes to STOP PN CAN LINK state is OFF S7 controller changes to RU...

Page 68: ...ciple of the fixed CAN messages is based on data mapping This means a loss of intermediate values is acceptable Fixed messages can be sent in the following two ways When the data to be transmitted changes Time controlled that is as soon as the configured cycle time has elapsed With this transmission type the user data of the CAN messages is transmitted between the S7 controller and the PN CAN LINK...

Page 69: ...N LINK to S7 controller 1 byte Bit Meaning Possible values Note 7 3 Reserved 2 Group status of all data 0 Not all configured receive messages have been received at least once since the last transition to ON 1 All configured receive messages have been received at least once since the last transition to ON 1 0 State of the CAN controller 0 Off As specified by the S7 controller 1 Bus Off Error counte...

Page 70: ... transparent SIMATIC PN CAN LINK Operating Instructions 03 2022 A5E39895388 AC 69 Note For values made up of multiple bits the first bit is the MSB and the last bit is the LSB Example Bit 1 0 2 means Bit 0 0 and bit 1 1 ...

Page 71: ...se of programmed CAN messages however the order of the data bytes is not changed CAN messages with PROFINET input data receive messages Receive messages can be configured in the TIA Portal Each of these messages has its own message ID which is configured in the TIA Portal and its own data which is transmitted cyclically from the PN CAN LINK to the S7 controller via PROFINET as part of the input pr...

Page 72: ...n use multiple proxy modules to pre filter messages by CAN ID for example one receive proxy for commands only and one receive proxy for status messages Transmit proxy module CAN messages can be transmitted from the S7 user program with the help of a transmit proxy module It comprises cyclic PROFINET input and output data In the output data from the S7 controller to the PN CAN LINK the following in...

Page 73: ...mmand by setting the transmit acknowledgment bit in the data for the S7 controller to 1 The S7 controller can then set the transmit bit to 0 and must wait until the PN CAN LINK has also set the transmit acknowledge bit to 0 Only then can a new transmit command be issued Note If the control bit is 0 the CAN messages are not entered in the transmit buffer but are discarded instead 1 7 Reserved must ...

Page 74: ...e IDs filters on the PN CAN LINK side that it receives on the CAN bus The list can be filled during configuration and changed during runtime from the S7 user program by writing a corresponding data record If a corresponding CAN message is received it is entered in a receive buffer The message is transmitted from this buffer to the S7 controller in the cyclic input data The size of the receive buff...

Page 75: ...oxy the PN CAN LINK enters the message in the data for the S7 controller and sets the Message exists bit to 1 The S7 controller must then set the receive enable bit to 0 and must wait until the PN CAN LINK has also set the Message exists bit to 0 Only then may the S7 controller set the receive enable bit to 1 again Table 5 13 Structure of input data for receive proxy modules from PN CAN LINK to S7...

Page 76: ...nificant bit and byte 4 bit 0 the least significant bit Note May only be evaluated when the transfer bit is 1 5 12 Data bytes of the received CAN message In the order in which they were received Only the corresponding Number of data bytes in the received CAN message may be evaluated Note May only be evaluated when the transfer bit is 1 Note on the use of a receive proxy Representation of bits 1 Re...

Page 77: ... a bit in Mask is 0 the received CAN messages are not checked against the corresponding bit in the Criterion To ensure that a bit set in Criterion acts as a filter the corresponding bit in the Mask must be set to 1 Structure of the data to be written with WRREC Data record size 8 n bytes n Number of filters 1 to 16 Criterion filter 1 32 bit Big Endian Mask filter 1 32 bit Big Endian Criterion filt...

Page 78: ...D are entered in the receive buffer 28 0 Message ID Only CAN messages with the message ID are entered in the receive buffer Note For received CAN messages with 11 bit message ID bits 28 11 in the message are accepted as 0 If one of the bits 28 11 is set in Criterion as well as Filter the filter will not match any of the received 11 bit messages Example If a filter is to be set so that only 29 bit ...

Page 79: ...sual PROFINET methods When an error occurs the corresponding error LED on the CAN side ERR LED is triggered A corresponding diagnostic message is sent on the PROFINET side The diagnostic message can be read out with the TIA Portal Information on the events that trigger a diagnostic message is available in the section Events that trigger a diagnostic message Page 143 Section Diagnostic messages Pag...

Page 80: ...system Guidelines for installation of PN CAN LINK devices The PN CAN LINK is classified as open equipment based on standards for electrical devices You must install the PN CAN LINK in an enclosure control cabinet or in a control center Only authorized personnel must have access to the enclosure control cabinet or control center Installation and operation of the PN CAN LINK is only permitted in a d...

Page 81: ... ambient temperature Horizontal 25 60 C Vertical 25 55 C Lying 25 45 C Hanging 25 45 C Ensure that condensation is not produced at a relative humidity between 10 and 95 Ensure that the atmospheric pressure is between 795 hPa and 1080 hPa This corresponds to an installation height of 1000 m to 2000 m The PN CAN LINK is designed for natural heat dissipation through convection Therefore observe suffi...

Page 82: ... is designed for pollution degree 2 Pollution degree 2 according to the EN 50178 standard is non conductive contamination in the normal case which can briefly become conductive as a result of condensation when the device is not in operation Pollution of conductive parts through dust humidity and air pollution can result in fault conditions and electrical faults in the PN CAN LINK Degree of protect...

Page 83: ...is adequate see Chapter 24 V DC power supply Page 89 Installation in control cabinet device connection box NOTICE The device is intended for installation in a control cabinet or in a device connection box It is important to note that installation in a control cabinet or device connection box is essential for compliance with the UL regulations The control cabinet device connection box must satisfy ...

Page 84: ...ces must be stored in clean and dry rooms preferably in their original packaging The storage temperature must be between 40 C and 70 C 6 5 Scope of delivery PN CAN LINK 2 retaining collars for the Ethernet connections installed on the device in the delivery state Insert CD with license terms Unpacking and checking the delivery 1 Unpack the device 2 Check the delivery for completeness 3 Check the d...

Page 85: ...ces is available in the section Installation location Page 80 Mounting on a standard mounting rail Proceed as follows 1 Mount the PN CAN LINK on the mounting rail 2 Swivel the PN CAN LINK backwards until it engages audibly Figure 7 1 PN CAN LINK DIN rail mounting NOTICE If the device is not installed on a control panel the mounting sliders see figure Control panel mounting item must always be in t...

Page 86: ...s to the outside until they latch in place 3 Fasten the module with a cylinder head screw M4 as well as a spring lock washer and a flat washer Note Do not use a countersunk head screw The type of screw required depends on the type of material on which the module is mounted Fasten the screw with the corresponding torque until the spring lock washer is pressed flat Do not fasten the screws with exce...

Page 87: ...ious standards for SELV PELV voltage limited sources Therefore only connect safety extra low voltages SELV with safe electrical separation according to IEC 60950 1 EN 60950 1 VDE 0805 1 to the supply voltage connections and the communications interfaces Working on the device or on connected components WARNING Risk of electric shock May cause death or serious injury Voltages 60 V DC or 30 V AC are ...

Page 88: ...d E g by means of a low impedance connection to a ground potential Note Strain relief Ensure that all cables and leads that protrude externally are equipped with adequate strain relief Other requirements NOTICE Damaged cables The cables must be suitably dimensioned to ensure that they cannot be damaged Make sure that the cables are suitable for the individual application Observe the bending radii ...

Page 89: ... 24 V supply voltage and from the fieldbus interfaces The CAN interface is galvanically isolated from the power supply Shielding The shields of the PROFINET interface are galvanically connected NOTICE Sufficient interference immunity is only achieved through EMC compliant application of the cable shields of the PROFINET cables to a shield rail The shields of the CAN interface are capacitively deco...

Page 90: ...50 1 EN 60950 1 VDE 0805 1 or IEC 61131 2 EN 61131 2 DIN EN 61131 2 To maintain the safety property of the low voltage circuits of the PN CAN LINK the 24 V rated power supply as well as external connections to communication ports must be supplied from reliable sources that meet the requirements for SELV PELV limited voltage sources according to different standards Therefore only connect safety ext...

Page 91: ...DC supply line to protect against powerful pulses on the supply lines We recommend the Dehn Blitzductor BXT ML2 BD 180 article number 920 247 on basis BXT BAS or an equivalent protection element Manufacturer DEHN SOEHNE GmbH Co KG Hans Dehn Str 1 Postfach 1640 D 92306 Neumarkt Germany The lightning protection module must be installed and used in accordance with the manufacturer s specifications ...

Page 92: ...l for discharge of EMI such as bursts or surges to the FE terminal see 24 V DC power supply Page 89 Permissible conductor cross section 0 5 6 mm AWG 26 AWG 12 Note EMC compliant functional grounding Use as short a stranded wire conductor as possible with a large cross section Compliance with the technical specifications of the device is only assured with a correct functional ground connection ...

Page 93: ...nect system as connectors for the Ethernet cabling Always apply the shields of the PROFINET Ethernet cable at both ends Note To increase the mechanical stability optimized retaining collars for the two Ethernet connectors are installed on the bottom part of the housing in the delivery state These retaining collars are intended for the Siemens FastConnect connectors NOTICE Make sure you observe the...

Page 94: ...nt state The Ethernet switch installed in the PN CAN LINK is only in operation after run up of the PN CAN LINK A restart of the PN CAN LINK interrupts the Ethernet switch function Existing Ethernet connections over the switch are interrupted for the duration of the PN CAN LINK run up This can result in critical plant states ...

Page 95: ...nection CAN connection pin assignment 1 Terminating resistor 120 Ω install jumper from pin 1 to pin 2 for use 2 CAN_L CAN_L bus cable dominant low 3 CAN_GND CAN Ground 4 Not connected 5 CAN_SHLD CAN shield 6 CAN_GND CAN Ground 7 CAN_H CAN_H bus cable dominant high 8 Not connected 9 Not connected NOTICE The connection CAN Ground to ground is necessary to ensure EMC stability The common return CAN_G...

Page 96: ... Checking in the TIA Portal whether the PN CAN LINK module exists in the hardware catalog If necessary download and install the HSP HSP0197 PN CAN LINK from Siemens Service Support https support industry siemens com cs us en Firmware version V2 0 supports new functions that are made available with the following Hardware Support Package HSP HSP_V17_0358_001_Link_PN_CAN_V2 0 The HSP_V17_0358_001_Lin...

Page 97: ...PU to the PN CAN LINK 7 When the S7 program sets the control bit in the cyclic IO image to 1 the left RUN status LED on the PN CAN LINK lights up green and signals that the device is in error free operating state Note In CANopen Manager mode bit 2 must also be set to 1 in the control information transmitted from the S7 CPU to the PN CAN LINK see Control and status information Page 46 Result Succes...

Page 98: ...Portal V17 Firmware version V2 0 supports new functions that are made available with the following Hardware Support Package HSP HSP_V17_0358_001_Link_PN_CAN_V2 0 HSP_V17_0358_001_Link_PN_CAN_2 0 isp17 To work with firmware version V2 0 you must use the HSP_V17_0358_001_Link_PN_CAN_V2 0 You can also configure the PN CAN LINK with firmware version V1 0 via this HSP The HSP_V17_0358_001_Link_PN_CAN_V...

Page 99: ...ATIC PN CAN LINK 98 Operating Instructions 03 2022 A5E39895388 AC Figure 10 1 Selecting a firmware version in the HW catalog Or you can select the Change firmware version option for a PN CAN LINK that has already been configured ...

Page 100: ...Configuring Programming SIMATIC PN CAN LINK Operating Instructions 03 2022 A5E39895388 AC 99 Figure 10 2 Changing the firmware version ...

Page 101: ...3 Specify operating mode of the PN CAN LINK here CANopen Manager 4 Set the bus specific parameters e g node ID and transmission rate 5 Integrate additional CAN nodes import EDS files or create a new OD table when a node does not have an EDS file V2 0 and higher 6 Define transmit PDOs and receive PDOs of the node 7 Create OD entries for the transmit and receive data to be exchanged in the manager m...

Page 102: ...the firmware version V1 0 or V2 0 of the PN CAN LINK This step is only possible if the HSP_V17_0358_001_Link_PN_CAN_V2 0 is installed The PN CAN LINK appears in the Devices networks window 3 Connect the CPU and PN CAN LINK by means of a PROFINET connection CPU and PN CAN LINK are connected in the Devices networks window with a green PN line 4 Assign the parameters of the PROFINET interface of the ...

Page 103: ...nager CANopen Slave CAN transparent Figure 10 4 Selecting the CAN operating mode Select the CANopen manager operating mode After selection of the operating mode the parameters associated with the selected mode can be set All settings for the CANopen Manager module of the PN CAN LINK are made in slot 1 Setting the communication parameters Set the bus specific parameters for example node ID and tran...

Page 104: ...agnostics to S7 When you select this option all received EMCY messages are sent to the IO controller as diagnostic alarms Check box Enable diagnostic alarms for not mandatory nodes The option applies only to nodes that are not mandatory When you disable this option the disconnection of the nodes from the CAN bus or error messages that are pending in the CANopen network are not sent to the diagnost...

Page 105: ...ger CANopen Slave and CAN transparent Both error LEDs remain off Check box Block Error passive alarm When you select this option the error passive state of the CAN bus is not reported as an alarm in the diagnostic buffer The error LED remains off ISO 11898 CAN Layer 2 device If one of the error counters is above 127 the device goes into the Error Passive state of the CAN bus The next error is sign...

Page 106: ...n node universal from the hardware catalog This CAN node is a placeholder for the CAN device and appears in slot 2 Figure 10 7 Adding CAN nodes 2 Import the EDS Electronic Data Sheet file associated with the CAN device A click on the Import EDS file button opens the corresponding file selection dialog 3 As of firmware version 2 0 you can manually define the object dictionary OD For additional info...

Page 107: ...Configuring Programming 10 1 Configuring CANopen Manager SIMATIC PN CAN LINK 106 Operating Instructions 03 2022 A5E39895388 AC Figure 10 8 Define object dictionary as of firmware version 2 0 ...

Page 108: ...is no longer needed To edit an EDS file properly you need to know the structure of the EDS file well or use a specific EDS editor Data from the EDS file cannot be updated at a later time If the EDS file needs to be imported again due to changes e g corrections you must delete the node and create it again Check the object dictionary OD of the CAN device for completeness and correctness We assume he...

Page 109: ...ve added a CANopen node you have two options in the Electronic Data Sheet EDS menu 1 Using an existing EDS file via the Import EDS file button Figure 10 9 Importing the EDS file 2 Manual creation of an object dictionary OD using the Define object dictionary button A template is displayed in the Object dictionary OD menu Figure 10 10 Defining the object dictionary ...

Page 110: ...do this select the check box in the Def column or add a new entry at the end of the table Figure 10 11 Add new entry To add new rows double click the selected cell You can delete existing rows by using the shortcut menu of a table row If you are not sure whether you want to delete an entry disable it The entry will be ignored during the next configuration Figure 10 12 Shortcut menu of a table row ...

Page 111: ... corresponding OD entries of the OD table changes in the menus are not transferred to the OD table You cannot bypass the menus and make corresponding configuration settings directly in the OD This does not work Only new object values that are not subject to a configuration menu can be set directly in the OD these entries can be edited Only entries with a selected check box in the Def column are co...

Page 112: ...d check data button The column is always write protected After you have pressed the Apply and check data button the marking for a valid row is removed After you have successfully checked everything Yes is no longer displayed in the column and the Apply and check data button disappears again Editing an entry You can edit any entry with a fully defined field in the Index Subindex column There is als...

Page 113: ...ck data button initiates the following checks and updates 1 A test is performed to see whether entries were added These entries are then placed at the correct location in the list Only the newly added entries are taken into account during sorting You can only edit the Index Sub field when you have added an entry The field remains editable until the entry is sorted in the table After that you can n...

Page 114: ... The OD entries OD 1000 OD 1018 01 OD 1018 02 OD 1018 03 are checked regardless of whether an EDS file is imported or the object dictionary OD table is edited When one of these ODs is not available in the EDS file or is not selected in the OD table the Loose configuration check box is selected and disabled in the CANopen node universal Communication menu ...

Page 115: ...ctly defined PDO 5 A check is performed to determine whether changes were made that require an update of the list of mappable objects or objects actually mapped All affected lists are updated Note When you make changes to OD entries that have an effect on a previously configured PDO these configurations are lost You must make this configuration again Creating an OD entry for transmit data in the M...

Page 116: ...reated transmit data OD entry Figure 10 15 Object dictionary index definition 3 Create the subindices associated with the OD index To create additional subindex entries double click Add Creating additional OD entries for transmit data in the Manager Repeat the above steps until all desired transmit data has been created in the OD of the Manager Note You can create a maximum of 100 OD entries This ...

Page 117: ...value that is also used by the corresponding receive PDO in the slave 4 Assign transmit data to the transmit PDO To assign the data select the data that is to be transmitted in the transmit PDO from the All usable OD entries table with the buttons in the Use column 5 The selected OD entries can now be seen in the table OD entries used in the PDO Two additional tables below make for easy reference ...

Page 118: ... dummy OD entries Disable checking of PDO length for configuration with HSP_V17_0358_001_Link_PN_CAN_V2 0 As of firmware version 2 0 you can select the Disable checking of PDO length option see figure below Option enabled When you select this option the data length number of received bytes of the received PDOs is adapted Error warning or diagnostic messages are not generated The value is adjusted ...

Page 119: ...ically by the TIA Portal This is possible for example in the Device overview window Here you can also find the I O addresses used by the slots In particular the addresses assigned to slot 1 that is the CANopen Manager are important because the control and status information is exchanged with the S7 program via these addresses It is important for startup of the PN CAN LINK that the control informat...

Page 120: ...e node does not physically exist in the CAN network To work with the reduced network you can temporarily disable one or more nodes Such a CANopen node with its entire configuration remains in the project but is not downloaded to the PN CAN LINK The node does not exist in the configuration that is used by the PN CAN LINK No errors or warnings are generated by the module Figure 10 18 Disabling a nod...

Page 121: ...IMATIC PN CAN LINK 120 Operating Instructions 03 2022 A5E39895388 AC Figure 10 19 Node disabled Checking data consistency You can check the consistency of the assignments for the receive data and transmit data as well as the data types used with a compilation ...

Page 122: ...roller and the PN CAN LINK you must set the control bit to 1 using the S7 user program This control bit is cyclically transmitted from the S7 controller to the PN CAN LINK as part of the IO data Note In CANopen Manager mode bit 2 must also be set to 1 in the control information transmitted from the S7 CPU to the PN CAN LINK You can find additional information on the effect of the control bit under...

Page 123: ...for CANopen Slave operating mode mainly consists of the following steps 1 Import PN CAN LINK HSP into the TIA Portal 2 Drag PN CAN LINK from the HW catalog to the project 3 Set the PROFINET specific parameters 4 Set the CANopen Slave operating mode 5 Set bus specific parameters for the CANopen Slave module Node ID and transmission rate 6 Create OD entries for the process data to be exchanged betwe...

Page 124: ...irmware version V1 0 or V2 0 of the PN CAN LINK This step is only possible if the HSP_V17_0358_001_Link_PN_CAN_V2 0 is installed The PN CAN LINK appears in the Devices networks window 3 Connect the CPU and PN CAN LINK by means of a PROFINET connection CPU and PN CAN LINK are connected in the Devices networks window with a green PN line 4 Assign the parameters of the PROFINET interface of the PN CA...

Page 125: ...tions CANopen Manager CANopen Slave CAN transparent Figure 10 21 Selecting an operating mode Select the CANopen Slave operating mode After selection of the operating mode the parameters associated with the selected mode can be set All settings for the CANopen Slave module of the PN CAN LINK are made in slot 1 Setting the communication parameters Set the bus specific parameters for the CANopen Slav...

Page 126: ...parent Both error LEDs remain off Check box Block Error passive alarm When you select this option the error passive state of the CAN bus is not reported as an alarm in the diagnostic buffer The error LED remains off ISO 11898 CAN Layer 2 device If one of the error counters is above 127 the device goes into the Error Passive state of the CAN bus The next error is signaled by a Passive Error Flag wh...

Page 127: ...e transmit data object dictionary OD entry in the device overview with a mouse click 2 Enter the OD index and the name for the created transmit data OD entry Figure 10 25 Object dictionary index definition 3 Create the subindices associated with the OD index To create additional subindex entries double click Add Creating additional OD entries for transmit data in the slave Repeat the above steps u...

Page 128: ...module are important because the control and status information is exchanged with the S7 program via these addresses It is important for startup of the PN CAN LINK that the control information transmitted here from the S7 program is set correctly Checking data consistency You can check the consistency of the assignments as well as the data types used with a compilation Exporting the EDS file Set t...

Page 129: ...ogram To enable the PN CAN LINK to transition to Operational state and thus the transmission of data between the S7 controller and the PN CAN LINK you must set the control bit to 1 using the S7 user program This control bit is cyclically transmitted from the S7 controller to the PN CAN LINK as part of the IO data However the actual state transition must be triggered by the current NMT master ...

Page 130: ...is configured in the TIA Portal The configuration for CAN transparent operating mode mainly consists of the following steps 1 Import PN CAN LINK HSP into the TIA Portal 2 Drag PN CAN LINK from the HW catalog to the project 3 Set the PROFINET specific parameters 4 Set the CAN transparent operating mode 5 Set the transmission rate 6 Set the transmit receive messages and transmit receive proxies 7 Ch...

Page 131: ...firmware version V1 0 or V2 0 of the PN CAN LINK This step is only possible if the HSP_V17_0358_001_Link_PN_CAN_V2 0 is installed The PN CAN LINK appears in the Devices networks window 3 Connect the CPU and PN CAN LINK by means of a PROFINET connection CPU and PN CAN LINK are connected in the Devices networks window with a green PN line 4 Assign the parameters of the PROFINET interface of the PN C...

Page 132: ...he following selection options CANopen Manager CANopen Slave CAN transparent Figure 10 28 Selecting the CAN operating mode 1 Select the CAN transparent operating mode After selection of the operating mode the parameters associated with the selected mode can be set All settings for the CAN transparent module of the PN CAN LINK are made in slot 1 Setting the communication parameters Select the trans...

Page 133: ...rent Both error LEDs remain off Check box Block Error passive alarm When you select this option the error passive state of the CAN bus is not reported as an alarm in the diagnostic buffer The error LED remains off ISO 11898 CAN Layer 2 device If one of the error counters is above 127 the device goes into the Error Passive state of the CAN bus The next error is signaled by a Passive Error Flag whic...

Page 134: ... messages 1 Double click Transmit message or Receive message in the HW catalog The corresponding message type is placed as a submodule in the CAN transparent module 2 Select a send message entry or a receive message entry with the left mouse button in the device overview 3 Create the necessary message definitions Figure 10 31 Transmit and receive messages ...

Page 135: ...proxies 1 Double click Transmit proxy or Receive proxy in the HW Catalog The corresponding proxy is placed as a submodule in the CAN transparent module 2 For receive proxies you can specify the maximum number of messages to be stored by the receive buffer You can define which messages are to be processed using a message filter Figure 10 32 Transmit proxies and receive proxies ...

Page 136: ...rol and status information is exchanged with the S7 program via these addresses It is important for startup of the PN CAN LINK that the control information transmitted here from the S7 program is set correctly Checking data consistency You can check the consistency of the assignments for the receive data and transmit data as well as the data types used with a compilation Setting CAN communication ...

Page 137: ... S7 program using logical names The use of explicit addresses is therefore not required in the S7 program Note As of TIA Portal V15 it is possible to switch automatic tag generation for I O objects on and off Make sure that automatic tag generation is activated The setting option is available under General Generate PLC tags after you have set the CAN operating mode Note To improve the performance ...

Page 138: ...ix Subindex name Bool Q ByteAdr 0 Receive data object dictionary Prefix LinkName LinkModuleName ReceiveDataObjectDictionaryName Unsigned 08 Prefix Subindex name USInt IB ByteAdr Unsigned 16 Prefix Subindex name UInt IW ByteAdr Unsigned 32 Prefix Subindex name UDInt ID ByteAdr Unsigned 64 Prefix Subindex name ULInt I ByteAdr 0 Integer 08 Prefix Subindex name SInt IB ByteAdr Integer 16 Prefix Subind...

Page 139: ...yteAdr Unsigned 32 Prefix Parameter name UDInt ID ByteAdr Unsigned 64 Prefix Parameter name ULInt I ByteAdr 0 Integer 08 Prefix Parameter name SInt IB ByteAdr Integer 16 Prefix Parameter name Int IW ByteAdr Integer 32 Prefix Parameter name DInt ID ByteAdr Integer 64 Prefix Parameter name LInt I ByteAdr 0 Real 32 Prefix Parameter name Real ID ByteAdr Real 64 Prefix Parameter name LReal I ByteAdr 0 ...

Page 140: ...tup Longer than 1 second HW error detected during power up test or other serious error Off Off Off System run up System not completely booted yet but power up test is complete Flashes Off Off Not connected to S7 controller No IO controller connection Application Relation established or configuration not yet complete On x Off Connected to S7 controller IO controller connection Application Relation ...

Page 141: ...nd after connecting the power supply the sequence is as follows 1 The three LEDs light up briefly for about 1 second and then go dark again 2 None of the LEDs light up for about 4 seconds 3 The RUN LED starts flashing 4 When the boot up of the PN CAN LINK is complete and the connection to the S7 controller is established the RUN LED lights up Ethernet interface LINK Indicates whether there is a ph...

Page 142: ...ED RUN LED Meaning Note Off The PN CAN LINK is in the initialization phase After switching on the device or after reset Flashes The NMT state of the PN CAN LINK is Pre Operational One time brief flashing The NMT state of the PN CAN LINK is Stopped On The NMT state of the PN CAN LINK is Operational Table 11 2 Behavior of the ERR LED ERR LED Meaning Note Off No error on the CANopen bus One time brie...

Page 143: ...ode The PN CAN LINK signals its state in CAN transparent operating mode with the fieldbus LEDs on the front of the housing Design Page 32 Table 11 3 Behavior of the RUN LED RUN LED Meaning Off PN CAN LINK is off On PN CAN LINK is in ON state Table 11 4 Behavior of the ERR LED ERR LED Meaning Off No error on the CAN bus One time brief flashing The CAN controller is in Error passive state On The CAN...

Page 144: ...ct individual modules Many diagnostic messages are the result of error events and not error states This is why they are withdrawn immediately once they have been signaled to the S7 controller Incoming message and Outgoing message The tables below provide an overview of the following for the different operating modes of the PN CAN LINK Events that trigger a diagnostic message Events that cause a pe...

Page 145: ...rflow when sending CAN packets Diagnostic information was transmitted to the S7 controller via PROFINET PN CAN LINK Buffer overflow when receiving CAN packets Diagnostic information was transmitted to the S7 controller via PROFINET PN CAN LINK Receipt of PDO with incorrect length Diagnostic information was transmitted to the S7 controller via PROFINET PN CAN LINK COB ID of the PDO Heartbeat node g...

Page 146: ...rect length Diagnostic information was transmitted to the S7 controller via PROFINET PN CAN LINK COB ID of the PDO Heartbeat node guarding error Diagnostic information was transmitted to the S7 controller via PROFINET PN CAN LINK ID of failed node Diagnostic relevant events in CAN transparent mode Table 11 7 Diagnostic relevant events in CAN transparent mode Event for triggering Event for withdraw...

Page 147: ...er Slave Transparent CANopen Manager CANopen Slave CAN transparent Overflow of the CAN transmit buffer CAN messages to be sent could not be sent and were discarded This is caused by too much CAN communication traffic or when other problems occurred in the CAN communication Bus Off or Error Passive state If neither Bus Off nor Error Passive state exists try reducing the amount of communication traf...

Page 148: ...her cases the reaction configured under Reaction to failure of node is executed Manager Node Error when starting Group message Errors were detected when starting the node Details are output in one or more additional diagnostic messages Depending on the Node is mandatory on the network setting the node is restarted or all nodes are restarted Manager Node Error when starting Node is not responding T...

Page 149: ...on number is 0 it could not be read by the device Manager Node Error when starting Writing of the OD 1 x 2 x was rejected by the node An SDO abort message was received The exact cause can be determined using a CAN bus analyzer Manager Node Error when starting Writing of the OD 1 x 2 x failed A timeout has occurred during writing of the values of OD 1 x 2 x Manager Node EMCY message with error code...

Page 150: ...ect it from the S7 CPU with the project that contains different firmware and proceed as follows 1 Connect the PN CAN LINK directly to a computer with the TIA Portal 2 From the Online menu select the Accessible devices menu item 3 Select the PN CAN LINK from the list of accessible devices 4 Perform the firmware update and reconnect the PN CAN LINK to the S7 CPU Note that the configuration is transf...

Page 151: ...llow these steps 1 Set the S7 CPU to STOP 2 Update the PN CAN LINK in your project as follows Open the Devices Networks view in your project Open the PN CAN LINK you want to update with a double click In the Properties view of the General tab select the Catalog information option Figure 12 1 Catalog information Click Change firmware version A window for the device replacement opens ...

Page 152: ...Figure 12 2 Replace device In this window you can exchange the PN CAN LINK with firmware version V1 0 for the PN CAN LINK with firmware version V2 0 For a firmware downgrade from V2 0 to V1 0 for example you must create a completely new PN CAN LINK in the project Compile the project Do not load it to the S7 CPU yet ...

Page 153: ...le In the section For modules with you can see the devices article number and the versions that are accepted by this firmware Click the Run update button Once the update is complete you must wait until the firmware is activated The device is ready to use at that time 4 Download the project to the S7 CPU Once the download is complete continue with the next step Note Because the PN CAN LINK has not ...

Page 154: ...t downloaded to the S7 CPU In some cases you must power down the device and boot it up again to restore the firmware version After booting you may see the message Error Internal software error 16 8EB901BF Solution Make sure that you use the correct firmware version for the device in the project downloaded to the S7 CPU and repeat powering down and booting the device The error message Error Failure...

Page 155: ...nal 2 Remove the PROFINET connector and CAN connector 3 Disassembling the device from the DIN rail Proceed in the reverse order to that described in section Installing Page 84 4 Installing and connecting the new device Note The PROFINET device name and IP address of the new device must match those previously used Otherwise the device will not be detected Commissioning the device once again 1 Switc...

Page 156: ...ntally friendly recycling and disposal of your old equipment contact a certified electronic waste disposal company and dispose of the equipment according to the applicable regulations in your country There is no provision for returning the device to Siemens For further questions regarding disposal and recycling please contact your local Siemens contact You will find the contact details in our data...

Page 157: ...ng Mounting DIN rail wall mounting portrait mounting Mounting position any Recommended mounting position Horizontal Rail mounting Yes Control cabinet installation Yes Supply voltage Type of supply voltage DC Rated value DC 24 V permissible range lower limit DC 20 4 V permissible range upper limit DC 28 8 V Reverse polarity protection Yes Overvoltage protection Yes Short circuit protection Yes Main...

Page 158: ...f ports 1 Design of the connection 9 pin sub D socket CAN CAN operating modes CAN Standard CAN 2 0A B CANopen Manager Slave acc to CiA Specification acc to CiA CiA 301 CiA 302 Transmission rate min 50 kbit s Transmission rate max 1 000 kbit s Number of slaves max 126 Number of SDOs in parallel 16 Parallel Number of PDOs 512 Send receive Services Node life guarding Yes Heartbeat Yes SYNC Yes 2 Inte...

Page 159: ...CM formerly C TICK Yes KC approval Yes EAC formerly Gost R Yes PNO certificate Yes RoHS conformity Yes Marine approval Germanischer Lloyd GL Yes American Bureau of Shipping ABS Yes Bureau Veritas BV Yes Lloyds Register of Shipping LRS Yes Nippon Kaiji Kyokai Class NK Yes Ambient conditions Ambient temperature during operation horizontal installation min 25 C horizontal installation max 60 C vertic...

Page 160: ...g Instructions 03 2022 A5E39895388 AC 159 Article number 6BK1620 0AA00 0AA0 Relative humidity Operation max 95 Software Runtime software Target system ET 200SP Yes Open Controller Yes S7 1200 Yes S7 1500 Yes Dimensions Width 70 mm Height 112 mm Depth 75 mm Weights Weight approx 212 g ...

Page 161: ... specifications 13 2 Dimension drawing SIMATIC PN CAN LINK 160 Operating Instructions 03 2022 A5E39895388 AC 13 2 Dimension drawing Dimension drawings of the PN CAN LINK Figure 13 1 Dimension drawing PN CAN LINK ...

Page 162: ...afety objectives of the EC Directives listed below EMC Directive 2014 30 EU The product is designed for operation in residential and industrial areas EMC requirements Field of application Noise emission requirements Interference immunity requirements Residential area EN 61000 6 3 Industrial area EN 61000 6 4 EN 61000 6 2 The product meets these requirements if you adhere to the installation guidel...

Page 163: ...is kept available for the responsible authorities in accordance with the above mentioned EC Directive at the following address SIEMENS AG DF FA SE BRESLAUER STR 5 90766 FUERTH GERMANY Other applied standards IEC 61131 2 DIN EN 61131 2 Programmable controllers IEC 61010 1 EN 61010 1 Safety requirements for electrical equipment for measurement control and laboratory use ...

Page 164: ... open source software OSS Open source software is used in the SIMATIC PN CAN LINK product in unchanged form or in a form changed by us License conditions and sources that have to be published are included on the CD supplied with the product Sources under the GNU General Public License are provided to you free of charge on request Use the communication channels specified under Technical Support Pag...

Page 165: ...ndustry Online Support You can find various services at the Support homepage https support industry siemens com cs us en on the Internet There you will find the following information for example The correct documents for you via product related search functions Online support request form Your local representative A forum for global information exchange by users and specialists Our newsletter cont...

Page 166: ...communication protocol based on CAN which is mainly used in automation technology and for networking within complex devices CANopen Manager If the PN CAN LINK is operated as CANopen Manager it takes over the following functions in CANopen NMT Master The PN CAN LINK controls the NMT state of the other CAN devices and executes the boot up procedure according to the CiA standard CiA 302 Part 2 Config...

Page 167: ...ior and controls the state machine of the PN CAN LINK NMT Master see CANopen Manager OD Object Dictionary The object dictionary enables access to all data types used by the device to the communication parameters as well as the process data and configuration parameters OSS Open Source Software Open Source Software OSS is software that meets the definition of the Open Source Initiative OSI for examp...

Page 168: ...ect dictionary SIMATIC Controller The SIMATIC Controllers are available as Basic Advanced Distributed and Software controllers The Basic Controller S7 1200 for small to medium sized applications the Advanced Controller S7 1500 for medium sized and complex applications the Distributed Controller ET 200SP for distributed applications and the Software Controller S7 1500 for PC based applications SYNC...

Page 169: ...wer supply 89 CAN bus 94 Functional ground 91 PROFINET 92 Connector pin assignment Terminals for the 24 DC power supply 89 Consumer 62 Contact person for the database 155 Control panel 85 Control panel mounting 84 Controller information 59 D Declaration of Conformity 162 Delivery Unpacking 83 Device Replacing 154 Device description file 30 Disposal 155 Documentation Basic knowledge 6 History 7 Pur...

Page 170: ...N CAN LINK states Operational 44 Pre Operational 44 Stopped 44 Power supply 30 89 Producer 62 PROFINET 30 Connecting 92 PROFINET diagnostics 139 Purpose Documentation 6 R Receiver 62 Recycling 155 Requirements Cables 87 Reset acknowledgment bit 60 Reset bit 59 Retaining collar 92 RUN LED 139 S Safety information General 9 Working on the device 10 86 Scope of delivery 83 Sender 62 Shielding 88 SIMA...

Reviews: