Professional Documents
Culture Documents
Communication Library
LCom for S7-1200/S7-1500
https://support.industry.siemens.com/cs/ww/en/view/48955385
Warranty and liability
Note The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These application examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
application examples and other Siemens publications – e.g. Catalogs – the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us – based on whatever legal reason – resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life,
Siemens AG 2016 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, solutions, machines, equipment and/or
tion networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens’ products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-
specific newsletter. For more information, visit
http://support.industry.siemens.com.
Table of contents
Warranty and liability ................................................................................................... 2
1 Library Overview ................................................................................................ 4
1.1 Different user scenarios ....................................................................... 5
1.2 Hardware and software requirements .................................................. 9
1.3 Library resources .................................................................................. 9
2 LCom_Communication ................................................................................... 10
2.1 Parameter ........................................................................................... 11
2.2 Functionality ....................................................................................... 13
2.2.1 Establishment of communication ....................................................... 13
2.2.2 Communication discontinuation ......................................................... 18
2.2.3 Sending data ...................................................................................... 19
2.2.4 Receiving data .................................................................................... 22
2.2.5 Sign of life ........................................................................................... 28
2.2.6 Time synchronization ......................................................................... 29
2.3 Error and diagnostic ........................................................................... 31
2.3.1 Status message .................................................................................. 33
2.4 PLC data types ................................................................................... 43
3 Working with the Library................................................................................. 50
3.1 Integrating the library into STEP 7 ..................................................... 50
3.2 Integrating the library blocks into STEP 7 .......................................... 51
Siemens AG 2016 All rights reserved
1 Library Overview
What you get
This document describes the LCom block library. The block library provides you
with the tested code with clearly defined interfaces.
The LCom block library can be used for the standard TCP communication. The
widespread deployment of TCP allows easy data exchange between two different
devices, e.g. a camera, CPU or PC.
Since the functional scope of TCP is not sufficient for many applications, the LCom
library defines an additional transport protocol (LCom protocol).
The block library LCom offers the following advantages for the user:
No need to know the various system functions (e.g. TCON, TSEND, TRCV) to
connect, send, receive and disconnect.
In case of any fault LCom closes automatically the connection and tries to
reestablish the connection.
User parameterizable cyclic data transmission
Single data transmission
Consistent data exchange
Siemens AG 2016 All rights reserved
Scope of application
STEP 7 Basic/Professional V13 SP1
S7-1200 CPU as of firmware 4.1.1
S7-1500 CPU as of firmware 1.8.0
The LCom block library can be used to implement a point-to-point full duplex
communication via Industrial Ethernet based on the TCP protocol. The widespread
deployment of TCP allows easy data exchange between two different devices, e.g.
a camera, CPU or PC.
Since the functional scope of TCP is not sufficient for many applications, the LCom
library defines an additional transport protocol (LCom protocol). With the LCom
protocol additional communication functionalities are possible.
Camera
CPU
Application
Siemens AG 2016 All rights reserved
S7-1500 CPU
LCom_Communication
IDB
IDB
Ethernet
Interface
Switch
The following sections show several scenarios for a possible application of the
LCom library:
Scenario 1
LCom can be used for native TCP communication. The TCP transport protocol
guarantees a continuous flow of data. TCP is not packet-oriented and therefore
does not permit transmission of data records with a defined overall length. It’s up to
the user to separate the data flow into consistent data records (user packets).
Camera
CPU
Application
LCom_Communication
IDB
IDB
Ethernet
Interface
Siemens AG 2016 All rights reserved
Switch
The block library LCom offers the following advantages for the user:
No need to know the various system functions (e.g. TCON, TSEND, TRCV) to
connect, send, receive and disconnect.
In case of any fault LCom closes automatically the connection and tries to
reestablish the connection.
User parameterizable cyclic data transmission
Single data transmission
Built-in diagnostics structure to help trouble shooting
Multi-instance support
Scenario 2
When the LCom protocol is used the sender gets feedback from the receiver that
the data transmission was successfully (consistent data exchange) exchanged. To
detect a disconnection faster, a cyclic life sign telegram is exchanged. The cycle
time of the periodic sign of life is specified by the user.
For time synchronization of two controllers, you can send the current time of one
controller to the partner and use it there as the system time.
NOTE To be able to use the additional features of LCom both communication partners
have to support the LCom protocol.
Hint: LCom protocol V2 provides a fallback strategy to LCom protocol V1 if the
partner does not support LCom protocol V2.
CPU
Application
Siemens AG 2016 All rights reserved
S7-1500 CPU
LCom_Communication
IDB
IDB
Ethernet
Interface
Switch
The block library LCom offers the following advantages for the user:
No need to know the various system functions (e.g. TCON, TSEND, TRCV) to
connect, send, receive and disconnect.
In case of any fault LCom closes automatically the connection and tries to
reestablish the connection.
User parameterizable cyclic data transmission
Single data transmission
Consistent data exchange
Comparison of communication parameters
Monitoring of the connection through cyclic transmission of a sign-of-life (faster
response times on connection failure). In the case of a native TCP
communication, this is typically in the range of seconds
Data records with defined length up to 64 KB when using LCom protocol V1
Hardware
Table 1-1: Hardware components
No. Component Firmware
1. SIMATIC S7-1500 CPU FW V1.8.0
2. CM 1542-1 FW V1.0.6
3. CP 1543-1 FW V1.1.28
4. SIMATIC S7-1200 CPU FW V4.1.1
Software
Table 1-2: Software components
No. Component Article number Quantity
5. Step7 Professional V13 SP1 6ES7822-1..03-.. 1
6. Step7 Basic V13 SP1 6ES7822-0..03-.. 1
Siemens AG 2016 All rights reserved
1
Size of the individual blocks
1
Instance data blocks (prefix instLCOM_) are not delivered with the library. They will be
generated automatically with the call of a function block.
2 LCom_Communication
What will you find in this section?
This chapter explains the parameter and functionality of the function block
LCom_Communication (FB 30300).
error Bool
Siemens AG 2016 All rights reserved
status Word
sendBuffer
Variant Variant
receiveBuffer
Variant Variant
diagnostics
typeLCom_Diagnostics typeLCom_Diagnostics
2.1 Parameter
The following tables show all parameter of the function block
LCom_Communication.
Input parameters
Table 2-2: LCom_Communication input parameters
Parameter Data type Description
enable Bool TRUE: A rising edge activates processing and FB tries to
establish a connection to the partner
LCOM_TCP_CONNECTION):
0: TCP buffer is not being read. User data from partner will
not be available.
0: TCP buffer is not being read. User data from partner will
not be available.
Output parameters
Table 2-3: LCom_Communication output parameters
Parameter Data type Description
connected Bool Without LCom protocol
(configuration.connection.comService =
LCOM_TCP_CONNECTION):
In-Out parameters
Table 2-4: LCom_Communication in-out parameters
Parameter Data type Description
sendBuffer Variant Pointer to send data (Array of Byte)
receiveBuffer Variant Pointer to receive data (Array of Byte)
diagnostics typeLCom_Diagnostics Diagnostics structure, see typeLCom_Diagnostics
The diagnostics structure is a ring buffer, Every
diagnostic entry provides detailed status information,
additional values and timestamp of occurrence
2.2 Functionality
2.2.1 Establishment of communication
T#1ms .. T#24d20h31m23s647ms
(default: T#1s)
With a rising edge at enable input a TCP connection is tried to establish using the configured
parameters. If LCom protocol is used the LCom version is checked as soon as the TCP
connection is established. If the communication partner does not support LCom protocol V2 the
connection is closed and a new connection using LCom protocol V1 is tried to establish.
Function characteristics
enable 0
1
connected
0
busy 0
error 0
Siemens AG 2016 All rights reserved
16#8613
16#7006
status 16#7003
16#7001
16#7000
1) 2) 3) 4) 5) 6)
1. FB is disabled.
2. With a rising edge at enable input the FB is processing and busy output
becomes TRUE.
Value of FB status is LCOM_STATUS_FIRST_CALL.
3. The TCP connection is established (TCP client) and LCom protocol V2
negotiation is tried.
Value of FB status is LCOM_STATUS_CLIENT_TRY_CONNECT.
4. The communication partner does not support LCom protocol V2. Error output is
set and the connection is closed.
Value of FB status is LCOM_ERR_WRONG_LCOM_HEADER.
5. The TCP connection is reestablished (TCP client) and LCom protocol V1
negotiation is tried.
Value of FB status is LCOM_STATUS_CLIENT_TRY_CONNECT.
6. FB output connected becomes TRUE as soon as LCom protocol negotiation is
completed successfully.
enable 0
1
connected
0
busy 0
error 0
16#7007
status 16#7003
16#7001
16#7000
1) 2) 3) 4)
1. FB is disabled.
2. With a rising edge at enable input the FB is processing and busy output
becomes TRUE.
Value of FB status is LCOM_STATUS_FIRST_CALL.
Siemens AG 2016 All rights reserved
enable 0
1
connected
0
busy 0
error 0
16#7005
status 16#7003
16#7001
16#7000
1) 2) 3) 4)
1. FB is disabled.
2. With a rising edge at enable input the FB is processing and busy output
becomes TRUE.
Value of FB status is LCOM_STATUS_FIRST_CALL.
Siemens AG 2016 All rights reserved
Function characteristics
enable 0
1
connected
0
busy 0
error
Siemens AG 2016 All rights reserved
status 16#7008
16#7005
16#7000
1) 2) 3)
T#0ms...T#24d20h31m23s647ms
(default: T#1s)
ackTimeout Time Only valid with LCom protocol
(configuration.connection.comService =
LCOM_LCOM_CONNECTION)
T#1ms .. T#24d20h31m23s647ms
(default: T#1s)
NOTE If the communication partner supports LCom protocol V1 only, then the local
sender configuration is negotiated with the partner receiver configuration (see V1
sCfgReceiver.u16CycleTime und sCfgReceiver.u16AckTimeout). The negotiated
values are the bigger values of both partners. It is recommended to set the
values in the partner receiver configuration to 0.
These configuration parameters can be changed at runtime without the need of a
rising edge at enable input.
The active (negotiated) values can be monitored in the diagnostics structure.
The user data to be sent provided at input sendBuffer is of data type “ARRAY of
BYTE”. Any structured user data has to be converted with system function Serialize
(see system manual) and copied to sendBuffer.
Data transmission is started with a rising edge at input send. Length of data to be
transferred is provided at input sendDataLength.
To achieve a consistent data transmission the user is not allowed to change the
data while output sending is TRUE.
Attention If sendDataLength is greater than the size of sendBuffer, then the amount of
data to be sent is limited to the size of sendBuffer. In this case status output
shows the value 16#7600 (LCOM_WARN_SEND_DATA_LENGTH). This
information is entered in the diagnostics buffer.
When using LCom protocol the size of the partner receive buffer is also taken
into account. If this is smaller than sendDataLength a maximum of size of partner
receive buffer in bytes is sent. In this case status output shows the value
16#7614 (LCOM_WARN_RECEIVE_BUFFER_LEN). This information is entered
in the diagnostics buffer.
Function characteristics
1
Siemens AG 2016 All rights reserved
enable 0
1
connected
0
busy 0
send 0
sending 0
1) 2)
0 1 2 t in s
1. Data transmission is started with a rising edge at send input. Output sending is
set to TRUE.
2. Data transmission completed. Output sending is reset.
enable 0
1
connected
0
busy 0
send 0
sending 0
1) 2) 3)
0 1 2 t in s
1. Data transmission is started with a rising edge at send input. Output sending is
set to TRUE.
2. Data transmission completed. Output sending is reset.
Siemens AG 2016 All rights reserved
enable 0
1
connected
0
busy 0
send 0
sending 0
1) 2) 3)
0 1 2 t in s
1. Data transmission is started with a rising edge at send input. Output sending is
set to TRUE.
2. Data transmission completed. Output sending is reset.
3. User data is sent every cycle time.
The different receiving characteristics with and without LCom protocol within
number range 0 to 4294967295 are explained below.
Siemens AG 2016 All rights reserved
Function characteristics
Figure 2-11: Receiving data with native (open user) TCP protocol (readDataLength = 0)
CPU
Application program
Sender application Network Receiver application
Lcom_Comm
se n d unication
Data readDataLength=0
Leng IDB
th = IDB
4096
Ethe
rnet
1 460
Byte
Ethe
rnet
1 460 LCom_Communication is called
Byte
Ethe
rnet 1)
1 176 dataReceived = FALSE
Byte
se n d receivedDataLength= 0
Data
Leng
th =
4096
LCom_Communication is called
Ethe 2)
rnet dataReceived = FALSE
Siemens AG 2016 All rights reserved
1 460
Byte receivedDataLength= 0
Ethe
rnet
1 460
Byte
Ethe
rnet
1 176 LCom_Communication is called
Byte
2)
dataReceived = FALSE
receivedDataLength= 0
LCom_Communication is called
2)
dataReceived = FALSE
receivedDataLength= 0
1. 1460 bytes have already been received in the TCP receive buffer but the data
is not read by the FB because readDataLength = 0. The user does not get any
data. Receiving is blocked.
2. No change with further FB calls. All data remains in the TCP buffer.
Function characteristics
Figure 2-12: Receiving data with native TCP protocol (sendDataLength < readDataLength)
CPU
Application program
Sender application Network Receiver application
Lcom_Comm
unication
se n d
Data readDataLength=100
Leng IDB
th = IDB
90
Ethe
rnet
9 0 By
te
LCom_Communication is called
se n d 1)
Data
Leng dataReceived = FALSE
th =
50 receivedDataLength= 0
LCom_Communication is called
Ethe
rnet
5 0 By 2)
te dataReceived = FALSE
se n d receivedDataLength= 0
Data
Leng
th =
60
LCom_Communication is called
Siemens AG 2016 All rights reserved
Ethe 3)
rnet dataReceived = TRUE
6 0 By
te receivedDataLength= 100
LCom_Communication is called
4)
dataReceived = TRUE
receivedDataLength= 100
1. 90 bytes have already been received. The user is waiting for 100 bytes
(readDataLength = 100). Therefore dataReceived remains FALSE and
receivedDataLength = 0.
2. Subsequent FB call. No new data has been received.
3. Another 50 bytes have been received. Now a total of 140 bytes is available.
The first 100 bytes are transferred to user receiveBuffer. (dataReceived =
TRUE for one cycle, receivedDataLength =100). The remaining 40 bytes are
used as first part of the next expected 100 bytes.
4. 60 bytes have been received. Now a total of 100 bytes is available for the user
in receiveBuffer (dataReceived = TRUE for one cycle, receivedDataLength
=100). Data transmission completed successfully.
Figure 2-13: Receiving data with native TCP protocol (sendDataLength > readDataLength)
CPU
Application program
Sender application Network Receiver application
Lcom_Comm
unication
se n d
Data readDataLength=100
Leng IDB
th = IDB
200
Ethe
rnet
2 00 B
yte
LCom_Communication is called
se n d 1)
Data
Leng dataReceived = TRUE
th =
300 receivedDataLength= 100
LCom_Communication is called
3)
dataReceived = TRUE
receivedDataLength= 100
LCom_Communication is called
dataReceived = TRUE 4)
receivedDataLength= 100
LCom_Communication is called
5)
Siemens AG 2016 All rights reserved
dataReceived = TRUE
receivedDataLength= 100
1. 200 bytes have been received. The first 100 bytes are transferred to user
receiveBuffer (dataReceived = TRUE for one cycle, receivedDataLength =
100). The remaining 100 Bytes are used as first part of the next expected 100
bytes.
2. No new data has been received. There are still 100 bytes available Now these
100 bytes are transferred to user receiveBuffer (dataReceived = TRUE for one
cycle, receivedDataLength = 100). Data transmission completed successfully.
3. 300 bytes have been received. The first 100 bytes are transferred to user
receiveBuffer (dataReceived = TRUE for one cycle, receivedDataLength =
100). The remaining 200 Bytes are used as first part of the next expected 100
bytes.
4. No new data has been received. There are still 200 bytes available Now the
first 100 bytes are transferred to user receiveBuffer (dataReceived = TRUE for
one cycle, receivedDataLength = 100).
5. No new data has been received. There are still 100 bytes available Now these
100 bytes are transferred to user receiveBuffer (dataReceived = TRUE for one
cycle, receivedDataLength = 100). Data transmission completed successfully.
Function characteristics
CPU
Application program
Sender application Network Receiver application
Lcom_Comm
se n d unication
Data
Leng readDataLength=FFFFFFFF IDB
th = IDB
4096
Ethe
rnet
1 460
Byte
Ethe
rnet
1 460 LCom_Communication is called
Byte
Ethe
rnet 1)
1 176 dataReceived = TRUE
Byte
se n d receivedDataLength= 1460
Data
Leng
th =
4096
LCom_Communication is called
Ethe 2)
rnet dataReceived = TRUE
1 460
Byte receivedDataLength= 2636
Ethe
rnet
1 460
Byte
Ethe
rnet
1 176 LCom_Communication is called
Siemens AG 2016 All rights reserved
Byte
3)
dataReceived = TRUE
receivedDataLength= 2920
LCom_Communication is called
4)
dataReceived = TRUE
receivedDataLength= 1176
1. 1460 bytes have been received. These are transferred immediately to user
receiveBuffer (dataReceived = TRUE for one cycle, receivedDataLength =
1460).
2. 2636 bytes have been received. These are transferred immediately to user
receiveBuffer (dataReceived = TRUE for one cycle, receivedDataLength =
2636).
3. 2920 bytes have been received. These are transferred immediately to user
receiveBuffer (dataReceived = TRUE for one cycle, receivedDataLength =
2920).
4. 1176 bytes have been received. These are transferred immediately to user
receiveBuffer (dataReceived = TRUE for one cycle, receivedDataLength =
1176).
Function characteristics
Figure 2-15: Receiving data with LCom protocol (readDataLength = 0)
CPU
Application program
Sender application Network Receiver application
Lcom_Comm
se n d unication
Data readDataLength=0
Leng IDB
th = IDB
4096
Ethe
rnet
1 460
Byte
Ethe
rnet
1 460 LCom_Communication is called
Byte
Ethe
rnet 1)
1 176 dataReceived = FALSE
Byte
se n d receivedDataLength= 0
Data
Leng
th =
4096
LCom_Communication is called
Ethe 2)
rnet dataReceived = FALSE
1 460
Byte receivedDataLength= 0
Ethe
rnet
Siemens AG 2016 All rights reserved
1 460
Byte
Ethe
rnet
1 176 LCom_Communication is called
Byte
2)
dataReceived = FALSE
receivedDataLength= 0
LCom_Communication is called
2)
dataReceived = FALSE
receivedDataLength= 0
1. 1460bytes have already been received in the TCP receive buffer but the data
is not read by the FB because readDataLength = 0. The user does not get any
data. Receiving is blocked.
2. No change with further FB calls. All data remains in the TCP buffer.
Application program
Sender application Network Receiver application
Lcom_Comm
se n d unication
Data
Leng readDataLength IDB
th = IDB
4096 1…. FFFFFFFF
Ethe
rnet
1 460
Byte
Ethe
rnet
1 460 LCom_Communication is called
Byte
Ethe
rnet 1)
1 176 Lcom protocol handles receive
Byte
characteristics
For time synchronization of two controllers, you can send the current time of one
controller to the partner and set it there as the system time. This is possible when a
connection is active and LCom protocol is used.
A distinction is made between the following types of time synchronization, see
configuration.timeSync structure:
Cyclic time synchronization
Specification of a cycle time for renewed synchronization
Daily time synchronization
Specification of a time-of-day at which the daily synchronization is performed
0: LCOM_NO_TIME_SYNC (default)
time synchronization inactive
1: LCOM_CYCLE_TIME_SYNC
cyclic time synchronization
see configuration.timeSync.cycleTime
2: LCOM_TIME_OF_DAY_TIME_SYNC
time synchronization at time of day
see
configuraton.timeSync.sendAtTimeOfDay
cycleTime Time Only valid by sendMode
1, LCOM_CYCLE_TIME_SYNC:
NOTE Only one partner should send time synchronization data and the other one
should use the received timestamps. If both partners are sending timestamps or
both have the configuration variable usePartnerTimestamps set to TRUE, then
no time synchronization will be executed and a warning is shown, see status
LCOM_WARN_NO_TIME_SYNC.
Siemens AG 2016 All rights reserved
The figure below shows the two scenarios as a signal flow diagram:
5) 6)
enable 1
(IN) 0
Siemens AG 2016 All rights reserved
1)
1
busy
(OUT) 0
2) 3) 4)
error 1
(OUT) 0
Each entry consists of the following elements: status or error number, date and
time of occurrence as well as the current state of the error. The state at the entry
into the buffer is always active. By resetting the error the state in the buffer is set to
inactive. The structure also contains the return value of the system function and
four additional values, which can include detailed information depending on the
occurred error.
The PLC tag table LCom_Constants contains user constants for status, warning,
error (see table Status and error displays) and configuration values (see PLC data
type typeLCom_Config).
Status and warning messages are within number range 16#7000 to 16#7FFF.
In case of an error in parameterization (16#8200 .. 16#83FF) the wrong value must
be replaced with an approvable value. The function block must then be restarted
Siemens AG 2016 All rights reserved
The function block will close the connection if an internal error occurs
(16#8600..16#87FF) and try to restart the connection. No new rising edge is
necessary at the enable input.
The used status messages are specified below. They are indicated in the output status and
listed in the diagnostics buffer.
additionalValue4 T#0ms
16#7003 FB tries to establish the connection as TCP client
LCOM_STATUS_CLIENT_TRY_CONNECT (active establishment)
Diagnostic entry:
additionalValue1..3: 0.0
additionalValue4 T#0ms
16#7600 Input parameter sendDataLength is too big and is limited
LCOM_WARN_SEND_DATA_LENGTH automatically to the size of the send buffer (sendBuffer)
Diagnostic entry:
completed
Diagnostic entry:
Diagnostic entry:
subFunctionErrorID: 16#0
additionalValue1 user value
additionalValue2…3: 0.0
additionalValue4: T#0ms
16#8201 The configured connection ID
LCOM_ERR_CONNECTION_ID (configuration.connection.connectionID) is invalid,
see system function TCON
Diagnostic entry:
Diagnostic entry:
subFunctionErrorID: 16#0
additionalValue1..3 0.0
additionalValue4: user value
16#8211 The configured send cycle for cyclic data exchange
LCOM_ERR_SEND_CYCLE_TIME (configuration.sender.cycleTime) is invalid, see chapter
2.2.3 Sending data
Diagnostic entry:
additionalValue3: 0.0
additionalValue4: T#0ms
16#8602 Error occurred when calling system function TSEND,
LCOM_ERR_SEND see subFunctionErrorID.
Connection is reestablished automatically
Diagnostic entry:
(default: 3456)
partnerPort UInt Only valid by active connection establishment
(configuration.connection.isClient = TRUE)
T#1ms .. T#24d20h31m23s647ms
(default: T#1s)
sender Struct Sender configuration
cycleTime Time Time interval used for cyclic communication
T#1ms .. T#24d20h31m23s647ms
(default: T#1s)
timeSync struct Time synchronization configuration; only possible
with LCom protocol
(configuration.connection.comService =
LCOM_LCOM_CONNECTION)
usePartnerTimestamps Bool TRUE: synchronize local time with received
timestamps
0: LCOM_NO_TIME_SYNC (default)
time synchronization inactive
1: LCOM_CYCLE_TIME_SYNC
cyclic time synchronization
see configuration.timeSync.cycleTime
2: LCOM_TIME_OF_DAY_TIME_SYNC
time synchronization at time of day
see configuraton.timeSync.sendAtTimeOfDay
cycleTime Time Only valid by sendMode
1, LCOM_CYCLE_TIME_SYNC:
The table "LCom user constants" shows an overview of all the constants of the block library
LCOM.
5 Related literature
Table 5-1 Related literature
Topic
\1\ Siemens Industry Online Support
http://support.automation.siemens.com
\2\ Download page of this entry
https://support.industry.siemens.com/cs/ww/en/view/48955385
6 Contact
Siemens AG 2016 All rights reserved
Siemens AG
Digital Factory Division
Factory Automation
Production Machines
DF FA PMA APC
Frauenauracher Str. 80
91056 Erlangen, Germany
mailto: profinet.team.motioncontrol.i-dt@siemens.com
7 History
Table 7-1 History
Version Date Modifications
V2.0 06/2015 First version (german)
V2.1 09/2015 Software changes (german)
(lifesign tolerance has been increased to a factor of 4,
functional enhancement of variable connection.comService)
01/2016 First version (english)
V2.2 10/2016 Correct typing error
(LCOM_WARN_RECEIVE_BUFFER_LEN)