DOCA0272EN-00

Data Block ConstTeSysIsland

The data block ConstTeSysIsland serves as a global storage of constants relevant across multiple function blocks. Currently it only contains the definition of the common set of status and error codes that are used by all function blocks. See Function Blocks for a description of each of the function blocks contained in this library and details about which error and status codes are used by the function block.

NOTE: As the function blocks directly reference this global data block, it must always be present within a PLC project using the function blocks described in this document.

To avoid unintended behavior of the function blocks, this data block is protected against changes to the values contained within it. To review the contents of the data block, double-click on it. If prompted for a password, choose Cancel. As protected function blocks within a library are pre-compiled for a type of Siemens® PLC, the function block library contains one Master copy for each PLC type that the library is designed for. All Master copies of the DataBlock (DB) contain the same members and values.

Content of Data Block ConstTeSysIsland

Member

Data Type

Value

Description

Cdw_ErrNoMsg

DWORD

16#0000

Error code: No error message available

Cdw_ErrInternal

DWORD

16#1101

Error code: Internal function block error detected

Cdw_ErrInvalidCycInAddr

DWORD

16#1201

Error code: Invalid start address for cyclic input data configured

Cdw_ErrInvalidHwid

DWORD

16#1202

Error code: Invalid HWID for acyclic communication configured (Details in q_dwAcyclicStatus)

Cdw_ErrInvalidNumOfAvatars

DWORD

16#1203

Error code: Invalid number of avatars specified (i_uiNoConfAvatar must be less or equal 20)

Cdw_ErrReadCycIn

DWORD

16#1301

Error code: Error reading cyclic input data

Cdw_ErrReadAcycData1

DWORD

16#1401

Error code: Error reading acyclic data set 1 (Details in q_dwAcyclicStatus)

Cdw_ErrReadAcycData2

DWORD

16#1402

Error code: Error reading acyclic data set 2 (Details in q_dwAcyclicStatus)

Cdw_ErrWriteAcycData

DWORD

16#1481

Error code: Error writing acyclic data set (Details in q_dwAcyclicStatus)

Cdw_StsNoMsg

DWORD

16#0000

Status code: No status details available

Cdw_StsReadAcycData1Compl

DWORD

16#2001

Status code: Reading acyclic data set 1 completed successfully

Cdw_StsReadAcycData2Compl

DWORD

16#2002

Status code: Reading acyclic data set 2 completed successfully

Cdw_StsWriteAcycDataCompl

DWORD

16#2081

Status code: Writing acyclic data set completed successfully

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?