- Posts: 1111
- Thank you received: 114
Ethercat HAL driver
- bkt
- Offline
- Platinum Member
-
Less
More
5 years 8 months ago #199346
by bkt
Replied by bkt on topic Ethercat HAL driver
@db1981 .... yes I means "show axis configuration HAL pin" .... not see my error ...sorry.... dmesg seems normal ...
bkt
bkt
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
5 years 8 months ago #199348
by db1981
Replied by db1981 on topic Ethercat HAL driver
@bkt
-does the slave 6 goes to op state, after starting linuxcnc? (ethercat slaves)
-does the slave 6 goes to op state, after starting linuxcnc? (ethercat slaves)
The following user(s) said Thank You: bkt
- bkt
- Offline
- Platinum Member
-
Less
More
- Posts: 1111
- Thank you received: 114
5 years 8 months ago - 5 years 8 months ago #199379
by bkt
Replied by bkt on topic Ethercat HAL driver
@db1981
Just control .... slaves 6 stay in preop when all other slaves is on op state. Why these? It need a specific sdoConfig? generic drive is not enought?
Just control .... slaves 6 stay in preop when all other slaves is on op state. Why these? It need a specific sdoConfig? generic drive is not enought?
Last edit: 5 years 8 months ago by bkt.
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
5 years 8 months ago #199382
by db1981
Replied by db1981 on topic Ethercat HAL driver
@bkt
please post the output of "ethercat pdos -p6" .
Is this an brand new or used EL5151? May it has been switched to counter mode or an custom process image.
please post the output of "ethercat pdos -p6" .
Is this an brand new or used EL5151? May it has been switched to counter mode or an custom process image.
The following user(s) said Thank You: bkt
- jc2ktr
- Offline
- Premium Member
-
Less
More
- Posts: 87
- Thank you received: 17
5 years 8 months ago #199413
by jc2ktr
which type of value are them?
lcnc@Linuxcnc-EtherCAT:~$ ethercat upload -p0 --type int32 0x1006 0 = 0x000001f4 500
lcnc@Linuxcnc-EtherCAT:~$ ethercat upload -p0 --type bool 0x60C2 1 = 0x32 50
lcnc@Linuxcnc-EtherCAT:~$ ethercat upload -p0 --type bool 0x60C2 2 = 0xfffffffb -5
hope i got the types right.
Replied by jc2ktr on topic Ethercat HAL driver
db1981 wrote: maybe an comm/cycle time issue.
please do an manual ethercat upload after starting lcnc, to check the values of sdo's
-0x1006 Index 0
-0x60C2 Index 1
-0x60C2 Index 2
which type of value are them?
lcnc@Linuxcnc-EtherCAT:~$ ethercat upload -p0 --type int32 0x1006 0 = 0x000001f4 500
lcnc@Linuxcnc-EtherCAT:~$ ethercat upload -p0 --type bool 0x60C2 1 = 0x32 50
lcnc@Linuxcnc-EtherCAT:~$ ethercat upload -p0 --type bool 0x60C2 2 = 0xfffffffb -5
hope i got the types right.
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
5 years 8 months ago - 5 years 8 months ago #199417
by db1981
Replied by db1981 on topic Ethercat HAL driver
hello,
0x1006 is the com cycle time = 500µs this is equal to your ethercat app cycle time
0x60C2 is the interpolation time, it's also 50ms * 10^ -5 = 500µs.
is your servo_period in the ini (thread which executes lcec_read/write) also set to 500000ns (2khz) ?
0x1006 is the com cycle time = 500µs this is equal to your ethercat app cycle time
0x60C2 is the interpolation time, it's also 50ms * 10^ -5 = 500µs.
is your servo_period in the ini (thread which executes lcec_read/write) also set to 500000ns (2khz) ?
Last edit: 5 years 8 months ago by db1981. Reason: changed ns to µs, typo
Time to create page: 1.031 seconds