Gx Simulator 2 - 2 phase encoder

Hello guys,

I’m looking for a solution how to simulate 2 phase encoder in GX Works2.
In the real world when the encoder is connected to the PLC (connected at X0 and X1 in my example), its works well but when I try
to simulate it by 3rd party software via the mx opc server I cant get any value in C252 counter as usually with the physical PLC.

Is there a solution to this? Any help will be appreciated.

Thanks in advance,

Chen
 
Hello guys,

I’m looking for a solution how to simulate 2 phase encoder in GX Works2.
In the real world when the encoder is connected to the PLC (connected at X0 and X1 in my example), its works well but when I try
to simulate it by 3rd party software via the mx opc server I cant get any value in C252 counter as usually with the physical PLC.

Is there a solution to this? Any help will be appreciated.

Thanks in advance,

Chen

Hi Chen.

It sounds like your counter should just increment if your logic is correct, however there will always be differences between running the real hardware and the simulator package.

Why do you need an OPC server to do this for you? ie why are the counts not incrementing directly from the hardware? I do not think you will be able to utilise an OPC server against the GX Simulator

When I simulate encoder impulses (lets say for simulation/pre testing or if there is a requirement to run without an encoder) I normally rely on a fixed clock on a fixed cyclic interval, then the answer is to simply pass the scaled conveyor speed into whatever logic requires it.


Regards

Daniel
 

Similar Topics

Is it possible to use the cMT Viewer Android app on my tablet to connect to the EBPro simulation running on my PC? The simulation doesn't use an...
0
Replies
121
Views
I've been building a PLC simulator that runs in the browser, and I'd like some honest opinions from people in the industry. The thing that's...
0
Replies
287
Views
Hello gurus of PLCTalk.net, I am working with an Emerson Rx3i (IC695CPE330) PLC, and an Emerson 12" Quickpanel+ (IC755CBS12CDB) OIT. I am using...
1
Replies
196
Views
As the subject says I am looking for help with a DeviceNet Simulator. I work in a repair shop, and we have some components that use DNet for...
2
Replies
325
Views
Hi everyone, I recently organized and released two Modbus debugging tools that I maintain personally, and I would like to share them here for...
0
Replies
312
Views
Top