generated from pcdshub/lcls-plc-template-twincat-project
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Mbosum/22_dev
Merge latest running code for CVMI Motion into pcdshub master
- Loading branch information
Showing
18 changed files
with
615 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
lcls-plc-cvmi-motion/_Config/IO/Device 1 (EtherCAT)/CVMI_EK1200_CX0/LED_CH1-2_EL2502.xti
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<TcSmItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.beckhoff.com/schemas/2012/07/TcSmItem" TcSmVersion="1.0" TcVersion="3.1.4022.30" ClassName="CFlbTermDef" SubType="9099"> | ||
<ImageDatas> | ||
<ImageData Id="1000">424dd6020000000000003600000028000000100000000e0000000100180000000000a0020000120b0000120b00000000000000000000ff00ffff00ffff00ffff00ffff00ffff00ff808080808080808080808080808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000ffffc0c0c000ffff808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0ff0000c0c0c0ff0000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c00000ffc0c0c00000ff808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0008000c0c0c0008000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff</ImageData> | ||
</ImageDatas> | ||
<Box Id="20" BoxType="9099" BoxFlags="#x00000020"> | ||
<Name>__FILENAME__</Name> | ||
<ImageId>1000</ImageId> | ||
<EtherCAT SlaveType="2" PdiType="#x0005" MboxDataLinkLayer="true" StateMBoxPolling="true" CycleMBoxPollingTime="0" CoeType="7" FoeType="1" VendorId="#x00000002" ProductCode="#x09c63052" RevisionNo="#x001a0000" InfoDataAddr="true" TimeoutMailbox2="2000" CheckRevisionNoType="3" PortPhys="51" MaxSlotCount="256" MaxSlotGroupCount="1" SlotPdoIncrement="1" SlotIndexIncrement="16" Type="EL2502 2Ch. PWM output, 24V" Desc="EL2502"> | ||
<SyncMan>001080002600010001000000800080008000001026010000</SyncMan> | ||
<SyncMan>801080002200010002000000800080008000801022010000</SyncMan> | ||
<SyncMan>001104002400010003000000000000000400001124010000</SyncMan> | ||
<SyncMan>801100000000000004000000000000000000801100000000</SyncMan> | ||
<Fmmu>0000000000000000001100020100000001000000000000000000000000000000</Fmmu> | ||
<Fmmu>00000000000000000d0800010100000003000000000000000000000000000000</Fmmu> | ||
<BootStrapData>0010f400f410f400</BootStrapData> | ||
<Pdo Name="PWM Outputs Channel 1" Index="#x1600" InOut="1" Flags="#x0010" SyncMan="2"> | ||
<ExcludePdo>#x1602</ExcludePdo> | ||
<ExcludePdo>#x1604</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7000" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 2" Index="#x1601" InOut="1" Flags="#x0010" SyncMan="2"> | ||
<ExcludePdo>#x1603</ExcludePdo> | ||
<ExcludePdo>#x1605</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7010" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 1" Index="#x1602" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1600</ExcludePdo> | ||
<ExcludePdo>#x1604</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7000" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period" Index="#x7000" Sub="#x12"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 2" Index="#x1603" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1601</ExcludePdo> | ||
<ExcludePdo>#x1605</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7010" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period" Index="#x7010" Sub="#x12"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 1" Index="#x1604" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1600</ExcludePdo> | ||
<ExcludePdo>#x1602</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7000" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period 1Hz" Index="#x7000" Sub="#x13"> | ||
<Type>UDINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 2" Index="#x1605" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1601</ExcludePdo> | ||
<ExcludePdo>#x1603</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7010" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period 1Hz" Index="#x7010" Sub="#x13"> | ||
<Type>UDINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<CoeProfile ProfileNo="16389001"/> | ||
<CoeProfile ProfileNo="16389001"/> | ||
</EtherCAT> | ||
</Box> | ||
</TcSmItem> |
75 changes: 75 additions & 0 deletions
75
lcls-plc-cvmi-motion/_Config/IO/Device 1 (EtherCAT)/CVMI_EK1200_CX0/LED_CH3-4_EL2502.xti
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<TcSmItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.beckhoff.com/schemas/2012/07/TcSmItem" TcSmVersion="1.0" TcVersion="3.1.4022.30" ClassName="CFlbTermDef" SubType="9099"> | ||
<ImageDatas> | ||
<ImageData Id="1000">424dd6020000000000003600000028000000100000000e0000000100180000000000a0020000120b0000120b00000000000000000000ff00ffff00ffff00ffff00ffff00ffff00ff808080808080808080808080808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000ffffc0c0c000ffff808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0ff0000c0c0c0ff0000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c00000ffc0c0c00000ff808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0008000c0c0c0008000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff</ImageData> | ||
</ImageDatas> | ||
<Box Id="21" BoxType="9099" BoxFlags="#x00000020"> | ||
<Name>__FILENAME__</Name> | ||
<ImageId>1000</ImageId> | ||
<EtherCAT SlaveType="2" PdiType="#x0005" MboxDataLinkLayer="true" StateMBoxPolling="true" CycleMBoxPollingTime="0" CoeType="7" FoeType="1" VendorId="#x00000002" ProductCode="#x09c63052" RevisionNo="#x001a0000" InfoDataAddr="true" TimeoutMailbox2="2000" CheckRevisionNoType="3" PortPhys="51" MaxSlotCount="256" MaxSlotGroupCount="1" SlotPdoIncrement="1" SlotIndexIncrement="16" Type="EL2502 2Ch. PWM output, 24V" Desc="EL2502"> | ||
<SyncMan>001080002600010001000000800080008000001026010000</SyncMan> | ||
<SyncMan>801080002200010002000000800080008000801022010000</SyncMan> | ||
<SyncMan>001104002400010003000000000000000400001124010000</SyncMan> | ||
<SyncMan>801100000000000004000000000000000000801100000000</SyncMan> | ||
<Fmmu>0000000000000000001100020100000001000000000000000000000000000000</Fmmu> | ||
<Fmmu>00000000000000000d0800010100000003000000000000000000000000000000</Fmmu> | ||
<BootStrapData>0010f400f410f400</BootStrapData> | ||
<Pdo Name="PWM Outputs Channel 1" Index="#x1600" InOut="1" Flags="#x0010" SyncMan="2"> | ||
<ExcludePdo>#x1602</ExcludePdo> | ||
<ExcludePdo>#x1604</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7000" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 2" Index="#x1601" InOut="1" Flags="#x0010" SyncMan="2"> | ||
<ExcludePdo>#x1603</ExcludePdo> | ||
<ExcludePdo>#x1605</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7010" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 1" Index="#x1602" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1600</ExcludePdo> | ||
<ExcludePdo>#x1604</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7000" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period" Index="#x7000" Sub="#x12"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 2" Index="#x1603" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1601</ExcludePdo> | ||
<ExcludePdo>#x1605</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7010" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period" Index="#x7010" Sub="#x12"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 1" Index="#x1604" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1600</ExcludePdo> | ||
<ExcludePdo>#x1602</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7000" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period 1Hz" Index="#x7000" Sub="#x13"> | ||
<Type>UDINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<Pdo Name="PWM Outputs Channel 2" Index="#x1605" InOut="1" Flags="#x0010"> | ||
<ExcludePdo>#x1601</ExcludePdo> | ||
<ExcludePdo>#x1603</ExcludePdo> | ||
<Entry Name="PWM output" Index="#x7010" Sub="#x11"> | ||
<Type>UINT</Type> | ||
</Entry> | ||
<Entry Name="PWM period 1Hz" Index="#x7010" Sub="#x13"> | ||
<Type>UDINT</Type> | ||
</Entry> | ||
</Pdo> | ||
<CoeProfile ProfileNo="16389001"/> | ||
<CoeProfile ProfileNo="16389001"/> | ||
</EtherCAT> | ||
</Box> | ||
</TcSmItem> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.