Teckart Posted September 10, 2010 Report Share Posted September 10, 2010 I' m currently working on a canopen comunication between a XVY Gefran drive and a vison 290. I have been through a lot of trial, search, reading an error. Now I'm able to keep the drive in operationnal mode. That is a lot considering there is no true help anywhere on the matter. The Oplc can do every NTM process I can retrieve SDO but still The PDO's doesn't seem to be sent or received It may come's from the drive itself but It may also come from a bad setting in the com Function Block. I wonder if you can give me a full example of a Canopen communication it would be great I don't care about the drive, i just need a visual of the windows (TPDO rx, RPDO, tx, NTM, EMergency) of every node. I need a good example to makes sure that the problem don't comes from the OPLC Also, the drive I'm working with need a sync for the PDO to be sent but i don't know if it is better to be cyclic or use the sync block at every time I'm sending stuff. The work will be on a flying shear so it will be also cyclic. The manufacturer says that is drive work on a 4ms based multiple ( the cycling time must be a multiple of 4) the 100ms pulse (SB 7) could be easily used to cycling. (My node guarding is at every second with a life time factor of 3) Do you think it will be best to use a cycling of the sync or not. (I can deactivate the sync time) Thank in advance Jonathan Tremblay-Lessard Promelec Inc. 514-334-0330 Link to comment Share on other sites More sharing options...
Teckart Posted September 20, 2010 Author Report Share Posted September 20, 2010 I have finally found what was wrong and how to stay connected to my drive. I a set a Node guarding beat of 1 sec pulse (My network is only between a master and a slave so the fast timing is not critical) I have a sync pulse of 100ms pulse beat. (sb 7) Now I have a drive that stays in operationnal mode. With my setting, i have found out that cycling the sync fonction is usefull only if the data gather from the drive (drive status) need to be constantly refreshed. It was my case here. If you don't need the drive status constantly, you can use the sync on demand. At every sync, the drive send is pdo ( from the drive programation ) If you have a lot of node in your network, you have to calculate the frequency of the sync in function of this fact A node can send only one TPDOS between each sync pulse and recieive only one RPDOs in the same life time. If a node send two tpdos in one sync period, the communication fail. So, you have to calculate how many time it taking to your node to send data's and makes sure there is enough space in your sync period. The exact calculation is an hard process and is needed only if you have a very active network and can be find in CANINMOTION site (where all the can standard are describe. The only thing i can say about Canopen Protocol is this, everything must be perfect to work and if you cannot understand what is happening in the network unless you have a sniffer and, you have to be armed with a lot of patience if you want to dig in this stuff. Still, once it is working, it is a fast and efficient way to communicate. Link to comment Share on other sites More sharing options...
praveeseo Posted October 15, 2010 Report Share Posted October 15, 2010 Training is a great first step, but understand that training will never make you proficient. Only regular challenges and doing it will ever get you there. You probably already know that. With that said I would suggest that your best option would be to see if you can line up an employer that understands that you are willing to do what it takes (time and money) to trian up on PLC's if they can provide an opportunity. That may sound a little far fetched, but you need to utilize the training to make it worth while. It goes away quick. A big problem with guys I have worked with and trained is that they dont get to use what they have learned. The use it or lose it phrase really comes into play here. Another issue with most training is the cram factor. There is so much that the brain can handle in a short amount of time and actually retain it. Many of these 2 day courses are just a great way to get a certificate. ------------------------------------------------------------------------------------------------------------------------------------------ plc training in india | plc training in chennai | plc training in chennai | plc training in madurai | plc training chennai | Link to comment Share on other sites More sharing options...
Ziwi Posted March 25, 2011 Report Share Posted March 25, 2011 I' m currently working on a canopen comunication between a XVY Gefran drive and a vison 290. I have been through a lot of trial, search, reading an error. Now I'm able to keep the drive in operationnal mode. That is a lot considering there is no true help anywhere on the matter. Hi Teckart, any chance of posting the canopen component of your application as an example? It is surprising that Unitronics goes to all the trouble of developing the likes of CanOpen, Modbus UniEDS etc and then neglects to include an example of anything other than Uni to Uni. Surely the time to knock out a few examples would be miniscule in the big picture? Apologies in advance if I have missed them. I only really got my head around Modbus after seeing some forum members applications. Link to comment Share on other sites More sharing options...
External Moderators tmoulder Posted April 6, 2011 External Moderators Report Share Posted April 6, 2011 Example, albeit for an IO node and not a servo drive. May be helpful though. http://forum.unitronics.com/index.php?/blog/16/entry-51-wago-750-307-canopen-node-example/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now