TwinCAT and MOXA

Manoj M

Member
Join Date
Feb 2014
Location
London
Posts
59
Hello Friends,
I have query regarding TwinCat and one of the MOXA product which is MGate 5101-PBM-MN. I have never worked with this device before. The way I can understand is this is a master device in the network and TwinCAT is slave. I have uploaded the GSD files of MOXA to TwinCAT but then it started asking all sort of different questions. In TwinCAT when I go for append module, I dont know which option to choose out of approx. 100. Plus this MOXA unit which I understand is a kind of converter from profibus to different protocol ( may be wrong). This will be supplied by customer and as a hardware it is sitting at one of customer's test facility centre. A million dollar question Do I need to have this hardware with me to go ahead with programming ? I know I can disable this device in TwinCAT and do the programming but in future is it simply enabling this port and asking customer to connect this device via profibus. I bet it cannot be as simple as it sounds.
Any help in this matter will be highly appreciated.

Regards
Manoj
 
Erm...

TWinCAT is the programming software, not a hardware environment which could be master or slave. Once this said...

As far as I've seen on Internet, this device converts from Modbus TCP to Profibus and in the other way round.

You've not specified which kind of controller from Beckhoff you are using.

If you are on the "PC" kind (CX and higher) converting from Profibus to Modbus has no sense as you could do Modbus directly without adding anything else than a software library.

If you plan to do from Modbus to Profibus then GSD files have nothing to do here.

At the end you will have to specify a port master or slave and set a data structure (a set of variables) that will be the space shared between devices in System Manager.

After that, you could fill that "buffer" with your data.

Specify which is the way you need to follow Profibus->Modbus or Modbus->profibus and which kind of controller you are using. And we will have more details to help you.

Good luck!
 
Hello Joan,
Thanks for quick reply.
The CX I am using is CX2020-B310. Sorry to say TwinCAT as a hardware I should have said CX instead. As I mentioned in my previous post that this is a customer hardware which he already have. The only thing he ask me to have is Profibus slave which is CX2020-B310.
Regarding the route you were asking Profibus-Modbus or the other way around. I think it will act both way.
Correct me if I am wrong, while sending or receiving data we are performing one of the conversion anyway. The way I understand is if CX is sending status then it is profibus to modbus and if CX is receiving instructions then it is Modbus to Profibus.

Please suggest/comment

Regards
Manoj
 

Similar Topics

Hi! I am trying to run the 'SimpleSample' (https://infosys.beckhoff.com/content/1033/TF5100_TC3_NC_I/Resources/3438746891/.zip ) to understand the...
Replies
2
Views
95
I am developing a library in twincat and one of the function uses IID_ITcVnAccess_TcVnPoint2_DINT and the definition of this type is defined in...
Replies
0
Views
64
Sorry if this has been asked before, and apologies if this seems like a trivial issue, but I am new to Beckhoff and have been banging my head...
Replies
2
Views
138
Hi everyone, This is my first time posting, so please forgive any omissions or mistakes. I am attempting to control the velocity of a stepper...
Replies
18
Views
921
I am trying to communicate between a 1769-L16 and a beckhoff EL6652 EtherNet/IP-Master. I need 8 INT and 2 REALS. When I generate the eds file, in...
Replies
1
Views
156
Back
Top Bottom