Join us today!

Notifications
Clear all

twincat nc axis homed status value from statusword

6 Posts
4 Users
0 Reactions
73 Views
(@gerard)
Posts: 2
Active Member
Topic starter
 

Hi all,

We're trying to obtain the axis reference signal from a drive. We're using a non-Beckhoff drive (Schneider) with Beckhoff components. According to the Schneider manual, the reference information for the drive is located in the 16th bit of the status word, and we can view this bit's status under the PDO objects in the device tree.

The question is, how can we access that information? We’ve tried using MC_ReadStatus and checking the AxisRef.Status.Homed value, but it seems that this information isn’t available in those variables.

Is there a way to access the 16th bit of the status word in PLC logic using function blocks (FBs)? Or do we need to map the drive's status word to a PLC variable? Currently, it’s linked to the NC drive nstatus1 and nstatus2 values. Can we still link this variable to a PLC variable?

What is the best method to retrieve individual bit information from the status word?

 
Posted : 25/10/2024 11:01 am
Topic Tags
 Alex
(@alex)
Posts: 30
Eminent Member
 

Hello,
What is your network connecting your motor and the PLC ?

 
Posted : 28/10/2024 3:45 am
(@irasshaimase25)
Posts: 3
New Member
 

cZxcZczc

 
Posted : 09/11/2024 6:34 pm
(@irasshaimase25)
Posts: 3
New Member
 

wwwdewe

 
Posted : 09/11/2024 6:34 pm
(@irasshaimase25)
Posts: 3
New Member
 

asdasddas

 
Posted : 09/11/2024 6:34 pm
(@advan)
Posts: 1
New Member
 

* yes , you can read the status via ads , Note you can find the ads address info in system manager variable

* Link to different multiple destination (NC & PLC & ...) is also possible , you need to press "Ctrl" while link

AxisRef.Status.Homed flag is related to Reference System setting(In Axis.Encoder)

> But I thnk the best is "not" use drive home reference function , using NC reference is more unify for all drives , You just need to know how to set up

What kind of feedback do you use? And how it behave numerically on the bus?

 
Posted : 11/11/2024 3:39 am
Share: