Profibus in TwinCAT

fgsotres

Member
Join Date
May 2011
Location
Mexico City
Posts
10
Hi,
I am trying to connect a device to a Beckhoff PLC via Profibus.
This device sends a fixed telegram compound of a structure of 220 bytes and receives a fixed telegram compound of 128 bytes.
The informatiion within these telegrams will change every cycle but the struct will remain the same.
Because I have no much experience with Profibus, how can I get the data from this device to my PLC and how can I send it back from the PLC to this device respecting the size and the struct of each telegram.

Thank you in advance!!! :confused:
 
thank you!


thanks in advance for your reply.

Maybe I was not clear enough. My question was more related of how do I make the connection via Profibus rather than the way I manage the data.
I will like to know how can I make a Profibus connection (is there any special functions or is it just pointing to addresses?) with the situation described before.

Thank you!!!
 
Last edited:
In your system manager you have to define the amount of space (using any desired correlation of WORD, INT, bool...) that your telegrams will occupy and then you will have to link that space to real variables in your PLCControl.

Steps:
1. rebuild all your plc project.
2. save it to disk.
3. rescan it from system manager.
4. link the variables in your PLC to the newly added memory space for your profibus adapter in the System manager.

And done.

Hope this helps!
 

Similar Topics

Hi all, Have a modular design in which the machine must be able to be configured with optional drives on a DP network. With S7, it is possible...
Replies
0
Views
1,323
Hi, I was noticing that Profibus connectors have 2 ports on them that can house 2 separate cables. Can I use 2 cables with Profibus signals...
Replies
4
Views
127
Hello, I am in possession of a WAGO PFC 200 750-8216 which I was successfully able to set up as a Modbus RTU Master to a slave device using...
Replies
0
Views
47
I am trying to implement a profibus network and am a newbie in the automation and communication industry. what are the components required for the...
Replies
1
Views
82
Hi, I am using TIA Portal V18. I have imported a (v5.7) SIMATIC manager project via device proxy. I have created a HMI project (TP700) in TIA...
Replies
2
Views
281
Back
Top Bottom