M340 System bit clock not working

suppaman

Member
Join Date
Mar 2009
Location
Italy
Posts
18
Hello everyone one.

I'm using M340 with simulation mode (actually I still don't have the cpu to test the software).
I've made a simple counter with %S5 pulse that increment a word.

The clock is not working as aspected, the counter is not corrisponding compared to a real clock.
I've tried also with %S4,6,7 and it seems that the clock pulse are completely random, they are not respecting their timebase

It's a simulator issue or I'm missing something here?

counter.png
 
I just tested this and it works. with %s5 (100ms) and %s6 (1s)
Are you sure your simulator is in run mode?

Screenshot 2023-09-22 130746.png
 
Yes sure is in run mode.
I see the counter incrementing but not respecting the clock.

I'm using SoMachine on a virtual machine, I don't know if this could be a problem
 
Your picture shown is not somachine. Thats unity or control expert.
And you cannot program a m340 with somachine
 

Similar Topics

I would like to read the system tags (%S, %SW) from a m340 processor into my HMI/Historian. I am using kepserverEX OPC server and it uses...
Replies
1
Views
1,808
hello everyone, I'm trying to set the system clock on my plc for daylight savings time so the operator does not need to adjust himself twice a...
Replies
1
Views
2,421
Hi everyone, im trying to read/write the system clock on a M340, by building a program in unity pro. The thing is, that the Date&Time format is...
Replies
46
Views
50,580
Greetings everyone. I have a customer proposal showing Modicon BMXP342020H processor and associated racks...
Replies
23
Views
7,765
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
245
Back
Top Bottom