Gx Simulator 2 - 2 phase encoder

chengold

Member
Join Date
Jun 2014
Location
me
Posts
1
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

Showing a new guy basic programming and remembered the simulator here. But nothing happens when selecting the link. "Try our online PLC Simulator-...
Replies
25
Views
1,490
My PLC (S7-1200) and HMI (KTP-1200 Basic) has been delivered on-site to the customer. To be able to do "off-line" updates to the code, I am using...
Replies
4
Views
210
hi everyone please give me a solution to timeout error in delta plc simulator,i have a doubt about firewall and antivirus we r using.
Replies
2
Views
701
I'm trying to look at some G5 and XIO configs offline with PCCU and I understand that I need a simulator for that purpose. I haven't contacted my...
Replies
7
Views
699
Is it possible to run a project in Softmaster that will communicate with an external HMI?
Replies
0
Views
387
Back
Top Bottom