brandonje - 5 hours ago

I'm using weintek and Codesys V3.5 SP22 when I try to charge an ethernetIP device show me this error:

                ------ Build started: Application: Device.Application -------
                Typify code...
[ERROR]         cip object, 4.9.0.0 (codesys): TCPIP_Interface: C0231:  Expression of type 'BOOL' expected in this place
[ERROR]         cip object, 4.9.0.0 (codesys): TCPIP_Interface: C0077:  Unknown type: '(_pPhysicalLink^._xLinkState <> CmpSysEthernet.OperStatus.SYSETH_OPERSTAT_Up)'
[ERROR]         cip object, 4.9.0.0 (codesys): TCPIP_Interface: C0077:  Unknown type: 'CmpSysEthernet.OperStatus.SYSETH_OPERSTAT_Up'
[ERROR]         cip object, 4.9.0.0 (codesys): TCPIP_Interface: C0062:  'CmpSysEthernet.OperStatus' is no structured variable
[ERROR]         cip object, 4.9.0.0 (codesys): TCPIP_Interface: C0063:  'CMPSYSETHERNET, 3.4.3.0 (3S - SMART SOFTWARE SOLUTIONS GMBH)' contains no definition for 'OperStatus'
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0046:  Identifier '_diAdapterNumber' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: '_diAdapterNumber'' to type 'DINT'
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: 'ADR(ethFrame.ethData)'' to type 'POINTER TO StructEthernetframe'
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0077:  Unknown type: 'ethFrame.ethData'
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: 'ethFrame.udFrameLen'' to type 'ANY'
[ERROR]         cip object, 4.9.0.0 (codesys): SendEthFrame [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): _OpenEthAdapter [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: '((driverInstance * 2) + 1)'' to type 'ANY'
[ERROR]         cip object, 4.9.0.0 (codesys): _OpenEthAdapter [TCPIP_Interface]: C0077:  Unknown type: '(driverInstance * 2)'
[ERROR]         cip object, 4.9.0.0 (codesys): _OpenEthAdapter [TCPIP_Interface]: C0077:  Unknown type: 'driverInstance'
[ERROR]         cip object, 4.9.0.0 (codesys): _OpenEthAdapter [TCPIP_Interface]: C0046:  Identifier 'driverInstance' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0231:  Expression of type 'BOOL' expected in this place
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0077:  Unknown type: 'SIZEOF(ethFrame.ethData)'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0077:  Unknown type: 'ethFrame.ethData'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0018:  'ethFrame.udFrameLen' is no valid assignment target
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: 'ADR(ethFrame.ethData)'' to type 'POINTER TO BYTE'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0077:  Unknown type: 'ethFrame.ethData'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [TCPIP_Interface]: C0201:  Type 'SysEthernetFrame' is not equal to type 'SysEthernetFrame' of VAR_IN_OUT respectively REFERENCE 'ethFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0046:  Identifier 'ethClose' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0018:  'ethClose' is no valid assignment target
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0046:  Identifier '_diAdapterNumber' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: '_diAdapterNumber'' to type 'DINT'
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0046:  Identifier '_diAdapterNumber' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0018:  '_diAdapterNumber' is no valid assignment target
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0046:  Identifier '_stName' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0018:  '_stName' is no valid assignment target
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0046:  Identifier '_stDescription' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): _CloseEthAdapter [TCPIP_Interface]: C0018:  '_stDescription' is no valid assignment target
[ERROR]         cip object, 4.9.0.0 (codesys): AddressConflictDetection [TCPIP_Interface]: C0231:  Expression of type 'BOOL' expected in this place
[ERROR]         cip object, 4.9.0.0 (codesys): AddressConflictDetection [TCPIP_Interface]: C0077:  Unknown type: '(_pPhysicalLink^._xLinkState = CmpSysEthernet.OperStatus.SYSETH_OPERSTAT_Up)'
[ERROR]         cip object, 4.9.0.0 (codesys): AddressConflictDetection [TCPIP_Interface]: C0077:  Unknown type: 'CmpSysEthernet.OperStatus.SYSETH_OPERSTAT_Up'
[ERROR]         cip object, 4.9.0.0 (codesys): AddressConflictDetection [TCPIP_Interface]: C0062:  'CmpSysEthernet.OperStatus' is no structured variable
[ERROR]         cip object, 4.9.0.0 (codesys): AddressConflictDetection [TCPIP_Interface]: C0063:  'CMPSYSETHERNET, 3.4.3.0 (3S - SMART SOFTWARE SOLUTIONS GMBH)' contains no definition for 'OperStatus'
[ERROR]         cip object, 4.9.0.0 (codesys): Recv [TCPIP_Interface]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): Recv [TCPIP_Interface]: C0046:  Identifier '_diAdapterNumber' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): Recv [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: '_diAdapterNumber'' to type 'DINT'
[ERROR]         cip object, 4.9.0.0 (codesys): Recv [TCPIP_Interface]: C0046:  Identifier '_diAdapterNumber' not defined
[ERROR]         cip object, 4.9.0.0 (codesys): Recv [TCPIP_Interface]: C0032:  Cannot convert type 'Unknown type: '_diAdapterNumber'' to type 'DINT'
[ERROR]         memory block manager, 3.5.21.30 (codesys): ObjectRetain [Disposable]: C0448:  Operator '__XADD' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         memory block manager, 3.5.21.30 (codesys): ObjectRelease [Disposable]: C0448:  Operator '__XADD' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [LLDP_Management]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [LLDP_Management]: C0201:  Type 'SysEthernetFrame' is not equal to type 'SysEthernetFrame' of VAR_IN_OUT respectively REFERENCE 'frame'
[ERROR]         cip object, 4.9.0.0 (codesys): SendFrame [LLDP_Management]: C0201:  Type 'SysEthernetFrame' is not equal to type 'SysEthernetFrame' of VAR_IN_OUT respectively REFERENCE 'ethFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0032:  Cannot convert type 'Unknown type: 'ADR(frame.ethData[0])'' to type 'POINTER TO BYTE'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0077:  Unknown type: 'frame.ethData[0]'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0032:  Cannot convert type 'Unknown type: 'SIZEOF(frame.ethData)'' to type 'UDINT'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0077:  Unknown type: 'frame.ethData'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0018:  'frame.udFrameLen' is no valid assignment target
[ERROR]         cip object, 4.9.0.0 (codesys): CreateFrame [LLDP_Management]: C0077:  Unknown type: 'SysEthernetFrame'
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Receive [UcmmReceiver]: C0448:  Operator '__COMPARE_AND_SWAP' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Send [UcmmReceiver]: C0448:  Operator '__COMPARE_AND_SWAP' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Enqueue [UcmmQueue]: C0448:  Operator '__COMPARE_AND_SWAP' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Enqueue [UcmmQueue]: C0448:  Operator '__XADD' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Enqueue [UcmmQueue]: C0448:  Operator '__XADD' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Dequeue [UcmmQueue]: C0448:  Operator '__XADD' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Dequeue [UcmmQueue]: C0448:  Operator '__COMPARE_AND_SWAP' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         iodrvethernetip, 4.9.0.0 (codesys): Dequeue [UcmmQueue]: C0448:  Operator '__XADD' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
[ERROR]         asynchronous job manager, 5.0.0.0 (codesys): ExtendAsync [FactoryBase]: C0448:  Operator '__COMPARE_AND_SWAP' is not supported by your current target. At least runtime system version 3.5.14.0 is required.
                Compile complete -- 71 errors, 0 warnings
                Build complete -- 71 errors, 0 warnings : No download possible