Handling Blocks Can 300 pro - Siemens s7 300- Easygen 3000

well generally you have to set PDOs (you have TPDO and RPDO) which serves you as command and status words, respectively. then all else is to set the words acording to what you need. More detailed answer perhaps can be given with a little more info on the probelm (program)
 
well generally you have to set PDOs (you have TPDO and RPDO) which serves you as command and status words, respectively. then all else is to set the words acording to what you need. More detailed answer perhaps can be given with a little more info on the probelm (program)
Thanks Balash,, can i have your email address.. will send the program..
 
sorry for late response. was on biker meeting.
now, i looked at the program but i don't see what equipment is on CAN bus. But let me explain how CAN bus (CANOpen) work in general. when you have a CAN modul, you have to download the Hardware support package to add the module. then under module config you define PDO's, SDO's, sync, NMT (or you can do it through the function block which you have in you program). after defining that you connect PDO's with variables. then you use canopen io read or write to send command or read values to/from device. which values - that you choose when assign a certain PDO to a certain value, like e.g. you define command word to PDO1, reference to PDO2 etc.
difference between SDO and PDO is that PDO are one-way traffic and can only be done when everything is OK. also you can't know if the device get the command or is it return the value you requested. SDO are two-way traffic that require respond, that said it is used primarily for communication setup before activating the PDO data exchange
since i don't know which is your CAN device i could send you a manual for FCAN modul for ABB VFD to get the idea of CANOpen communication protocol, how it works, and the setup...

PS: as with all comm protocols, 90% of work is in the setup, but i could try to explain specific PLC CAN function if the problem lays there,
 
Last edited:

Similar Topics

I am trying to get Codesys to work with a couple of Moxa ioLogik E1200 series DIO devices (E1210 and E1211). I am able to write to the E1211 DOs...
Replies
2
Views
167
The objective: Reach about 10’ horizontally into a 1300F furnace, and pick up a 140lb rectangular container, then pull the container back out of...
Replies
15
Views
1,858
Hello All, I don't so much have a problem more my OCD. I have a project, with over 1000 alarms. I create arrays in the PLC/HMI for my alarm...
Replies
0
Views
564
I hope somebody might be able to help me who has done some IO-Link messaging using an S7-1500 (TIA Portal 17) and the CMx8 IOLink module for the...
Replies
11
Views
1,781
Just a little bored, so I thought I would start a thread in one way of using recipes in batching processes, I'm aware there are probably many ways...
Replies
0
Views
582
Back
Top Bottom