CX-Programmer =DT(314)

oofoo

Member
Join Date
Sep 2010
Location
DK
Posts
5
Hi guys I am trying to use the time and date compare function specially the =DT(314). Just to make sure I got he function I tried setting it up like in the manual. Can anyone explain to me how I make it work.

First I define my mask. 0038 for hour min compare
Secondly I MOV #0000 to D100
Thridly I MOV #0013 to D101

As I understand the the compare block should put the output high at 13.00.00 (hh:mm:ss:) Am I correct?

Mind I am only simulation and not connected to a CPU
 
Works like a charm thank you. But I would still like to compare minutes as well any ideas?
 
Same method - just change the address (A) if needed and the mask (#FF or #FF00) and it will work for you. Preetty easy once you understand using ANDW as a mask.
 

Similar Topics

bonjour je souhaiterais savoir si c'est possible de faire communiquer Cx-programmer ( logiciel de programmation des automates Omron ) avec...
Replies
2
Views
156
Dear All, I need a sample PLC program to count the output pulse of a mass flow meter so that a specific amount of mass (for example 100gm)can be...
Replies
2
Views
146
I need a good website or tutorial to learn plc programming Thank you
Replies
10
Views
508
Hello ! I am trying to use an omron cj2m-cpu33 with a CP1W-CIF01 plug in serial connector to talk to a zebra ZT610 printer. I am getting the data...
Replies
8
Views
369
Dear all, First of all thanks for letting me join this forum. I just need some help in one of my programming exercises. Being a beginner...
Replies
6
Views
608
Back
Top Bottom