Programming; Plc Tags - Siemens Simatic Operating Instructions Manual

Network transitions
Hide thumbs Also See for Simatic:
Table of Contents

Advertisement

Setting CAN communication to "ON" via S7 user program
To enable transmission of data between the S7 controller and the PN/CAN LINK, you must
set a control bit to "1" via 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.
9.4

Programming

9.4.1

PLC tags

PLC tags are automatically created by the HSP during configuration of the PN/CAN LINK in
the TIA Portal; you can use these PLC tags in the S7 program to access the cyclic I/O
image. This means the parts of the I/O image allocated to the PN/CAN LINK can be
accessed from the 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.
SIMATIC PN/CAN LINK
Operating Instructions, 03/2018, A5E39895388-AB
Configuring / programming
9.4 Programming
91

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents