<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
<p style="margin: 0px;"></p>
<div class="plainTextContent">
Hi,<br />
<br />
I try configure an AnalogIO-Slave like in the User-example, but have problems<br />
with the Input-configuration. When running application error message "PDO entry<br />
0x6000:02 does not byte-align in config 0:7. PDO entry registration failed!"<br />
occurs.<br />
<br />
The mapping looks like this:<br />
<br />
const static ec_pdo_entry_reg_t domain1_regs[] = {<br />
{AnaIO, Alex_1, 0x7010, 1, &off_ana_out1},<br />
{AnaIO, Alex_1, 0x7010, 2, &off_ana_out2},<br />
{AnaIO, Alex_1, 0x6000, 1, &off_ana_in1},<br />
{AnaIO, Alex_1, 0x6000, 2, &off_ana_in2},<br />
{AnaIO, Alex_1, 0x6000, 3, &off_ana_in3},<br />
{AnaIO, Alex_1, 0x6000, 4, &off_ana_in4},<br />
{AnaIO, Alex_1, 0x6000, 5, &off_ana_in5},<br />
{AnaIO, Alex_1, 0x6000, 7, &off_ana_in7},<br />
{AnaIO, Alex_1, 0x0000, 0, &off_ana_in0},<br />
{AnaIO, Alex_1, 0x6000, 11, &off_ana_in11},<br />
{AnaIO, Alex_1, 0x6000, 12, &off_ana_in12},<br />
{AnaIO, Alex_1, 0x6000, 15, &off_ana_in15},<br />
{AnaIO, Alex_1, 0x6000, 16, &off_ana_in16},<br />
{AnaIO, Alex_1, 0x6000, 19, &off_ana_in19},<br />
{AnaIO, Alex_1, 0x6000, 13, &off_ana_in13},<br />
{AnaIO, Alex_1, 0x6000, 14, &off_ana_in14},<br />
{}<br />
};<br />
<br />
static ec_pdo_entry_info_t alex_1_channels[] = {<br />
{0x7010, 1, 16},<br />
{0x7010, 2, 16}<br />
};<br />
static ec_pdo_entry_info_t alex_in_channels[] = {<br />
{0x6000, 1, 1},<br />
{0x6000, 2, 1},<br />
{0x6000, 3, 1},<br />
{0x6000, 4, 1},<br />
{0x6000, 5, 2},<br />
{0x6000, 7, 2},<br />
{0x0000, 0, 8},<br />
{0x6000, 11, 32},<br />
{0x6000, 12, 32},<br />
{0x6000, 15, 16},<br />
{0x6000, 16, 16},<br />
{0x6000, 19, 16},<br />
{0x6000, 13, 16},<br />
{0x6000, 14, 16}<br />
};<br />
<br />
static ec_pdo_info_t alex_1_pdos[] = {<br />
{0x1601, 2, alex_1_channels}<br />
};<br />
<br />
static ec_pdo_info_t alex_in_pdos[] = {<br />
{0x1a00, 14, alex_in_channels}<br />
};<br />
<br />
static ec_sync_info_t alex_1_syncs[] = {<br />
{2, EC_DIR_OUTPUT, 1, alex_1_pdos},<br />
{3, EC_DIR_INPUT, 1, alex_in_pdos},<br />
{0xff}<br />
};<br />
<br />
hope some one can help me to solve the "byte-align"-problem<br />
<br />
best regards<br />
Christian Richter
</div><span></span>
<p style="margin: 0px;"></p>
<p style="font-family: monospace; white-space: nowrap; margin: 5px 0px 5px 0px;">Christian Richter<br />
Forschung/Entwicklung<br />
<br />
KNESTEL Technologie & Elektronik GmbH<br />
<br />
Riedleweg 4, 87496 Hopferbach, Germany<br />
Tel.:08374/585 8352<br />
<br />
Web: http://www.knestec.de<br />
Email: christian.richter@knestec.de<br />
<br />
Geschäftsführer: Markus Knestel - Handelsregister Kempten (HRB 10342)</p>
</body>
</html>