initialize

This commit is contained in:
Pruefer
2025-06-06 09:15:13 +02:00
commit fa7c2730f1
5817 changed files with 1339670 additions and 0 deletions

View File

@@ -0,0 +1,269 @@
Version 1.1.0.8
---------------
Import and export of messages as xml file
Version 1.1.0.9
---------------
importing invalid xml file; avoid iTAC.OIB.Adapter crash
Version 1.2.0.0
---------------
Configuration changed
filtering for line names implemented
support for PreSetupStation added
Version 1.2.0.1
---------------
Avoid crash if OIB core is down for maintainance. automatically re-establish connection
logging improved
Version 1.2.0.2
---------------
exception handling in setupCenterNotifyReceiver optimized.
field test version
Version 1.2.0.3
---------------
xml file writing for PackagingUnitLocation and ExternalControlResult, Configuration change necessary.
<!-- the following two are for synchronous call on scanning packaging units -->
<add key="PackagingUnitLocation" value="true"/>
<add key="ExternalControlResult" value="true"/>
Version 1.3.0.0
---------------
new libs for OIB 2.5 and SC 4.2
more Exception handling, general exception handler for uncaught exceptions
new function GetNewPackagingUnit (SC requests a packaging unit from MES)
PackagingUnitConsumedReport contains additional information about locations and remaining packaging units
Version 1.3.0.1
---------------
Adapter can read DownloadData from xml file and send it to Client
added consumedComponents information in TraceabilityData
Version 1.3.0.2
---------------
always create new input and output streams to java connector (requires java equivalent)
Version 1.3.0.3
---------------
A few more Packaging Unit fields: brightness class, ..
Version 1.3.0.4
---------------
Missing monitoring endpoint does not kill process
Version 1.3.0.5
---------------
Assembly Version still remains 1.3.0.4 from now to prevent oib configuration change
additionally startup information about FileVersion, which is now 1.3.0.5
compatible with Data Interface Version 6.10.02.374
Version 1.3.0.6
---------------
New Communication structure, DataInterface tells iTAC.OIB.Adapter on startup a remote port
Every data set opens a new connection
line control receiver configured only with port (changed adapter-configuration)
compatible with Data Interface Version 6.10.02.384
Version 1.3.0.7
---------------
catch Exception on logging(was not thread safe)
printing lineControl and setupCenter endpoints on startup
Version 1.3.0.8
---------------
LineName trim()
Events from Monitoring Queue and SetupCenter Queue sent by a thread and return immediately, preventing timeouts
Version 1.3.0.9
---------------
Exception inserting values in Hashmap fixed
possibly NullPointer prevented on MaterialMovedEvent
Version 1.3.0.10
---------------
return own address as IPv4 instead of undefined
config file modified timeout-times (now 2 minutes)
Version 1.3.0.11
---------------
Capability of reading PackagingUnitConsumedReport from file (internal feature)
Capability of reading MaterialMovedReport from file (internal feature)
management of connections to DataInterface now thread safe
Version 1.3.0.12
---------------
logging events NewSetupActive and SetupChangedReport (20120424)
config changed; new setting for NewSetupActive logging (20120424)
requesting DataInterface connection synchronized (20120425)
Version 1.3.0.13
---------------
changed log level for XML-Message-Logging from INFO to DEBUG (20120523)
changed time stamp format in logging, 3 digits for fractions of seconds (20120523)
logging configuration changed, adjustable log level for console logger (20120523)
new Parameter for Logging Xml into Console(20120523)
XML-Serialization performance improved (20120523)
Version 1.3.0.14
----------------
Capability of reading StationEventcomposite from file (internal feature 20120525)
Logging StationEventComposite corrected (20123105)
// from here we have two version for OIB 2.5 and 3.0
Version 2.5.0.15 / Version 3.0.0.15
-----------------------------------
internal structural changes
Version 2.5.0.16 / Version 3.0.0.16
-----------------------------------
preparing data structure (ComponentLocation) corrected (missing location info).
SiplacePro logging modified.
Version 2.5.0.17 / Version 3.0.0.17
-----------------------------------
skips all older BoardProcessedData messages, requires new Configuration value (20120815)
<!-- maximum age for boardProcessedMessages to be processed, in 'hours:minutes:seconds' -->
<add key="BoardProcessedDataMaxAge" value="00:30:00"/>
Version 3.0.1.18
-----------------------------------
new mechanism for line changeover eventBased Mode (20121017)
skips all older Stationevents messages, optional new Configuration value (20121017)
<!-- maximum age for StationEventMessages to be processed, in 'hours:minutes:seconds' -->
<add key="StationEventMaxAge" value="00:30:00"/>
ignored if value is not configured or invalid
Version 3.0.1.19
-----------------------------------
correction in SetupCenterReceiver (20121023)
Version 3.0.1.20
-----------------------------------
check receive time in MonitoringReceiver with UTC time (StationEvent and BoardProcessed) (20121106)
Version 3.0.1.21
-----------------------------------
use stationFullPath instead of stationTypeFullPath in downloadEvent (20121127)
// latest version usable with OIB 3.0.1.x
// from here minimum required OIB Version is 3.1.0.101
Version 3.1.0.22
-----------------------------------
Initial support of OIB 3.1; OIB Client 3.0.x is no longer supported by this Adapter. (20130307)
Version 3.1.0.23
-----------------------------------
Adapter starts even if DisplayService is not available, but in this case without Traceability function. (20130821)
Version 3.1.0.24
-----------------------------------
new ASM DLL V2.1.0.1 including BoardGateKeeper (20130919)
TraceReceiver will not be created/started if configured port is 0
Display Service Receiver will not be started if configured port is 0
Version 3.1.0.25
-----------------------------------
new ASM DLL V2.1.0.2 including modified BoardGateKeeper (20131011)
Adapter starts even if DisplayService is not available/reachable (20131011)
BoardGateKeeper will not be started if configured port is 0
sligthly changed format of xml output (bool values lower case, different date format)
Version 3.1.0.26
-----------------------------------
new ASM DLL V2.1.0.3 including modified BoardGateKeeper (20131018)
sligthly changed format of xml output (bool values lower case, different date format)
read xml files for VirtualInkspotData
Version 3.1.0.26
-----------------------------------
new ASM DLL V2.1.0.11 Virtual Inkspot Handling tested (20131025)
new configuration values "OnVIHDataRejected.ShowMessage" and "OnVIHDataRejected.StationStop" (20131025)
Version 3.1.0.27
-----------------------------------
new ASM DLL V2.1.0.14 implemented (20131120)
provide a new placementRecipeName to the line, new function startPlacementRecipe (20131022)
Version 3.1.0.28
-----------------------------------
deny board when communication break whilst VirtualInkspotRequest is active(20131204)
accept BoardProcessedData messages as xml files (20131206)
Version 3.1.0.29
-----------------------------------
get ASM OIB Product Versions (20131217)
Version 3.1.0.30
-----------------------------------
new ASM DLL V2.1.0.16 (20140113)
// from here:
// minimum required OIB Version 3.2.0.135
Version 3.2.0.31
-----------------------------------
new ASM DLL V2.2.0.1 (20140114)
use ASM OIB V3.2 (20140114)
Version 3.2.0.32
-----------------------------------
use recipeFullPath in LineChangeOverEvents instead of recipeName (20140120)
correct namespace for startJobResult (20140124)
setupCenterQueue subscription corrected (find correct stations of line) (20140120)
Version 3.2.0.33
-----------------------------------
logging on connection breakdown (20140827)
new ASM DLL V2.2.1.4 (20140909)
use ASM OIB V3.2 HF3 (3.2.0.152) (20140909)
Version 3.2.0.34
-----------------------------------
new ASM DLL V2.2.1.6, DLL backward compatible with older adapter versions (20141021)
provide additional info to displayService on rejected Tracebilitydata (20141021)
Version 3.2.0.35
-----------------------------------
ignore download events from any except the configured line (20141118)
Version 3.2.0.36
-----------------------------------
skip StationEventComposite messages without stateTransitions (20150706)
Version 3.2.0.37
-----------------------------------
accept Component to be null even if designator is set in BoardData/improved logging (20150909)
Version 3.2.0.38
-----------------------------------
new internal API Version (AsmApi.dll) / ASM Release 80 (20151209)
Version 3.2.0.39
-----------------------------------
return timestamp values as UTC (like 2016-10-07T12:33:05.0000000Z instead of 2016-10-07T12:33:05.0000000) (20162110)
Version 3.2.0.40
-----------------------------------
new asm client lib 2.3.0.1 (20170215)
Version 3.2.0.41
-----------------------------------
new asm client lib 2.3.0.2
new optional config parameter to configure inkspot fiducial handling
added all optional parameters to configuration file (20170706)
use date 01.01.0001 for any date from iTAC <= 01.01.1970 in PackagingUnitControl (20180201)
Version 3.2.0.42
-----------------------------------
new asm client lib 2.3.0.3 (20180809)

View File

@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
<appSettings>
<!-- The name or the IP address of the OIB Core Host -->
<add key="OIBCoreHostName" value="192.168.5.51" />
<!-- this iTAC.OIB.Adapter should work for this line. -->
<!-- the line Name is appended to the endpoint urls to distinguish the endpoints in oib -->
<!--add key="LineName" value="Line1\Line1sync"/>
<add key="LineName" value="Line4\Line 4.2"/-->
<add key="LineName" value="Line1\Line1sync"/>
<add key ="isSetupStation" value="false"/>
<!-- set to true for iTAC failure analysis only -->
<add key ="offlineMode" value="false"/>
<!-- The listen port is the port the adapter will listen for Java connections -->
<add key="ListenPort" value="33020"/>
<!-- every iTAC.OIB.Adapter endpoint has a separate URL and port. together with the service name results a uniqe URL -->
<!-- the endpoint-url may contain special characters!!! -->
<!-- e.g. http://OibAdapterPc:33334/Itac.Oib.SetupCenterExternalControl/Line1 -->
<add key="SiplaceProEventPort" value="9500"/>
<add key="DisplayServiceEventPort" value="9600"/>
<!-- default port 9600 -->
<add key="SetupCenterNotifyPort" value="33333"/>
<add key="SetupCenterExternalControlPort" value="33334"/>
<add key="TraceServicePort" value="33335"/>
<add key="MonitoringReceiverPort" value="33336"/>
<add key="LineControlReceiverPort" value="33338"/>
<add key="BoardGateKeeperEventPort" value="33339"/>
<add key="DekPrinterExternalControlPort" value="33337"/>
<!-- define wether messages should be logged or not. -->
<add key="xmlExport" value="true"/>
<add key="xmlLogging" value="true"/>
<!-- define, which messages should be logged -->
<add key="TraceabilityData" value="true"/>
<add key="DownloadData" value="false"/>
<add key="StationEventComposite" value="false"/>
<add key="MaterialMovedReport" value="true"/>
<add key="SetupChangedReport" value="false"/>
<add key="FeederPlacedReport" value="false"/>
<add key="TablePlacedReport" value="false"/>
<add key="TableRemovedReport" value="false"/>
<add key="BoardProcessedData" value="false"/>
<add key="CheckInData" value="true"/>
<add key="FeederRemovedReport" value="false"/>
<add key="PackagingUnitConsumedReport" value="true"/>
<add key="PackagingUnitCreatedReport" value="false"/>
<add key="LockStateChangedReport" value="false"/>
<add key="LineChangeoverEvent" value="true"/>
<!-- the following two are for synchronous call on scanning packaging units -->
<add key="PackagingUnitLocation" value="true"/>
<add key="ExternalControlResult" value="true"/>
<add key="BoardRequestData" value="true"/>
<!-- maximum age for boardProcessedMessages to be processed, in 'hours:minutes:seconds' -->
<add key="BoardProcessedDataMaxAge" value="00:30:00"/>
<add key="StationEventMaxAge" value="00:05:00"/>
<!-- This setting allows to stop the line if the trace data is rejected by iTac MES Suite -->
<!-- In this case the input conveyor of the last station is stopped -->
<add key="Asm.As.Oib.Client.Extensions.StopLineOnTraceDataRejected" value="true"/>
<add key="Asm.As.Oib.Client.Extensions.OnVIHDataRejected.ShowMessage" value="true"/>
<add key="Asm.As.Oib.Client.Extensions.OnVIHDataRejected.StationStop" value="true"/>
<!-- timing values for event based mode -->
<add key="Asm.As.Oib.Client.Extensions.ChangeoverIncompleteWarningSeconds" value="120"/>
<add key="Asm.As.Oib.Client.Extensions.ChangeoverIncompleteRepeatWarningSeconds" value="120"/>
<!-- from 2.3.0.2: Virtual Inkspot handling definition
True: VirtualInkspotHandler will only request iTAC if a BarcodeFiducial is configured for the board in SiplacePro. ("Customer-Case")
False: VirtualInkspotHandler will request iTAC always.
Default: true -->
<add key="Asm.As.Oib.Client.Extensions.VirtualInkspotHandlerConsidersBarcodeFiducial" value="true"/>
<!--These are values a user can override if neccessary (for info see MSDN for binding parameters), if not provided the defaults are used-->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.MaxNumberOfRetryAttempts" value="1" />-->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.RetryFrequency" value="2000" />-->
<!-- This is the interval in ms when the proxy checks the connection to the Service,-->
<!-- it must be greater or equal to 1000ms; if this is not present, a default value of 1 minute is used -->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.CheckAliveFrequency" value="60000" />-->
</appSettings>
<log4net>
<appender name="LogFileAppenderFull" type="log4net.Appender.RollingFileAppender">
<file value=".\Log\itac.oib.proxy.full.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<header value="" />
<footer value="" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
</appender>
<appender name="LogFileAppenderError" type="log4net.Appender.RollingFileAppender">
<file value=".\Log\itac.oib.proxy.error.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="3" />
<maximumFileSize value="10MB" />
<staticLogFileName value="true" />
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="WARN" />
<levelMax value="FATAL" />
</filter>
<layout type="log4net.Layout.PatternLayout">
<header value="" />
<footer value="" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
</appender>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
<layout type="log4net.Layout.PatternLayout">
<header value="[Header]\r\n" />
<footer value="[Footer]\r\n" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="DEBUG" />
<levelMax value="FATAL" />
</filter>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="LogFileAppenderFull" />
<appender-ref ref="LogFileAppenderError" />
<appender-ref ref="ConsoleAppender" />
</root>
</log4net>
</configuration>