Thanks db1981
I am looking into the timings. I exported a new XML from twincat with the
NC Task 1 SAF set at 1 Cycle tick (1ms). I think that is what you meant me to do to set Twincat to 1ms. I also added Torque (I hope).
NC Cycle time change from 0700 or something like that to:
<InitCmd>
<Transition>PS</Transition>
<Comment><![CDATA[Tncyc - NC cycle time]]></Comment>
<Timeout>0</Timeout>
<OpCode>3</OpCode>
<DriveNo>0</DriveNo>
<IDN>1</IDN>
<Elements>64</Elements>
<Attribute>0</Attribute>
<Data>
e803</Data>
I have changed refclocksynccycles to "-1" in my ethercat-conf.xml file.
I still have the F4A5 error on the drive.
[ 8067.536670] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 8070.905177] EtherCAT 0: Master thread exited.
[ 8070.905229] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 8070.905635] EtherCAT 0: Releasing master...
[ 8070.905637] EtherCAT 0: Released.
[ 8070.906378] EtherCAT ERROR 0-6: Failed to receive AL state datagram: Datagram initialized.
[ 8070.988725] EtherCAT ERROR 0-6: AL status message 0x0045: "MBX_SOE".
[ 8070.988792] EtherCAT 0-6: Acknowledged state PREOP.
[ 8070.996649] EtherCAT 0: Slave states on main device: PREOP.
[ 8071.628644] EtherCAT WARNING: Datagram 0000000003822887 (master-fsm) was SKIPPED 1 time.
[ 8126.113896] EtherCAT: Requesting master 0...
[ 8126.113901] EtherCAT: Successfully requested master 0.
[ 8126.331820] EtherCAT 0: Domain0: Logical address 0x00000000, 36 byte, expected working counter 9.
[ 8126.331824] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 36 byte, type LRW.
[ 8126.331863] EtherCAT 0: Master thread exited.
[ 8126.331864] EtherCAT 0: Starting EtherCAT-OP thread.
[ 8126.335591] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[ 8126.948622] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8126.948640] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0086:00/16 0x002F:00/32. Entries to map: 0x0086:01/16 0x0018:01/32
[ 8126.948652] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8126.948653] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0086:00/16 0x002F:00/32. Entries to map: 0x0086:02/16 0x0018:02/32
[ 8126.948662] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8126.948662] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0087:00/16 0x0033:00/32 0x00BD:00/32. Entries to map: 0x0087:01/16 0x0033:01/32 0x0054:01/16
[ 8126.948670] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8126.948670] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0087:00/16 0x0033:00/32 0x00BD:00/32. Entries to map: 0x0087:02/16 0x0033:02/32 0x0054:02/16
[ 8128.332768] EtherCAT WARNING 0: 6 datagrams UNMATCHED!
[ 8131.957545] EtherCAT ERROR 0-6: Timeout while setting state SAFEOP.
[ 8131.968637] EtherCAT 0: Slave states on main device: PREOP, OP.
[ 8132.332633] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[ 8133.336648] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[ 8134.360646] EtherCAT 0: Slave states on main device: PREOP, OP + ERROR.
[ 8138.340634] EtherCAT WARNING 0: 8 datagrams UNMATCHED!
[ 8141.344653] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[ 8148.364633] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[ 8158.376634] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[ 8167.400651] EtherCAT WARNING 0: 8 datagrams UNMATCHED!
[ 8168.404634] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
[ 8169.951041] EtherCAT 0: Master thread exited.
[ 8169.951095] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 8169.951129] EtherCAT ERROR 0-6: Failed to receive AL state datagram: Datagram initialized.
[ 8169.951141] EtherCAT 0: Releasing master...
[ 8169.951143] EtherCAT 0: Released.
[ 8170.016713] EtherCAT ERROR 0-6: AL status message 0x0045: "MBX_SOE".
[ 8170.016796] EtherCAT 0-6: Acknowledged state PREOP.
[ 8170.024667] EtherCAT 0: Slave states on main device: PREOP.
[ 8170.220665] EtherCAT WARNING: Datagram 0000000003822887 (master-fsm) was SKIPPED 1 time.
[ 8178.716193] EtherCAT: Requesting master 0...
[ 8178.716198] EtherCAT: Successfully requested master 0.
[ 8178.917010] EtherCAT 0: Domain0: Logical address 0x00000000, 36 byte, expected working counter 9.
[ 8178.917015] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 36 byte, type LRW.
[ 8178.917027] EtherCAT 0: Master thread exited.
[ 8178.917029] EtherCAT 0: Starting EtherCAT-OP thread.
[ 8178.917070] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[ 8179.592718] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8179.592721] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0086:00/16 0x002F:00/32. Entries to map: 0x0086:01/16 0x0018:01/32
[ 8179.592734] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8179.592735] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0086:00/16 0x002F:00/32. Entries to map: 0x0086:02/16 0x0018:02/32
[ 8179.592748] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8179.592749] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0087:00/16 0x0033:00/32 0x00BD:00/32. Entries to map: 0x0087:01/16 0x0033:01/32 0x0054:01/16
[ 8179.592755] EtherCAT WARNING 0-6: Slave does not support changing the PDO mapping!
[ 8179.592756] EtherCAT WARNING 0-6: Currently mapped PDO entries: 0x0087:00/16 0x0033:00/32 0x00BD:00/32. Entries to map: 0x0087:02/16 0x0033:02/32 0x0054:02/16
[ 8181.916685] EtherCAT WARNING 0: 4 datagrams UNMATCHED!
I'll read on the PDOs you suggest next.