Diff of /trunk/package/Component/DeviceDescription/SM3_Drive_RaspiStepper_Direct.devdesc.xml [000000] .. [r2]  Maximize  Restore

Switch to unified view

a b/trunk/package/Component/DeviceDescription/SM3_Drive_RaspiStepper_Direct.devdesc.xml
1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE DeviceDescription [
3
<!ENTITY standardparameters SYSTEM "StandardParameters.xml">
4
]>
5
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Hilmar Panzer (3S - Smart Software Solutions GmbH) -->
6
<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" xsi:schemaLocation="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd D:\CoDeSys\Documentation\DOCUME~2.)\PRODUC~1\CODESY~1.0\DEVELO~1\FEATUR~1\DeviceDescription-1.0.xsd">
7
    <Types namespace="localTypes"></Types>
8
    <Strings namespace="localStrings">
9
    </Strings>
10
    <Files namespace="local">
11
        <Language lang="en">
12
            <File fileref="local" identifier="DriveIcon">
13
                <LocalFile>SoftMotion_Raspi_Stepper.ico</LocalFile>
14
            </File>
15
        </Language>
16
    </Files>
17
    <Device>
18
        <DeviceIdentification>
19
            <Type>1025</Type>
20
            <Id>FFFF 0001</Id>
21
            <Version>0.0.0.5</Version>
22
        </DeviceIdentification>
23
        <CompatibleVersions>
24
        </CompatibleVersions>
25
        <DeviceInfo>
26
            <Name name="localStrings:TypeName">SM_Drive_RaspiStepper_Direct</Name>
27
            <Description name="localStrings:TypeDescription">SoftMotion axis for direct stepper control on Raspberry Pi GPIOs directly (powered by a L298N or similar) switching the motor coils</Description>
28
            <Vendor name="localStrings:_3S">3S - Smart Software Solutions GmbH</Vendor>
29
            <OrderNumber>1805</OrderNumber>
30
            <Icon name="local:DriveIcon">SoftMotion_Raspi_Stepper.ico</Icon>
31
        </DeviceInfo>
32
        <Connector connectorId="1" moduleType="1248" interface="Common.SoftMotion.Logical" role="parent" explicit="false" hostpath="0" initialStatusFlag="241">
33
            <InterfaceName name="local:InterfaceName">SM_Drive_Logical:</InterfaceName>
34
            <Var />
35
        </Connector>
36
        <Connector role="child" connectorId="0" interface="Common.SoftMotion.General" moduleType="1029" explicit="false">
37
            <InterfaceName name="localStrings:InterfaceName">SM_Drive_RaspiStepper:</InterfaceName>
38
            <Slot count="1" allowEmpty="false" />
39
            <Var />
40
41
            <HostParameterSet>
42
        &standardparameters;
43
                <ParameterSection>
44
                    <Name name="local:AXIS_REF">AXIS_REF: Scalings</Name>
45
                    <Parameter ParameterId="1051" type="std:DWORD">
46
                        <Attributes download="true" functional="false" />
47
                        <Default>1</Default>
48
                        <Name name="localStrings:AXIS_REF.dwRatioTechUnitsDenom">dwRatioTechUnitsDenom</Name>
49
                        <Description name="localStrings:AXIS_REF.dwRatioTechUnitsDenom.Desc">conversion inc./tech.units denominator</Description>
50
                        <Custom />
51
                    </Parameter>
52
                    <Parameter ParameterId="1052" type="std:DINT">
53
                        <Attributes download="true" functional="false" />
54
                        <Default>1</Default>
55
                        <Name name="localStrings:AXIS_REF.iRatioTechUnitsNum">iRatioTechUnitsNum</Name>
56
                        <Description name="localStrings:AXIS_REF.iRatioTechUnitsNum.Desc">conversion inc./tech.units numerator</Description>
57
                        <Custom />
58
                    </Parameter>
59
                    <Parameter ParameterId="5000" type="std:DINT">
60
                        <Default>1</Default>
61
                        <Name name="localStrings:ScalingIncs">ScalingIncs</Name>
62
                        <download>false</download>
63
                    </Parameter>
64
                    <Parameter ParameterId="5001" type="std:DINT">
65
                        <Default>1</Default>
66
                        <Name name="localStrings:ScalingMotorTurns1">ScalingMotorTurns1</Name>
67
                        <download>false</download>
68
                    </Parameter>
69
                    <Parameter ParameterId="5002" type="std:DINT">
70
                        <Default>1</Default>
71
                        <Name name="localStrings:ScalingMotorTurns2">ScalingMotorTurns2</Name>
72
                        <download>false</download>
73
                    </Parameter>
74
                    <Parameter ParameterId="5003" type="std:DINT">
75
                        <Default>1</Default>
76
                        <Name name="localStrings:ScalingGearOutput1">ScalingGearOutput1</Name>
77
                        <download>false</download>
78
                    </Parameter>
79
                    <Parameter ParameterId="5004" type="std:DINT">
80
                        <Default>1</Default>
81
                        <Name name="localStrings:ScalingGearOutput2">ScalingGearOutput2</Name>
82
                        <download>false</download>
83
                    </Parameter>
84
                    <Parameter ParameterId="5005" type="std:DINT">
85
                        <Default>1</Default>
86
                        <Name name="localStrings:ScalingUnits">ScalingUnits</Name>
87
                        <download>false</download>
88
                    </Parameter>
89
                    <Parameter ParameterId="5006" type="std:BOOL">
90
                        <Default>FALSE</Default>
91
                        <Name name="localStrings:InvertDirection">InvertDirection</Name>
92
                        <download>false</download>
93
                    </Parameter>
94
                </ParameterSection>
95
                <ParameterSection>
96
                    <Name name="local:AXIS_REF">AXIS_REF: Motorsettings</Name>
97
                    <Parameter ParameterId="10300" type="std:DWORD">
98
                        <Default>6</Default>
99
                        <Name name="localStrings:A">A</Name>
100
                        <Description name="localStrings:ADesc">MotorPin A</Description>
101
                    </Parameter>
102
                    <Parameter ParameterId="10301" type="std:DWORD">
103
                        <Default>13</Default>
104
                        <Name name="localStrings:A-">A-</Name>
105
                        <Description name="localStrings:A-Desc">MotorPin A-</Description>
106
                    </Parameter>
107
                    <Parameter ParameterId="10302" type="std:DWORD">
108
                        <Default>19</Default>
109
                        <Name name="localStrings:B">B</Name>
110
                        <Description name="localStrings:BDesc">MotorPin B</Description>
111
                    </Parameter>
112
                    <Parameter ParameterId="10303" type="std:DWORD">
113
                        <Default>26</Default>
114
                        <Name name="localStrings:B-">B-</Name>
115
                        <Description name="localStrings:B-Desc">MotorPin B-</Description>
116
                    </Parameter>
117
                    <Parameter ParameterId="10304" type="std:LREAL">
118
                        <Default>1.0</Default>
119
                        <Name name="localStrings:MotorPowerTime">MotorPowerTime</Name>
120
                        <Description name="localStrings:MotorPowerTimeDesc">fraction of the cycle ]0..1], where outputs are set High (determines the power of the motor)</Description>
121
                    </Parameter>
122
                    <Parameter ParameterId="10305" type="std:BOOL">
123
                        <Default>FALSE</Default>
124
                        <Name name="localStrings:HalfStep">HalfStep</Name>
125
                        <Description name="localStrings:HalfSetp">Motor takes half steps instead of full steps</Description>
126
                    </Parameter>
127
                    <Parameter ParameterId="10306" type="std:LREAL">
128
                        <Default>0</Default>
129
                        <Name name="localStrings:MaxFrequency">MaxFrequency</Name>
130
                        <Description name="localStrings:MaxFrequence-Desc">maximum frequency (steps per second) that the motor can follow. 0: not supervized</Description>
131
                    </Parameter>
132
                    <Parameter ParameterId="10307" type="std:STRING">
133
                        <Default>'IEC-Tasks'</Default>
134
                        <Name name="localStrings:TaskGroup">TaskGroup</Name>
135
                        <Description name="localStrings:TaskGroup-Desc">name of the task group, in which the step generation will be done (relevant only on multi core systems)</Description>
136
                    </Parameter>
137
                </ParameterSection>
138
            </HostParameterSet>
139
            <DriverInfo needsBusCycle="false">
140
                <RequiredLib libname="SM3_Drive_RaspiStepper" vendor="3S - Smart Software Solutions GmbH" version="0.0.0.5" identifier="deviceLib">
141
                    <FBInstance basename="$(DeviceName)" fbname="AXIS_REF_RASPISTEPPER" fbnamediag="AXIS_REF_RASPISTEPPER">
142
                        <Initialize methodName="Initialize" />
143
                        <CyclicCall methodname="BeforeReadInputs" task="#buscycletask" whentocall="beforeReadInputs" />
144
                        <CyclicCall methodname="AfterReadInputs" task="#buscycletask" whentocall="afterReadInputs" />
145
                        <CyclicCall methodname="BeforeWriteOutputs" task="#buscycletask" whentocall="beforeWriteOutputs" />
146
                        <CyclicCall methodname="AfterWriteOutputs" task="#buscycletask" whentocall="afterWriteOutputs" />
147
                    </FBInstance>
148
                </RequiredLib>
149
            </DriverInfo>
150
        </Connector>
151
    </Device>
152
</DeviceDescription>