Hello Etherlab users,

I am trying to configure the EL6692 connector from a Simulink model with a 
generic block and a device description xml to transmit various data between two 
masters. Neither Simulink nor dmesg throw any errors, but the RxPdo that are 
supposed to be configured do not show up on 'ethercat pdo -p 9' . The TxPdo do, 
with the exception of the last 'stuffing' byte (for alignment), show up. I have 
attached the xml and the output of 'ethercat pdo -p 9' in the hope that someone 
can have a quick look and give me a pointer. I would appreciate it. Thanks.

Best regards,
Jasper Westpfahl


# ethercat pdo -p 9

SM0: PhysAddr 0x1000, DefaultSize  256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1100, DefaultSize  256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1200, DefaultSize    0, ControlRegister 0x24, Enable 1
  RxPDO 0x1600 "RxPDO-Map"
SM3: PhysAddr 0x1800, DefaultSize   20, ControlRegister 0x20, Enable 1
  TxPDO 0x1a03 ""
    PDO entry 0x10f4:02,  2 bit, ""
    PDO entry 0x0000:00,  6 bit, ""
    PDO entry 0x0000:00,  3 bit, ""
    PDO entry 0x1800:09,  1 bit, ""
    PDO entry 0x1800:07,  1 bit, ""
    PDO entry 0x10f4:0e,  1 bit, ""
    PDO entry 0x10f4:0f,  1 bit, ""
    PDO entry 0x10f4:0a,  1 bit, ""
    PDO entry 0x10f4:0b, 32 bit, ""
    PDO entry 0x10f4:0c, 32 bit, ""
    PDO entry 0x10f4:0d, 32 bit, ""
  TxPDO 0x1a00 "TxPDO-Map"
    PDO entry 0x6000:01, 32 bit, ""
    PDO entry 0x6000:02, 32 bit, ""
    PDO entry 0x6000:03, 64 bit, ""
    PDO entry 0x6000:04, 64 bit, ""
    PDO entry 0x6000:05, 64 bit, ""
    PDO entry 0x6000:06, 64 bit, ""
    PDO entry 0x6000:07, 64 bit, ""
    PDO entry 0x6000:08, 64 bit, ""
    PDO entry 0x6000:09,  1 bit, ""
    PDO entry 0x6000:0a,  1 bit, ""
    PDO entry 0x0000:00,  6 bit, ""
<?xml version="1.0" ?>
<EtherCATInfo>
	<!-- Slave 1 -->
	<Vendor>
		<Id>2</Id>
	</Vendor>
	<Descriptions>
		<Devices>
			<Device>
				<Type ProductCode="#x1a243052" RevisionNo="#x00100000">EL6692</Type>
				<Name><![CDATA[EL6692 EtherCAT Bridge-Klemme (Prim�r)]]></Name>
				<Sm Enable="1" StartAddress="#x1000" ControlByte="#x26" DefaultSize="256" />
				<Sm Enable="1" StartAddress="#x1100" ControlByte="#x22" DefaultSize="256" />
				<Sm Enable="1" StartAddress="#x1200" ControlByte="#x24" DefaultSize="0" />
				<Sm Enable="1" StartAddress="#x1800" ControlByte="#x20" DefaultSize="20" />
				<RxPdo Sm="2" Fixed="1" Mandatory="1">
					<Index>#x1600</Index>
					<Name>RxPDO-Map</Name>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>1</SubIndex>
						<BitLen>1</BitLen>
						<Name>start</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>2</SubIndex>
						<BitLen>1</BitLen>
						<Name>stop</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>3</SubIndex>
						<BitLen>1</BitLen>
						<Name>load</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x0000</Index>
						<BitLen>5</BitLen>
					</Entry>
					<Entry>
						<Index>#x0000</Index>
						<BitLen>8</BitLen>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>4</SubIndex>
						<BitLen>64</BitLen>
						<Name>xabs</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>5</SubIndex>
						<BitLen>64</BitLen>
						<Name>yabs</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>6</SubIndex>
						<BitLen>64</BitLen>
						<Name>zabs</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
				</RxPdo>
				<TxPdo Sm="3" Fixed="1" Mandatory="1">
					<Index>#x1a03</Index>
					<Name>TxPDO-Map External Sync Compact</Name>
					<Entry>
						<Index>#x10f4</Index>
						<SubIndex>2</SubIndex>
						<BitLen>2</BitLen>
						<Name>SubIndex 002</Name>
						<DataType>BIT2</DataType>
					</Entry>
					<Entry>
						<Index>#x0000</Index>
						<BitLen>6</BitLen>
					</Entry>
					<Entry>
						<Index>#x0000</Index>
						<BitLen>3</BitLen>
					</Entry>
					<Entry>
						<Index>#x1800</Index>
						<SubIndex>9</SubIndex>
						<BitLen>1</BitLen>
						<Name>TxPDO toggle</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x1800</Index>
						<SubIndex>7</SubIndex>
						<BitLen>1</BitLen>
						<Name>TxPDO state</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x10f4</Index>
						<SubIndex>14</SubIndex>
						<BitLen>1</BitLen>
						<Name>Control value update toggle</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x10f4</Index>
						<SubIndex>15</SubIndex>
						<BitLen>1</BitLen>
						<Name>Time stamp update toggle</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x10f4</Index>
						<SubIndex>10</SubIndex>
						<BitLen>1</BitLen>
						<Name>External device not connected</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x10f4</Index>
						<SubIndex>11</SubIndex>
						<BitLen>32</BitLen>
						<Name>Internal time stamp</Name>
						<DataType>UINT32</DataType>
					</Entry>
					<Entry>
						<Index>#x10f4</Index>
						<SubIndex>12</SubIndex>
						<BitLen>32</BitLen>
						<Name>External time stamp</Name>
						<DataType>UINT32</DataType>
					</Entry>
					<Entry>
						<Index>#x10f4</Index>
						<SubIndex>13</SubIndex>
						<BitLen>32</BitLen>
						<Name>Control Value for DC Master Clock</Name>
						<DataType>UINT32</DataType>
					</Entry>
				</TxPdo>
				<TxPdo Sm="3" Fixed="1" Mandatory="1">
					<Index>#x1a00</Index>
					<Name>TxPDO-Map</Name>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>1</SubIndex>
						<BitLen>32</BitLen>
						<Name>state</Name>
						<DataType>UINT32</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>2</SubIndex>
						<BitLen>32</BitLen>
						<Name>errid</Name>
						<DataType>UINT32</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>3</SubIndex>
						<BitLen>64</BitLen>
						<Name>xpos</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>4</SubIndex>
						<BitLen>64</BitLen>
						<Name>xvelo</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>5</SubIndex>
						<BitLen>64</BitLen>
						<Name>ypos</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>6</SubIndex>
						<BitLen>64</BitLen>
						<Name>yvelo</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>7</SubIndex>
						<BitLen>64</BitLen>
						<Name>zpos</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>8</SubIndex>
						<BitLen>64</BitLen>
						<Name>zvelo</Name>
						<DataType>DOUBLE</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>9</SubIndex>
						<BitLen>1</BitLen>
						<Name>itpstatus</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x6000</Index>
						<SubIndex>10</SubIndex>
						<BitLen>1</BitLen>
						<Name>error</Name>
						<DataType>BOOL</DataType>
					</Entry>
					<Entry>
						<Index>#x0000</Index>
						<BitLen>6</BitLen>
					</Entry>
					<Entry>
						<Index>#x0000</Index>
						<BitLen>8</BitLen>
					</Entry>
				</TxPdo>
				<Dc Unknown64Bit="1" UnknownFRMW="1">
					<OpMode>
						<Name>DcSync</Name>
						<Desc>DC for synchronization</Desc>
						<AssignActivate>#x0320</AssignActivate>
						<CycleTimeSync0>125000</CycleTimeSync0>
						<ShiftTimeSync0>62500</ShiftTimeSync0>
						<CycleTimeSync1>0</CycleTimeSync1>
						<ShiftTimeSync1>0</ShiftTimeSync1>
					</OpMode>
				</Dc>
			</Device>
		</Devices>
	</Descriptions>
</EtherCATInfo>
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to