State Model - Siemens SIMATIC PN/J1939 LINK Operating Instructions Manual

Table of Contents

Advertisement

Cyclic data exchange: Control and status information
PN/J1939 LINK and the S7 controller cyclically exchange control and status information.
You can find detailed information on control and status information in the section Control and
status information (Page 25).
Acyclic data exchange
The PGN input proxy and PGN output proxy modules are available for acyclic data
transmission in the configuration. The configurable data lengths are a minimum of 8 bytes
and a maximum of 1785 bytes. The maximum data length of all PGN proxy modules in one
transmission direction is 8925 bytes.
With active CAN communication of the PN/J1939 LINK, the proxy modules send or receive
parameter groups (PGN) according to the configured parameters.
The proxy modules themselves have no data at their input addresses or output addresses.
PN/J1939 LINK provides two data records for accessing the data, which the S7 user
program can access with the acyclic PROFINET IO services RDREC (read data record) and
WRREC (write data record).
The data record indices used are
● Read data record: 0x220
● Write data record: 0x230
You can find information on configuring the PGN proxy modules in the TIA Portal in the
section Configuring / programming (Page 45).
4.4

State model

PN/J1939 LINK can assume two states: "OFF" and "ON".
"OFF" state
No CAN frames are sent or received in this state. The CAN controller does not participate in
the CAN bus communication. It does not send or receive messages or any error frames.
If PN/J1939 LINK is not connected to an S7 controller or if the data from the S7 controller
has the "Bad" IO provider status, PN/J1939 LINK assumes the "OFF" state.
"ON" state
In this state, PN/J1939 LINK takes part in CAN bus communication, i.e. it sends and
receives CAN telegrams, unless the CAN controller is in "Bus off" state.
SIMATIC PN/J1939 LINK
Operating Instructions, 12/2018, A5E45307564-AA
Functions
4.4 State model
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents