[Etherlab-users] The phenomenon that SAFEOP does not transmit FMMU packet

Gavin Lambert gavin.lambert at tomra.com
Fri Aug 12 08:54:15 CEST 2022


FMMU configuration happens at the PREOP -> SAFEOP transition, not the SAFEOP -> OP.

Gavin Lambert

Senior Software Developer TOMRA Fresh Food



[cid:TOMRA_CMYK_final_size_times_two_cd761a01-1d1f-446e-9316-8012271820b6.png]

[cid:TOMRA_50th-Email_Signature_Food-08_ba63a226-17be-4b94-80e3-3f48ae3d72b3.jpg]

 [cid:TF-FB-icon_b77c57e4-4990-4f9d-b3a2-8e6ab45df7f2.jpg] <https://www.facebook.com/TOMRA.Food/>  [cid:TF-LinkedIn-icon_d54c4829-dcb9-450c-9187-34b26e85ebaa.jpg] <https://www.linkedin.com/company/tomra-food/>  [cid:TF-twitter-icon_65c62d2e-772c-4a2c-97c5-d84fbfc204d5.jpg] <https://twitter.com/TOMRAFood>  [cid:TF-Youtube-icon_8b2c830c-70d9-48da-a4db-db9191d346ba.jpg] <https://www.youtube.com/playlist?list=PLDD3B1A7BAE919EC6>  [cid:TOMRAinstagram_45b30c55-490a-4f32-8fd3-998c152e3494.jpg] <https://www.instagram.com/tomrafood/>
 Compac Technologies Ltd | 4 Henderson Place | PO Box 13 516 | Onehunga 1061 | New Zealand

 Phone: +64 96 34 00 88 | https://www.compacsort.com
The information contained in this communication and any attachment is confidential and may be legally privileged. It should only be read by the person(s) to whom it is addressed. If you have received this communication in error, please notify the sender and delete the communication.
From: ???
Sent: Friday, 12 August 2022 13:57
To: etherlab-users at etherlab.org
Subject: [Etherlab-users] The phenomenon that SAFEOP does not transmit FMMU packet

Hi all

I have problem is that the state is not changed with SAFEOP -> OP.
Compared to Twincat, it seems that SAFEOP does not blow the FMMU configuration packet.
Where would you like to check?
Also, what kind of information do you need to solve this problem???

I am running it on NXP imx8mp eval board

First of all, the Cstruct of Ethercat slave is as follows.

/* Master 0, Slave 0, "ARIO-C-EC"
* Vendor ID: 0x00000759
* Product code: 0x00000003
* Revision number: 0x000d0001
*/

ec_pdo_entry_info_t slave_0_pdo_entries[] = {
{0x7010, 0x01, 8}, /* Byte 1 */
{0x6000, 0x01, 8}, /* Byte 1 */
};

ec_pdo_info_t slave_0_pdos[] = {
{0x1601, 1, slave_0_pdo_entries + 0}, /* RxPDO Mapping Slot #01 */
{0x1a00, 1, slave_0_pdo_entries + 1}, /* TxPDO Mapping Slot #00 */
};

ec_sync_info_t slave_0_syncs[] = {
{0, EC_DIR_OUTPUT, 0, NULL, EC_WD_DISABLE},
{1, EC_DIR_INPUT, 0, NULL, EC_WD_DISABLE},
{2, EC_DIR_OUTPUT, 1, slave_0_pdos + 0, EC_WD_ENABLE},
{3, EC_DIR_INPUT, 1, slave_0_pdos + 1, EC_WD_DISABLE},
{0xff}
};

Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 34 bytes
Desc: image001.gif
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TOMRA_CMYK_final_size_times_two_cd761a01-1d1f-446e-9316-8012271820b6.png
Type: image/png
Size: 6455 bytes
Desc: TOMRA_CMYK_final_size_times_two_cd761a01-1d1f-446e-9316-8012271820b6.png
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TOMRA_50th-Email_Signature_Food-08_ba63a226-17be-4b94-80e3-3f48ae3d72b3.jpg
Type: image/jpeg
Size: 58287 bytes
Desc: TOMRA_50th-Email_Signature_Food-08_ba63a226-17be-4b94-80e3-3f48ae3d72b3.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TF-FB-icon_b77c57e4-4990-4f9d-b3a2-8e6ab45df7f2.jpg
Type: image/jpeg
Size: 10123 bytes
Desc: TF-FB-icon_b77c57e4-4990-4f9d-b3a2-8e6ab45df7f2.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TF-LinkedIn-icon_d54c4829-dcb9-450c-9187-34b26e85ebaa.jpg
Type: image/jpeg
Size: 10214 bytes
Desc: TF-LinkedIn-icon_d54c4829-dcb9-450c-9187-34b26e85ebaa.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TF-twitter-icon_65c62d2e-772c-4a2c-97c5-d84fbfc204d5.jpg
Type: image/jpeg
Size: 10254 bytes
Desc: TF-twitter-icon_65c62d2e-772c-4a2c-97c5-d84fbfc204d5.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0009.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TF-Youtube-icon_8b2c830c-70d9-48da-a4db-db9191d346ba.jpg
Type: image/jpeg
Size: 10218 bytes
Desc: TF-Youtube-icon_8b2c830c-70d9-48da-a4db-db9191d346ba.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0010.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TOMRAinstagram_45b30c55-490a-4f32-8fd3-998c152e3494.jpg
Type: image/jpeg
Size: 10303 bytes
Desc: TOMRAinstagram_45b30c55-490a-4f32-8fd3-998c152e3494.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220812/9fd65177/attachment-0011.jpg>


More information about the Etherlab-users mailing list