Search Project: *:*

 
<< < 1 .. 414 415 416 417 418 .. 3691 > >> (Page 416 of 3691)

i2c-mcp7941x SVN repository i2c-mcp7941x code (SVN Repository)
Last updated: 2019-04-05

meatforge: ./trunk/meatforge/mf.project.xml Bash bash (Bash)
<?xml version="1.0" encoding="utf-8"?> <project xmlns="http://www.plcopen.org/xml/tc6_0200"> <fileHeader companyName="" productName="CODESYS" productVersion="CODESYS V3.5 SP11" creationDateTime="2018-08-29T04:28:15.5400667" /> <contentHeader name="mf.project" modificationDateTime="2018-08-29T04:26:10.590234"> <coordinateInfo> <fbd> <scaling x="1" y="1" /> </fbd> <ld> <scaling x="1" y="1" /> </ld> <sfc> <scaling x="1" y="1" /> </sfc> </coordinateInfo> <addData> <data name="http://www.3s-software.com/plcopenxml/projectinformation" handleUnknown="implementation"> <ProjectInformation /> </data> </addData> </contentHeader> <types> <dataTypes /> <pous /> </types> <instances> <configurations> <configuration name="Device"> <resource name="Application"> <task name="PWM" interval="PT0.01S" priority="1"> <pouInstance name="PRG_PWM" typeName=""> <documentation> <xhtml xmlns="http://www.w3.org/1999/xhtml" /> </documentation> </pouInstance> <addData> <data name="http://www.3s-software.com/plcopenxml/tasksettings" handleUnknown="implementation"> <TaskSettings KindOfTask="Cyclic" Interval="10" IntervalUnit="ms" WithinSPSTimeSlicing="true"> <Watchdog Enabled="false" TimeUnit="ms" Sensitivity="1" /> </TaskSettings> </data> </addData> </task> <task name="Regulator" interval="PT0.01S" priority="1"> <pouInstance name="PRG_REGULATOR" typeName=""> <documentation> <xhtml xmlns="http://www.w3.org/1999/xhtml" /> </documentation> </pouInstance> <addData> <data name="http://www.3s-software.com/plcopenxml/tasksettings" handleUnknown="implementation"> <TaskSettings KindOfTask="Cyclic" Interval="10" IntervalUnit="ms" WithinSPSTimeSlicing="true"> <Watchdog Enabled="false" TimeUnit="ms" Sensitivity="1" /> </TaskSettings> </data> </addData> </task> <task name="VISU_TASK" interval="PT0.1S" priority="31"> <pouInstance name="VisuElems.Visu_Prg" typeName=""> <documentation> <xhtml xmlns="http://www.w3.org/1999/xhtml" /> </documentation> </pouInstance> <addData> <data name="http://www.3s-software.com/plcopenxml/tasksettings" handleUnknown="implementation"> <TaskSettings KindOfTask="Cyclic" Interval="100" IntervalUnit="ms" WithinSPSTimeSlicing="true"> <Watchdog Enabled="false" TimeUnit="ms" /> </TaskSettings> </data> </addData> </task> <addData> <data name="http://www.3s-software.com/plcopenxml/pou" handleUnknown="implementation"> <pou name="PRG_PWM" pouType="program"> <interface> <inputVars> <variable name="rDuty"> <type> <REAL /> </type> <initialValue> <simpleValue value="0.5" /> </initialValue> </variable> </inputVars> <localVars> <variable name="SPWM"> <type> <derived name="GPIOMods.SoftPWM" /> </type> </variable> </localVars> </interface> <body> <FBD> <vendorElement localId="10000000000"> <position x="0" y="0" /> <alternativeText> <xhtml xmlns="http://www.w3.org/1999/xhtml">FBD Implementation Attributes</xhtml> </alternativeText> <addData> <data name="http://www.3s-software.com/plcopenxml/fbd/implementationattributes" handleUnknown="implementation"> <fbdattributes xmlns=""> <attribute name="BoxInputFlagsSupported" value="true" /> </fbdattributes> </data> </addData> </vendorElement> <inVariable localId="10000000001"> <position x="0" y="0" /> <connectionPointOut /> <expression>100</expression> </inVariable> <inVariable localId="10000000002"> <position x="0" y="0" /> <connectionPointOut /> <expression>rDuty</expression> </inVariable> <block localId="10000000003" typeName="GPIOMods.SoftPWM" instanceName="SPWM"> <position x="0" y="0" /> <inputVariables> <variable formalParameter="dwFrequ"> <connectionPointIn> <connection refLocalId="10000000001" /> </connectionPointIn> </variable> <variable formalParameter="rDutyCycle"> <connectionPointIn> <connection refLocalId="10000000002" /> </connectionPointIn> </variable> </inputVariables> <inOutVariables /> <outputVariables> <variable formalParameter="xPWM"> <connectionPointOut /> </variable> </outputVariables> <addData> <data name="http://www.3s-software.com/plcopenxml/fbdcalltype" handleUnknown="implementation"> <CallType xmlns="">functionblock</CallType> </data> <data name="http://www.3s-software.com/plcopenxml/inputparamtypes" handleUnknown="implementation"> <InputParamTypes xmlns="">DWORD REAL</InputParamTypes> </data> <data name="http://www.3s-software.com/plcopenxml/outputparamtypes" handleUnknown="implementation"> <OutputParamTypes xmlns="">BOOL</OutputParamTypes> </data> </addData> </block> <outVariable localId="10000000004"> <position x="0" y="0" /> <connectionPointIn> <connection refLocalId="10000000003" formalParameter="xPWM" /> </connectionPointIn> <expression>xOut</expression> </outVariable> </FBD> </body> <addData /> </pou> </data> <data name="http://www.3s-software.com/plcopenxml/pou" handleUnknown="implementation"> <pou name="PRG_REGULATOR" pouType="program"> <interface> <localVars> <variable name="SPWM"> <type> <derived name="GPIOMods.SoftPWM" /> </type> </variable> <variable name="rTempSet"> <type> <REAL /> </type> </variable> </localVars> </interface> <body> <FBD> <vendorElement localId="10000000000"> <position x="0" y="0" /> <alternativeText> <xhtml xmlns="http://www.w3.org/1999/xhtml">FBD Implementation Attributes</xhtml> </alternativeText> <addData> <data name="http://www.3s-software.com/plcopenxml/fbd/implementationattributes" handleUnknown="implementation"> <fbdattributes xmlns=""> <attribute name="BoxInputFlagsSupported" value="true" /> </fbdattributes> </data> </addData> </vendorElement> <inVariable localId="10000000001"> <position x="0" y="0" /> <connectionPointOut /> <expression>0.0</expression> </inVariable> <inVariable localId="10000000002"> <position x="0" y="0" /> <connectionPointOut /> <expression>PRG_PWM.rDuty</expression> </inVariable> <inVariable localId="10000000003"> <position x="0" y="0" /> <connectionPointOut /> <expression>SPI_Temperature.rValue</expression> </inVariable> <inVariable localId="10000000004"> <position x="0" y="0" /> <connectionPointOut /> <expression>rTempSet</expression> </inVariable> <block localId="10000000005" typeName="SUB"> <position x="0" y="0" /> <inputVariables> <variable formalParameter="In1"> <connectionPointIn> <connection refLocalId="10000000003" /> </connectionPointIn> </variable> <variable formalParameter="In2"> <connectionPointIn> <connection refLocalId="10000000004" /> </connectionPointIn> </variable> </inputVariables> <inOutVariables /> <outputVariables> <variable formalParameter="Out1"> <connectionPointOut /> </variable> </outputVariables> <addData> <data name="http://www.3s-software.com/plcopenxml/fbdcalltype" handleUnknown="implementation"> <CallType xmlns="">operator</CallType> </data> <data name="http://www.3s-software.com/plcopenxml/inputparamtypes" handleUnknown="implementation"> <InputParamTypes xmlns="" /> </data> <data name="http://www.3s-software.com/plcopenxml/outputparamtypes" handleUnknown="implementation"> <OutputParamTypes xmlns="">INT</OutputParamTypes> </data> </addData> </block> <inVariable localId="10000000006"> <position x="0" y="0" /> <connectionPointOut /> <expression>10000</expression> </inVariable> <block localId="10000000007" typeName="DIV"> <position x="0" y="0" /> <inputVariables> <variable formalParameter="In1"> <connectionPointIn> <connection refLocalId="10000000005" formalParameter="Out1" /> </connectionPointIn> </variable> <variable formalParameter="In2"> <connectionPointIn> <connection refLocalId="10000000006" /> </connectionPointIn> </variable> </inputVariables> <inOutVariables /> <outputVariables> <variable formalParameter="Out1"> <connectionPointOut /> </variable> </outputVariables> <addData> <data name="http://www.3s-software.com/plcopenxml/fbdcalltype" handleUnknown="implementation"> <CallType xmlns="">operator</CallType> </data> <data name="http://www.3s-software.com/plcopenxml/inputparamtypes" handleUnknown="implementation"> <InputParamTypes xmlns="" /> </data> <data name="http://www.3s-software.com/plcopenxml/outputparamtypes" handleUnknown="implementation"> <OutputParamTypes xmlns="">INT</OutputParamTypes> </data> </addData> </block> <block localId="10000000008" typeName="ADD"> <position x="0" y="0" /> <inputVariables> <variable formalParameter="In1"> <connectionPointIn> <connection refLocalId="10000000002" /> </connectionPointIn> </variable> <variable formalParameter="In2"> <connectionPointIn> <connection refLocalId="10000000007" formalParameter="Out1" /> </connectionPointIn> </variable> </inputVariables> <inOutVariables /> <outputVariables> <variable formalParameter="Out1"> <connectionPointOut /> </variable> </outputVariables> <addData> <data name="http://www.3s-software.com/plcopenxml/fbdcalltype" handleUnknown="implementation"> <CallType xmlns="">operator</CallType> </data> <data name="http://www.3s-software.com/plcopenxml/inputparamtypes" handleUnknown="implementation"> <InputParamTypes xmlns="" /> </data> <data name="http://www.3s-software.com/plcopenxml/outputparamtypes" handleUnknown="implementation"> <OutputParamTypes xmlns="">INT</OutputParamTypes> </data> </addData> </block> <inVariable localId="10000000009"> <position x="0" y="0" /> <connectionPointOut /> <expression>1.0</expression> </inVariable> <block localId="10000000010" typeName="LIMIT"> <position x="0" y="0" /> <inputVariables> <variable formalParameter="In1"> <connectionPointIn> <connection refLocalId="10000000001" /> </connectionPointIn> </variable> <variable formalParameter="In2"> <connectionPointIn> <connection refLocalId="10000000008" formalParameter="Out1" /> </connectionPointIn> </variable> <variable formalParameter="In3"> <connectionPointIn> <connection refLocalId="10000000009" /> </connectionPointIn> </variable> </inputVariables> <inOutVariables /> <outputVariables> <variable formalParameter="Out1"> <connectionPointOut /> </variable> </outputVariables> <addData> <data name="http://www.3s-software.com/plcopenxml/fbdcalltype" handleUnknown="implementation"> <CallType xmlns="">operator</CallType> </data> <data name="http://www.3s-software.com/plcopenxml/inputparamtypes" handleUnknown="implementation"> <InputParamTypes xmlns="" /> </data> <data name="http://www.3s-software.com/plcopenxml/outputparamtypes" handleUnknown="implementation"> <OutputParamTypes xmlns="">INT</OutputParamTypes> </data> </addData> </block> <outVariable localId="10000000011"> <position x="0" y="0" /> <connectionPointIn> <connection refLocalId="10000000010" formalParameter="Out1" /> </connectionPointIn> <expression>PRG_PWM.rDuty</expression> </outVariable> </FBD> </body> <addData /> </pou> </data> <data name="http://www.3s-software.com/plcopenxml/libraries" handleUnknown="implementation"> <Libraries> <Library Name="#IoStandard" Namespace="IoStandard" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="true" DefaultResolution="IoStandard, 3.5.10.0 (System)" /> <Library Name="#3SLicense" Namespace="_3S_LICENSE" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="3SLicense, 0.0.0.0 (3S - Smart Software Solutions GmbH)" ResolverGuid="97c3b452-d9fa-4ac2-9d0c-3d420aa6d95b" /> <Library Name="#SM3_Basic" Namespace="SM3_Basic" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Basic, * (3S - Smart Software Solutions GmbH)" /> <Library Name="#SM3_CNC" Namespace="SM3_CNC" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_CNC, * (3S - Smart Software Solutions GmbH)"> <Parameters> <Parameter Name="GC_SMC_READNCFILE_BUFFERSIZE" Value="200" /> <Parameter Name="GC_SMC_READNCFILE_TOKENQUEUESIZE" Value="200" /> </Parameters> </Library> <Library Name="#Standard" Namespace="Standard" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="false" LinkAllContent="false" DefaultResolution="Standard, * (System)" /> <Library Name="IoDrvGPIO, 3.5.11.0 (3S - Smart Software Solutions GmbH)" Namespace="IoDrvGPIO" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" /> <Library Name="#BreakpointLogging" Namespace="BPLog" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="Breakpoint Logging Functions, 3.5.5.0 (3S - Smart Software Solutions GmbH)" /> <Library Name="#SM3_Robotics" Namespace="SM3_Robotics" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Robotics, 4.2.1.0 (3S - Smart Software Solutions GmbH)" /> <Library Name="#SM3_Robotics_Visu" Namespace="SM3_Robotics_Visu" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Robotics_Visu, 4.2.0.0 (3S - Smart Software Solutions GmbH)" /> <Library Name="#SM3_Transformation" Namespace="TRAFO" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Transformation, 4.2.1.0 (3S - Smart Software Solutions GmbH)" /> <Library Name="#PlaceholderTemplate" Namespace="GPIOMods" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="false" LinkAllContent="false" DefaultResolution="GPIOMods, * (Open Source)" /> <Library Name="#System_VisuElems" Namespace="VisuElems" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElems, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemMeter" Namespace="VisuElemMeter" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemMeter, 3.5.10.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemsSpecialControls" Namespace="VisuElemsSpecialControls" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsSpecialControls, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemsWinControls" Namespace="VisuElemsWinControls" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsWinControls, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemTextEditor" Namespace="VisuElemTextEditor" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemTextEditor, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemTrace" Namespace="VisuElemTrace" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemTrace, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuNativeControl" Namespace="VisuNativeControl" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuNativeControl, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemsAlarm" Namespace="VisuElemsAlarm" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsAlarm, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemCamDisplayer" Namespace="VisuElemCamDisplayer" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemCamDisplayer, 3.5.10.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae"> <Parameters> <Parameter Name="GC_POINTS_PER_CAM" Value="100" /> </Parameters> </Library> <Library Name="#System_VisuElem3DPath" Namespace="VisuElem3DPath" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElem3DPath, 3.5.10.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae"> <Parameters> <Parameter Name="GC_POINTS_PER_POLYGON" Value="100" /> </Parameters> </Library> <Library Name="#System_VisuElemsDateTime" Namespace="VisuElemsDateTime" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsDateTime, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#system_visuinputs" Namespace="visuinputs" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="visuinputs, 3.5.10.0 (system)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#Raspberry Pi Peripherals" Namespace="RasPi" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="Raspberry Pi Peripherals, 3.5.11.0 (3S - Smart Software Solutions GmbH)" /> <Library Name="SPI Temperature, 1.0.0.0 (Public Domain)" Namespace="SPITemp" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" /> <addData /> </Libraries> </data> </addData> </resource> <addData> <data name="Device" handleUnknown="discard"> <Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> <DeviceType> <DeviceIdentification> <Type>4102</Type> <Id>0000 0010</Id> <Version>3.5.11.20</Version> </DeviceIdentification> <Connector moduleType="256" interface="Common.PCI" connectorId="0"> <HostParameterSet /> </Connector> <Connector moduleType="1279" interface="Common.SoftMotion.General" connectorId="1"> <HostParameterSet /> </Connector> <Connector moduleType="496" interface="Raspberry.I2CMaster" connectorId="2"> <HostParameterSet /> </Connector> <Connector moduleType="497" interface="Raspberry.SPIMaster" connectorId="3"> <HostParameterSet /> </Connector> <Connector moduleType="504" interface="Raspberry.GPIOs" connectorId="4"> <HostParameterSet /> </Connector> <Connector moduleType="499" interface="Raspberry.OnewireMaster" connectorId="5"> <HostParameterSet /> </Connector> <Connector moduleType="502" interface="Raspberry.Camera2" connectorId="6"> <HostParameterSet /> </Connector> <DeviceParameterSet /> </DeviceType> </Device> </data> <data name="configurations" handleUnknown="discard"> <configurations> <configuration name="SoftMotion General Axis Pool"> <addData> <data name="ExplicitConnector" handleUnknown="discard"> <ExplicitConnector connectorID="1" /> </data> </addData> </configuration> <configuration name="I²C"> <addData> <data name="ExplicitConnector" handleUnknown="discard"> <ExplicitConnector connectorID="2" /> </data> </addData> </configuration> <configuration name="SPI"> <addData> <data name="ExplicitConnector" handleUnknown="discard"> <ExplicitConnector connectorID="3" /> </data> <data name="configurations" handleUnknown="discard"> <configurations> <configuration name="SPI_master"> <addData> <data name="Device" handleUnknown="discard"> <Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> <DeviceType> <DeviceIdentification> <Type>497</Type> <Id>0000 0000</Id> <Version>1.0.0.0</Version> </DeviceIdentification> <Connector moduleType="497" role="child" interface="Raspberry.SPIMaster" connectorId="1"> <HostParameterSet> <Parameter ParameterId="1" type="std:BOOL" IndexInDevDesc="0"> <Attributes offlineaccess="none" /> <Value name="_x0031_" visiblename="HiddenPointerToOwnInstance" offlineaccess="none" desc="HiddenPointerToOwnInstance">FALSE</Value> <Name>HiddenPointerToOwnInstance</Name> <Description>HiddenPointerToOwnInstance</Description> </Parameter> <Parameter ParameterId="10" type="std:STRING" IndexInDevDesc="1"> <Attributes onlineaccess="read" /> <Value name="_x0031_0" visiblename="SPI port" onlineaccess="read" desc="file path of the SPI port">'/dev/spidev0.0'</Value> <Name>SPI port</Name> <Description>file path of the SPI port</Description> </Parameter> <Parameter ParameterId="11" type="std:DINT" IndexInDevDesc="2"> <Attributes onlineaccess="read" /> <Value name="_x0031_1" visiblename="_diMode" onlineaccess="read" desc="SPI mode">0</Value> <Name>_diMode</Name> <Description>SPI mode</Description> </Parameter> <Parameter ParameterId="12" type="std:DINT" IndexInDevDesc="3"> <Attributes onlineaccess="read" /> <Value name="_x0031_2" visiblename="_diBitsPerWord" onlineaccess="read" desc="SPI bits per word">0</Value> <Name>_diBitsPerWord</Name> <Description>SPI bits per word</Description> </Parameter> <Parameter ParameterId="13" type="std:DINT" IndexInDevDesc="4"> <Attributes onlineaccess="read" /> <Value name="_x0031_3" visiblename="_diMaxSpeed" onlineaccess="read" desc="SPI max speed setting [Hz]">1000</Value> <Name>_diMaxSpeed</Name> <Description>SPI max speed setting [Hz]</Description> </Parameter> </HostParameterSet> </Connector> <Connector moduleType="501" interface="Raspberry.SPI" connectorId="2" hostpath="1"> <HostParameterSet /> </Connector> <DeviceParameterSet /> </DeviceType> </Device> </data> <data name="configurations" handleUnknown="discard"> <configurations> <configuration name="SPI_Temperature"> <addData> <data name="Device" handleUnknown="discard"> <Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> <DeviceType> <DeviceIdentification> <Type>501</Type> <Id>0003 0003</Id> <Version>3.5.11.0</Version> </DeviceIdentification> <Connector moduleType="500" role="child" interface="Raspberry.SPI" connectorId="1"> <HostParameterSet> <Parameter ParameterId="1000" type="std:USINT" IndexInDevDesc="0"> <Attributes onlineaccess="read" /> <Value name="_x0031_000" visiblename="Bit Width" onlineaccess="read" desc="Bit width of the temperature value">14</Value> <Name>Bit Width</Name> <Description>Bit width of the temperature value</Description> </Parameter> <Parameter ParameterId="1001" type="std:REAL" IndexInDevDesc="1"> <Attributes onlineaccess="read" /> <Value name="_x0031_001" visiblename="Resolution" onlineaccess="read" desc="Minimal resolution in degrees">0.25</Value> <Name>Resolution</Name> <Description>Minimal resolution in degrees</Description> </Parameter> </HostParameterSet> </Connector> <DeviceParameterSet /> </DeviceType> </Device> </data> </addData> </configuration> </configurations> </data> </addData> </configuration> </configurations> </data> </addData> </configuration> <configuration name="GPIOs_A_B"> <addData> <data name="Device" handleUnknown="discard"> <Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> <DeviceType> <DeviceIdentification> <Type>504</Type> <Id>0000 0000</Id> <Version>3.5.11.0</Version> </DeviceIdentification> <Connector moduleType="504" role="child" interface="Raspberry.GPIOs" connectorId="1"> <HostParameterSet> <Parameter ParameterId="4" type="local:GPIOType" IndexInDevDesc="0"> <Attributes onlineaccess="read" /> <Value name="_x0034_" visiblename="GPIO4" onlineaccess="read" desc="configuration of GPIO4">2#001</Value> <Name>GPIO4</Name> <Description>configuration of GPIO4</Description> </Parameter> <Parameter ParameterId="17" type="local:GPIOType" IndexInDevDesc="1"> <Attributes onlineaccess="read" /> <Value name="_x0031_7" visiblename="GPIO17" onlineaccess="read" desc="configuration of GPIO17">255</Value> <Name>GPIO17</Name> <Description>configuration of GPIO17</Description> </Parameter> <Parameter ParameterId="18" type="local:GPIOType" IndexInDevDesc="2"> <Attributes onlineaccess="read" /> <Value name="_x0031_8" visiblename="GPIO18" onlineaccess="read" desc="configuration of GPIO18">255</Value> <Name>GPIO18</Name> <Description>configuration of GPIO18</Description> </Parameter> <Parameter ParameterId="22" type="local:GPIOType" IndexInDevDesc="3"> <Attributes onlineaccess="read" /> <Value name="_x0032_2" visiblename="GPIO22" onlineaccess="read" desc="configuration of GPIO22">255</Value> <Name>GPIO22</Name> <Description>configuration of GPIO22</Description> </Parameter> <Parameter ParameterId="23" type="local:GPIOType" IndexInDevDesc="4"> <Attributes onlineaccess="read" /> <Value name="_x0032_3" visiblename="GPIO23" onlineaccess="read" desc="configuration of GPIO23">255</Value> <Name>GPIO23</Name> <Description>configuration of GPIO23</Description> </Parameter> <Parameter ParameterId="24" type="local:GPIOType" IndexInDevDesc="5"> <Attributes onlineaccess="read" /> <Value name="_x0032_4" visiblename="GPIO24" onlineaccess="read" desc="configuration of GPIO24">255</Value> <Name>GPIO24</Name> <Description>configuration of GPIO24</Description> </Parameter> <Parameter ParameterId="25" type="local:GPIOType" IndexInDevDesc="6"> <Attributes onlineaccess="read" /> <Value name="_x0032_5" visiblename="GPIO25" onlineaccess="read" desc="configuration of GPIO25">255</Value> <Name>GPIO25</Name> <Description>configuration of GPIO25</Description> </Parameter> <Parameter ParameterId="27" type="local:GPIOType" IndexInDevDesc="7"> <Attributes onlineaccess="read" /> <Value name="_x0032_7" visiblename="GPIO27" onlineaccess="read" desc="configuration of GPIO27">255</Value> <Name>GPIO27</Name> <Description>configuration of GPIO27</Description> </Parameter> <Parameter ParameterId="28" type="local:GPIOType" IndexInDevDesc="8"> <Attributes onlineaccess="read" /> <Value name="_x0032_8" visiblename="GPIO28" onlineaccess="read" desc="configuration of GPIO28">255</Value> <Name>GPIO28</Name> <Description>configuration of GPIO28</Description> </Parameter> <Parameter ParameterId="29" type="local:GPIOType" IndexInDevDesc="9"> <Attributes onlineaccess="read" /> <Value name="_x0032_9" visiblename="GPIO29" onlineaccess="read" desc="configuration of GPIO29">255</Value> <Name>GPIO29</Name> <Description>configuration of GPIO29</Description> </Parameter> <Parameter ParameterId="30" type="local:GPIOType" IndexInDevDesc="10"> <Attributes onlineaccess="read" /> <Value name="_x0033_0" visiblename="GPIO30" onlineaccess="read" desc="configuration of GPIO30">255</Value> <Name>GPIO30</Name> <Description>configuration of GPIO30</Description> </Parameter> <Parameter ParameterId="31" type="local:GPIOType" IndexInDevDesc="11"> <Attributes onlineaccess="read" /> <Value name="_x0033_1" visiblename="GPIO31" onlineaccess="read" desc="configuration of GPIO31">255</Value> <Name>GPIO31</Name> <Description>configuration of GPIO31</Description> </Parameter> <Parameter ParameterId="1000" type="local:BITFIELD_GPIO" IndexInDevDesc="12"> <Attributes channel="input" /> <Value name="_x0031_000" visiblename="digital inputs (GPIO0..GPIO31)"> <Element name="Bit0" visiblename="Bit0" offlineaccess="none" onlineaccess="none" /> <Element name="Bit1" visiblename="Bit1" offlineaccess="none" onlineaccess="none" /> <Element name="Bit2" visiblename="Bit2" offlineaccess="none" onlineaccess="none" /> <Element name="Bit3" visiblename="Bit3" offlineaccess="none" onlineaccess="none" /> <Element name="Bit4" visiblename="Bit4" onlineaccess="read" /> <Element name="Bit5" visiblename="Bit5" offlineaccess="none" onlineaccess="none" /> <Element name="Bit6" visiblename="Bit6" offlineaccess="none" onlineaccess="none" /> <Element name="Bit7" visiblename="Bit7" offlineaccess="none" onlineaccess="none" /> <Element name="Bit8" visiblename="Bit8" offlineaccess="none" onlineaccess="none" /> <Element name="Bit9" visiblename="Bit9" offlineaccess="none" onlineaccess="none" /> <Element name="Bit10" visiblename="Bit10" offlineaccess="none" onlineaccess="none" /> <Element name="Bit11" visiblename="Bit11" offlineaccess="none" onlineaccess="none" /> <Element name="Bit12" visiblename="Bit12" offlineaccess="none" onlineaccess="none" /> <Element name="Bit13" visiblename="Bit13" offlineaccess="none" onlineaccess="none" /> <Element name="Bit14" visiblename="Bit14" offlineaccess="none" onlineaccess="none" /> <Element name="Bit15" visiblename="Bit15" offlineaccess="none" onlineaccess="none" /> <Element name="Bit16" visiblename="Bit16" offlineaccess="none" onlineaccess="none" /> <Element name="Bit17" visiblename="Bit17" onlineaccess="read" /> <Element name="Bit18" visiblename="Bit18" onlineaccess="read" /> <Element name="Bit19" visiblename="Bit19" offlineaccess="none" onlineaccess="none" /> <Element name="Bit20" visiblename="Bit20" offlineaccess="none" onlineaccess="none" /> <Element name="Bit21" visiblename="Bit21" offlineaccess="none" onlineaccess="none" /> <Element name="Bit22" visiblename="Bit22" onlineaccess="read" /> <Element name="Bit23" visiblename="Bit23" onlineaccess="read" /> <Element name="Bit24" visiblename="Bit24" onlineaccess="read" /> <Element name="Bit25" visiblename="Bit25" onlineaccess="read" /> <Element name="Bit26" visiblename="Bit26" offlineaccess="none" onlineaccess="none" /> <Element name="Bit27" visiblename="Bit27" onlineaccess="read" /> <Element name="Bit28" visiblename="Bit28" onlineaccess="read" /> <Element name="Bit29" visiblename="Bit29" onlineaccess="read" /> <Element name="Bit30" visiblename="Bit30" onlineaccess="read" /> <Element name="Bit31" visiblename="Bit31" onlineaccess="read" /> </Value> <Name>digital inputs (GPIO0..GPIO31)</Name> </Parameter> <Parameter ParameterId="2000" type="local:BITFIELD_GPIO" IndexInDevDesc="13"> <Attributes channel="output" /> <Value name="_x0032_000" visiblename="digital outputs (GPIO0..GPIO31)"> <Element name="Bit0" visiblename="Bit0" offlineaccess="none" onlineaccess="none" /> <Element name="Bit1" visiblename="Bit1" offlineaccess="none" onlineaccess="none" /> <Element name="Bit2" visiblename="Bit2" offlineaccess="none" onlineaccess="none" /> <Element name="Bit3" visiblename="Bit3" offlineaccess="none" onlineaccess="none" /> <Element name="Bit4" visiblename="Bit4" onlineaccess="read" /> <Element name="Bit5" visiblename="Bit5" offlineaccess="none" onlineaccess="none" /> <Element name="Bit6" visiblename="Bit6" offlineaccess="none" onlineaccess="none" /> <Element name="Bit7" visiblename="Bit7" offlineaccess="none" onlineaccess="none" /> <Element name="Bit8" visiblename="Bit8" offlineaccess="none" onlineaccess="none" /> <Element name="Bit9" visiblename="Bit9" offlineaccess="none" onlineaccess="none" /> <Element name="Bit10" visiblename="Bit10" offlineaccess="none" onlineaccess="none" /> <Element name="Bit11" visiblename="Bit11" offlineaccess="none" onlineaccess="none" /> <Element name="Bit12" visiblename="Bit12" offlineaccess="none" onlineaccess="none" /> <Element name="Bit13" visiblename="Bit13" offlineaccess="none" onlineaccess="none" /> <Element name="Bit14" visiblename="Bit14" offlineaccess="none" onlineaccess="none" /> <Element name="Bit15" visiblename="Bit15" offlineaccess="none" onlineaccess="none" /> <Element name="Bit16" visiblename="Bit16" offlineaccess="none" onlineaccess="none" /> <Element name="Bit17" visiblename="Bit17" onlineaccess="read" /> <Element name="Bit18" visiblename="Bit18" onlineaccess="read" /> <Element name="Bit19" visiblename="Bit19" offlineaccess="none" onlineaccess="none" /> <Element name="Bit20" visiblename="Bit20" offlineaccess="none" onlineaccess="none" /> <Element name="Bit21" visiblename="Bit21" offlineaccess="none" onlineaccess="none" /> <Element name="Bit22" visiblename="Bit22" onlineaccess="read" /> <Element name="Bit23" visiblename="Bit23" onlineaccess="read" /> <Element name="Bit24" visiblename="Bit24" onlineaccess="read" /> <Element name="Bit25" visiblename="Bit25" onlineaccess="read" /> <Element name="Bit26" visiblename="Bit26" offlineaccess="none" onlineaccess="none" /> <Element name="Bit27" visiblename="Bit27" onlineaccess="read" /> <Element name="Bit28" visiblename="Bit28" onlineaccess="read" /> <Element name="Bit29" visiblename="Bit29" onlineaccess="read" /> <Element name="Bit30" visiblename="Bit30" onlineaccess="read" /> <Element name="Bit31" visiblename="Bit31" onlineaccess="read" /> </Value> <Name>digital outputs (GPIO0..GPIO31)</Name> <Mapping> <Element name="Bit4">xOut</Element> </Mapping> </Parameter> </HostParameterSet> </Connector> <DeviceParameterSet /> </DeviceType> </Device> </data> </addData> </configuration> <configuration name="Onewire"> <addData> <data name="ExplicitConnector" handleUnknown="discard"> <ExplicitConnector connectorID="5" /> </data> </addData> </configuration> <configuration name="Camera device"> <addData> <data name="ExplicitConnector" handleUnknown="discard"> <ExplicitConnector connectorID="6" /> </data> <data name="configurations" handleUnknown="discard"> <configurations> <configuration name="&lt;Empty&gt;"> <addData> <data name="Device" handleUnknown="discard" /> </addData> </configuration> </configurations> </data> </addData> </configuration> </configurations> </data> </addData> </configuration> </configurations> </instances> <addData> <data name="http://www.3s-software.com/plcopenxml/libraries" handleUnknown="implementation"> <Libraries> <Library Name="#System_VisuElems" Namespace="VisuElems" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElems, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemMeter" Namespace="VisuElemMeter" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemMeter, 3.5.10.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemsSpecialControls" Namespace="VisuElemsSpecialControls" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsSpecialControls, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemsWinControls" Namespace="VisuElemsWinControls" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsWinControls, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemTextEditor" Namespace="VisuElemTextEditor" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemTextEditor, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemTrace" Namespace="VisuElemTrace" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemTrace, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuNativeControl" Namespace="VisuNativeControl" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuNativeControl, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemsAlarm" Namespace="VisuElemsAlarm" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsAlarm, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#System_VisuElemCamDisplayer" Namespace="VisuElemCamDisplayer" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemCamDisplayer, 3.5.10.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae"> <Parameters> <Parameter Name="GC_POINTS_PER_CAM" Value="100" /> </Parameters> </Library> <Library Name="#System_VisuElem3DPath" Namespace="VisuElem3DPath" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElem3DPath, 3.5.10.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae"> <Parameters> <Parameter Name="GC_POINTS_PER_POLYGON" Value="100" /> </Parameters> </Library> <Library Name="#System_VisuElemsDateTime" Namespace="VisuElemsDateTime" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="VisuElemsDateTime, 3.5.11.0 (System)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <Library Name="#system_visuinputs" Namespace="visuinputs" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="visuinputs, 3.5.10.0 (system)" ResolverGuid="2717eb6a-dd07-4c66-8d8d-cacebd7b18ae" /> <addData /> </Libraries> </data> </addData> </project>
Last updated: 2018-08-29

designpatterns: ./Tags/package.manifest Bash bash (Bash)
<?xml version="1.0" encoding="ISO-8859-1"?> <Package> <Strings> <String Id="GeneralName"> <Neutral>master</Neutral> </String> <String Id="GeneralVendor"> <Neutral>open source</Neutral> </String> <String Id="GeneralCopyright"> <Neutral>Unlicense</Neutral> </String> <String Id="GeneralDescription"> <Neutral>various design patterns reworked for codesys from around the internet</Neutral> </String> <String Id="license"> <Neutral>license.txt</Neutral> </String> <String Id="TargetDir"> <Neutral>Target directory</Neutral> </String> <String Id="TargetDirDescription"> <Neutral>The target directory where the projects are saved.</Neutral> </String> </Strings> <General> <Id>{629f6ca1-0d95-11ea-8ca2-053a6e2df513}</Id> <Version>1.0.0.0</Version> <Name>$GeneralName</Name> <Vendor>$GeneralVendor</Vendor> <Copyright>$GeneralCopyright</Copyright> <Description>$GeneralDescription</Description> <LicenseAgreement>$license</LicenseAgreement> <RequiredInstallerVersion>3.5.10.0</RequiredInstallerVersion> </General> <TargetDirectoryDefinitions> <TargetDirectoryDefinition> <Id>1</Id> <Name>$TargetDir</Name> <Description>$TargetDirDescription</Description> <PromptUser>True</PromptUser> <DefaultValue>%USERPROFILE%\CODESYS Projects\</DefaultValue> </TargetDirectoryDefinition> </TargetDirectoryDefinitions> <Components> <Component> <General> <Id>1</Id> <Name>Default</Name> <Description>Default Package</Description> <Selectable>false</Selectable> <SelectedByDefault>true</SelectedByDefault> </General> <Dependencies> </Dependencies> <Items> <File> <Path>Tags\Patterns of Ladder Logic Programming\Patterns of Ladderlogic programming.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Abstract Factory- Pattern\Abstract Factory1.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Abstract Factory- Pattern\Abstract Factory2.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Abstract Factory- Pattern\Abstract Factory3.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Builder- Pattern\Builder_Application RPi.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Builder- Pattern\Builder_Application_2RPi.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Command- Pattern\Command1.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Command- Pattern\Command2.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Command- Pattern\Command3.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Decorator- Pattern\Decorator_Application.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Decorator- Pattern\Decorator_Application2.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Observer- Pattern\Observer_Application.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Observer- Pattern\Observer_Application2.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Proxy- Pattern\Proxy_Application.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Singleton- Pattern\Singleton_Application.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> <File> <Path>Tags\The -Singleton- Pattern\Singleton_Application2.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> </Items> </Component> </Components> </Package>
Last updated: 2019-11-23

designpatterns: ./Tags/UNLICENSE.MD Bash bash (Bash)
# This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org>
Last updated: 2019-06-17

meatforge: ./trunk/meatforge/package.manifest Bash bash (Bash)
<?xml version="1.0" encoding="ISO-8859-1"?> <Package> <Strings> <String Id="GeneralName"> <Neutral>Meat Forge</Neutral> </String> <String Id="GeneralVendor"> <Neutral>Open Source Software</Neutral> </String> <String Id="GeneralCopyright"> <Neutral>all rights reserved</Neutral> </String> <String Id="GeneralDescription"> <Neutral>Temperature controller for a BBQ grill or smoker.</Neutral> </String> <String Id="license"> <Neutral>LICENSE.TXT</Neutral> </String> <String Id="TargetDir"> <Neutral>Target directory</Neutral> </String> <String Id="TargetDirDescription"> <Neutral>The target directory where the projects are saved.</Neutral> </String> </Strings> <General> <Id>{78421f8f-ab7e-11e8-a28b-d95beabe8cbc}</Id> <Version>1.0.0.0</Version> <Name>$GeneralName</Name> <Vendor>$GeneralVendor</Vendor> <Copyright>$GeneralCopyright</Copyright> <Description>$GeneralDescription</Description> <LicenseAgreement>$license</LicenseAgreement> <RequiredInstallerVersion>3.5.10.0</RequiredInstallerVersion> </General> <TargetDirectoryDefinitions> <TargetDirectoryDefinition> <Id>1</Id> <Name>$TargetDir</Name> <Description>$TargetDirDescription</Description> <PromptUser>True</PromptUser> <DefaultValue>%USERPROFILE%\CODESYS Projects\</DefaultValue> </TargetDirectoryDefinition> </TargetDirectoryDefinitions> <Components> <Component> <General> <Id>1</Id> <Name>Default</Name> <Description>Default Package</Description> <Selectable>false</Selectable> <SelectedByDefault>true</SelectedByDefault> </General> <Dependencies> </Dependencies> <Items> <File> <Path>mf.project</Path> <IgnoreArchiveFolder>True</IgnoreArchiveFolder> <TargetFolder>$1</TargetFolder> <Overwrite> <Option>Yes</Option> </Overwrite> </File> </Items> </Component> </Components> </Package>
Last updated: 2018-08-29

meatforge: ./trunk/meatforge/license.txt Bash bash (Bash)
MIT License Copyright (c) [year] [fullname] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Last updated: 2018-08-29

designpatterns: ./Tags/The -Singleton- Pattern/README.md Bash bash (Bash)
The 'Singleton' Pattern for CODESYS 3 Original Poster: Armando Rene Narvaez Contreras The singleton pattern is a design pattern that restricts the instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The concept is sometimes generalized to systems that operate more efficiently when only one object exists, or that restrict the instantiation to a certain number of objects. The term comes from the mathematical concept of a singleton. *There are some who are critical of the singleton pattern and consider it to be an anti-pattern in that it is frequently used in scenarios where it is not beneficial, introduces unnecessary restrictions in situations where a sole instance of a class is not actually required, and introduces global state into an application.*
Last updated: 2019-06-09

designpatterns: ./Tags/README.MD Bash bash (Bash)
# Applied-Design-Patterns-in-CODESYS-V3 These design-patterns come from various sources all around the internet. I decided to study and rework / translate them into Codesys V3. The patterns are ideally suited for selfstudy purpose. Kudo's go out to the original posters! # Remember! Allthough design patterns can ease your life significantly, the best solution is always the simplest solution (and/ or procedural), no matter what fancy pattern you throw at it!
Last updated: 2019-06-17

meatforge: ./trunk/meatforge/mf.project.md Bash bash (Bash)
<?xml version="1.0" encoding="utf-8"?>--- ~~~ST PROGRAM PRG_PWM VAR_INPUT rDuty: REAL; END_VAR VAR SPWM: GPIOMods.SoftPWM; END_VAR ~~~ --- ~~~ST PROGRAM PRG_REGULATOR VAR SPWM: GPIOMods.SoftPWM; rTempSet: REAL; END_VAR ~~~
Last updated: 2018-08-29

designpatterns: ./Tags/.drone.yml Bash bash (Bash)
kind: pipeline name: default workspace: base: /working/repo steps: - name: compile image: codesys-ide:local commands: - codesys export-libdoc - codesys build-package
Last updated: 2019-11-23

io-drivers: ./trunk/I2C_Template.library.md Bash bash (Bash)
--- ~~~ST FUNCTION_BLOCK I2CTemplate EXTENDS i2c VAR_INPUT lrMinDistance: LREAL; lrMaxDistance: LREAL; END_VAR VAR_OUTPUT lrDistance: LREAL; xValid: BOOL; xNewMeasurement: BOOL; END_VAR VAR timer: TON; END_VAR ~~~ ~~~ST xNewMeasurement := FALSE; SUPER^(); CASE _iState OF 0: IF usiAddress = 0 THEN usiAddress := 16#70; END_IF IF SUPER^.init() THEN _iState := 5; END_IF 5: Timer.pt := T#70MS; _iState := 10; xValid := FALSE; END_CASE ~~~ --- ~~~ST METHOD AfterReadInputs: INT VAR Buffer: ARRAY [..] OF ; len: DINT; END_VAR ~~~ ~~~ST SUPER^.AfterReadInputs(); IF _iState = 10 THEN timer(IN:=TRUE); IF timer.Q THEN len := Read(ADR(Buffer), 4); IF len = 4 THEN lrDistance := BYTE_TO_LREAL(Buffer[2])*0.01 + BYTE_TO_LREAL(Buffer[3]) * 2.56; xValid := (lrDistance &gt;= lrMinDistance AND lrDistance &lt;= lrMaxDistance); xNewMeasurement := TRUE; ELSE xValid := FALSE; END_IF Write8(0, 16#51); //new measurement timer(IN:=FALSE); END_IF END_IF ~~~ --- ~~~ST METHOD BeforeWriteOutputs: INT ~~~ ~~~ST SUPER^.BeforeWriteOutputs(); ~~~
Last updated: 2018-12-29

io-drivers: ./trunk/SPI_Template.devdesc.xml Bash bash (Bash)
<?xml version="1.0" encoding="utf-8"?> <DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Types namespace="local"></Types> <Strings namespace="local"> <Language lang="en"></Language> </Strings> <Files namespace="local"> <Language lang="en"> <File fileref="local" identifier="Icon"> <LocalFile>icon.ico</LocalFile> </File> </Language> </Files> <Device hideInCatalogue="false"> <DeviceIdentification> <Type>501</Type> <Id>0003 0001</Id> <Version>1.0.0.0</Version> </DeviceIdentification> <DeviceInfo> <Name name="local:ModelName">SPI Template</Name> <Description name="local:DeviceDescription">This is a driver template for an SPI driver.</Description> <Vendor name="local:VendorName">Open Source</Vendor> <OrderNumber>-</OrderNumber> <Icon name="local:Icon">icon.ico</Icon> </DeviceInfo> <Connector moduleType="501" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1"> <InterfaceName name="local:SPI">SPI devices</InterfaceName> <Slot count="1" allowEmpty="false"></Slot> <DriverInfo needsBusCycle="false"> <RequiredLib libname="SPI Template" vendor="Open Source" version="1.0.0.0" identifier="SPI Template"> <FBInstance basename="$(DeviceName)" fbname="SPITemplate"> <Initialize methodName="Initialize" /> <CyclicCall methodname="AfterReadInputs" task="#buscycletask" whentocall="afterReadInputs" /> <CyclicCall methodname="BeforeWriteOutputs" task="#buscycletask" whentocall="beforeWriteOutputs" /> </FBInstance> </RequiredLib> </DriverInfo> <HostParameterSet> <Parameter ParameterId="1000" type="std:USINT"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>14</Default> <Name name="local:BitWidth">Bit Width</Name> <Description name="local:BitWidthDesc">Bit width of the temperature value</Description> </Parameter> <Parameter ParameterId="1001" type="std:REAL"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>0.25</Default> <Name name="local:Resolution">Resolution</Name> <Description name="local:ResolutionDesc">Minimal resolution in degrees</Description> </Parameter> </HostParameterSet> </Connector> </Device> </DeviceDescription>
Last updated: 2018-02-20

io-drivers: ./trunk/I2C_Template.devdesc.xml Bash bash (Bash)
<?xml version="1.0" encoding="utf-8"?> <DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Types namespace="local"></Types> <Strings namespace="local"> <Language lang="en"></Language> </Strings> <Files namespace="local"> <Language lang="en"> <File fileref="local" identifier="Icon"> <LocalFile>icon.ico</LocalFile> </File> </Language> </Files> <Device hideInCatalogue="false"> <DeviceIdentification> <Type>500</Type> <Id>0003 0002</Id> <Version>1.0.0.0</Version> </DeviceIdentification> <DeviceInfo> <Name name="local:ModelName">I2C Template</Name> <Description name="local:DeviceDescription">This is a driver template for an I2C driver.</Description> <Vendor name="local:VendorName">Open Source</Vendor> <OrderNumber>-</OrderNumber> <Icon name="local:Icon">icon.ico</Icon> </DeviceInfo> <Connector moduleType="500" interface="Raspberry.I2C" role="child" explicit="false" connectorId="1" hostpath="-1"> <InterfaceName name="local:I2C">I2C devices</InterfaceName> <Slot count="1" allowEmpty="false"></Slot> <DriverInfo needsBusCycle="false"> <RequiredLib libname="I2C Template" vendor="Open Source" version="1.0.0.0" identifier="I2C Template"> <FBInstance basename="$(DeviceName)" fbname="I2CTemplate"> <Initialize methodName="Initialize" /> <CyclicCall methodname="AfterReadInputs" task="#buscycletask" whentocall="afterReadInputs" /> <CyclicCall methodname="BeforeWriteOutputs" task="#buscycletask" whentocall="beforeWriteOutputs" /> </FBInstance> </RequiredLib> </DriverInfo> <HostParameterSet> <Parameter ParameterId="1000" type="std:USINT"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:I2CAddress">I2C Address</Name> <Description name="local:I2CAddressDesc">Address of the device</Description> </Parameter> <Parameter ParameterId="1001" type="std:UINT"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>50</Default> <Name name="local:Resolution">Frequency [Hz]</Name> <Description name="local:ResolutionDesc">PWM Frequency (1/T)</Description> </Parameter> </HostParameterSet> </Connector> </Device> </DeviceDescription>
Last updated: 2018-02-20

io-drivers: ./trunk/IoDrvFB.devdesc.xml Bash bash (Bash)
<?xml version="1.0" encoding="utf-8"?> <DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Types namespace="local"> <StructType name="IoDrvInput"> <Component identifier="dwIn" type="std:DWORD"> <Default /> <VisibleName name="local:Input">Input</VisibleName> </Component> </StructType> <StructType name="IoDrvOutput"> <Component identifier="dwOut" type="std:DWORD"> <Default /> <VisibleName name="local:Output">Output</VisibleName> </Component> </StructType> <StructType name="IoDrvConfig"> <Component identifier="dwConfig" type="std:DWORD"> <Default /> <VisibleName name="local:Config">Config</VisibleName> </Component> </StructType> </Types> <Strings namespace="local"> <Language lang="en"> </Language> </Strings> <Device hideInCatalogue="false"> <DeviceIdentification> <Type>8000</Type> <Id>0004 0007</Id> <Version>1.0.0.0</Version> </DeviceIdentification> <DeviceInfo> <Name name="local:ModelName">IoDrvFB</Name> <Description name="local:DeviceDescription">An I/O driver template, meant to easily map an existing FB to the CODESYS I/O driver interface</Description> <Vendor name="local:VendorName">Open Source</Vendor> <OrderNumber>-</OrderNumber> </DeviceInfo> <Connector moduleType="8007" interface="Common.PCI" role="child" explicit="false" connectorId="1" hostpath="-1"> <InterfaceName name="local:PCI">PCI-Bus</InterfaceName> <Slot count="1" allowEmpty="false"> </Slot> <DriverInfo needsBusCycle="true"> <RequiredLib libname="IoDrvFB" vendor="Open Source" version="1.0.0.0" identifier="deviceLib"> <FBInstance basename="$(DeviceName)" fbname="IoDrvFB"> <Initialize methodName="Initialize" /> </FBInstance> </RequiredLib> </DriverInfo> <HostParameterSet> <Parameter ParameterId="1000" type="local:IoDrvInput"> <Attributes channel="input" /> <Name name="local:Input">input</Name> </Parameter> <Parameter ParameterId="2000" type="local:IoDrvOutput"> <Attributes channel="output" /> <Name name="local:Output">output</Name> </Parameter> <Parameter ParameterId="3000" type="local:IoDrvConfig"> <Attributes channel="none" /> <Name name="local:Config">config</Name> </Parameter> </HostParameterSet> </Connector> </Device> </DeviceDescription>
Last updated: 2018-12-29

io-drivers: ./trunk/SPI_Template.library.md Bash bash (Bash)
--- ~~~ST FUNCTION_BLOCK SPITemplate EXTENDS spi VAR_OUTPUT dwRaw: DWORD; rValue: REAL; END_VAR VAR usiBitWidth: USINT; rResolution: REAL; END_VAR ~~~ ~~~ST SUPER^(); CASE _iState OF 0: IF SUPER^.init() THEN _iState := 1; END_IF 1: _iState := 10; END_CASE ~~~ --- ~~~ST METHOD AfterReadInputs: INT VAR aby: ARRAY [..] OF ; usiChannel: USINT; END_VAR ~~~ ~~~ST SUPER^.AfterReadInputs(); IF _iState = 10 THEN FOR usiChannel := 0 TO 0 DO aby[0] := 1; aby[1] := 16#80 + SHL(usiChannel AND 7, 4); aby[2] := 0; aby[3] := 0; IF NOT transfer(pabyTxBuffer:=ADR(aby) , pabyRxBuffer:=ADR(aby) , udiLen:=3 , uiDelayus:=0) THEN _iState := 1000; END_IF CASE usiChannel OF 0: dwRaw := aby[3]; dwRaw := SHL(dwRaw,8) OR aby[2]; dwRaw := SHL(dwRaw,8) OR aby[1]; dwRaw := SHL(dwRaw,8) OR aby[0]; rValue := DWORD_TO_REAL(SHR(dwRaw, usiBitWidth)); rValue := rValue * rResolution; END_CASE END_FOR END_IF ~~~ --- ~~~ST METHOD BeforeWriteOutputs: INT VAR i: USINT; END_VAR ~~~ ~~~ST SUPER^.BeforeWriteOutputs(); ~~~ --- ~~~ST METHOD Initialize: UDINT VAR_INPUT wModuleType: UINT; dwInstance: UDINT; pConnector: pointer; END_VAR VAR pParam: pointer; udiResult: UDINT; pusiBitWidth: pointer; prResolution: pointer; END_VAR ~~~ ~~~ST SUPER^.Initialize(wModuleType, dwInstance, pConnector); pParam := ConfigGetParameter(_pConnector, 1000); IF pParam &lt;&gt; 0 THEN pusiBitWidth := IoStandard.ConfigGetParameterValuePointer(pParam, ADR(udiResult)); usiBitWidth := pusiBitWidth^; END_IF pParam := ConfigGetParameter(_pConnector, 1001); IF pParam &lt;&gt; 0 THEN prResolution := IoStandard.ConfigGetParameterValuePointer(pParam, ADR(udiResult)); rResolution := prResolution^; END_IF ~~~
Last updated: 2018-12-29

io-drivers: ./trunk/IoDrvFB.library.md Bash bash (Bash)
--- ~~~ST FUNCTION_BLOCK TheFB VAR_INPUT udtInput: IoDrvInput; udtConfig: IoDrvConfig; END_VAR VAR_OUTPUT udtOutput: IoDrvOutput; END_VAR ~~~ ~~~ST // Implementation of the driver udtInput.dwIn := udtOutput.dwOut * udtConfig.dwConfig; ~~~ VAR_GLOBAL cClassID: DWORD; cDriverName: string; cDeviceName: string; cVendorName: string; cModuleType: WORD; END_VAR
Last updated: 2018-12-29

Post by wayne on Discussion for Home page I2C MCP7941x home (Post)
Hello aliazzz, I want to use the Eeprom AT24C (4096x8) on a DS3231. What do I've to change in the code? The i2c-adress is also 16#57, At the moment, after a power failure, the retain data is "0"... Thx, wayne
Last updated: 2020-03-31

Post by ingo on Discussion for Home page I2C MCP7941x home (Post)
AFAIK the driver doesn't change the retain strategy, but it stores and restores the data additionally into the external chip. @aliazzz what is the interval in which the data is stored?
Last updated: 2020-02-11

Post by wayne on Discussion for Home page I2C MCP7941x home (Post)
Hello, now I've opened a thread in the forum: https://forge.codesys.com/forge/talk/Deutsch/thread/a73b9e4a96/ Perhaps, you can look in in my new code? Maybe you can discover a mistake... :-) Thx, wayne
Last updated: 2020-04-03

Post by wayne on Discussion for Home page I2C MCP7941x home (Post)
Ahh... I've looked into the data sheets (that was a good hint ;-) and there was the first problem. The adressing is different (2 bytes for the adress) Yes, i'll run it on a rpi and the i2c detects the 24c32. OK, i will study the data sheet a little bit longer and then create a new CForge project. Thx, wayne
Last updated: 2020-04-02

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Hi, Surely you can use this library as a basis for your needs. It would be even better if you would start a new CForge project for it. If you do, we can help even better you with implementation for it. You wote *The i2c-adress is also 16#57, At the moment, after a power failure, the retain data is "0"... * The AT24C is a dedicated EEPROM, while the MCP7941x is a multipurpose package (RTC, Calendar and EEPROM) made by a different brand, so if it works out of the box, that would be sheer luck. I think you should download and study the data sheets for your AT24C and the MCP7941x. After studying both data sheets and the library for the MCP7941x you can rewrite it to suit your specific needs. PS, I assume you run it on a Raspberry pi. Have you checked if the i2c master detects it? When your runtime sees the ic, then you can start debugging. Good luck!
Last updated: 2020-03-31

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Some advice: Never try to use a library for hardware it is not written for (!) In the most negative scenario your hardware could brick or short circuit.
Last updated: 2020-04-02

Post by giuliano on Discussion for Home page I2C MCP7941x home (Post)
Very happy to read this post. But I can't find where you set the runtime to use sram for retain variables instead of file (that is the default setting I think). Thanks
Last updated: 2020-02-11

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Hi, Thank you! Retain data is normally not supported by the raspberry pi runtime by design of the hardware. Raspberry Pi has to my knowledge never been released with built in SRAM or battery backed up ram or similar. This library focuses purely on realisation of retain data with an mcp7941x RTC Chip with built in SRAM. If you wish to implement a workaround via a textfile, you are free to do so yourself as it is not part of the mcp7941x RTC Chip. With kind regards
Last updated: 2020-02-11

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Ehm, to rephrase it: the Retain mechanism in Codesys will compile but will not work in the standard raspberry pi hardware. This package enables the user to leverage battery backed up hardware sram support in a raspberry pi via the retain mechanisme which will work in combination with this library. The smallest working stable interval for me is T#1msec (see table) Your mileage may vary!
Last updated: 2020-02-11

<< < 1 .. 414 415 416 417 418 .. 3691 > >> (Page 416 of 3691)

Showing results of 92251

Sort by relevance or date