Omron CX Programmer and dates

MortenB

Member
Join Date
Apr 2016
Location
Fredrikstad
Posts
16
I'm all new to using omron but "stuck" with a project. I find the CX Programmer software (version 9.35) a bit confusing. Used Siemens a lot.
What I'm trying to do is to display date and time on a HMI showing cpu startup time. I use a "First cycle flag" that triggers once when CPU starts and then I understand that the date and timestamp is in the system variables A352 and A353. But how do I format them as a normal text? I only manage to display them as #hex-numbers.

I have tried googeling but have not found an answer to my questions.

CPU type is: CJ1M CPU12

//Morten
:cry:
 
"How do I format them as a normal text?"
If you want them in the ASCII format then use the ASCII Convert Instruction ASC(086). It will convert 4 digit Hex to 8 bit equivalent ASCII.

Regards,

ASCII Convert.jpg
 

Similar Topics

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
374
I am using a function block that has a in/out parameter that is a structure. The structure has an array as one of the elements. I can index the...
Replies
1
Views
737
Is there a way in CX-Programmer to call Ladder Instructions from a structured text program? I can see several functions in the autocomplete...
Replies
3
Views
1,959
Is there a way in CX-Programmer to call functions from a structured text program? I have found this manual that seems to describe the process...
Replies
1
Views
1,059
Is there a way in CX-Programmer to initialise an array? Set all values to zero or false depending on the data type Solutions in Ladder and...
Replies
2
Views
1,287
Back
Top Bottom