Extract time from Yaskawa registers in Studio 5000

Bart_PSI

Member
Join Date
Apr 2024
Location
NJ
Posts
2
What is the best way to extract the hour and minute from the register that comes from Yaskawa VFD. In studio 5000 I have a register saved as INT with the value 312, where 3 is an hour and 12 is a minute, I would like to separate them from each other.
Yaskawa.png
 
I believe you should be able to extract the minutes with a MOD (modulo) operation in a compute block. Then subtract the result from the whole value to get the hour (times 100) then divide that result by 100 to get the hour.
 
I believe you should be able to extract the minutes with a MOD (modulo) operation in a compute block. Then subtract the result from the whole value to get the hour (times 100) then divide that result by 100 to get the hour.
Thank you for the replay. I will try to your solution.
 

Similar Topics

Hi everyone. Quick questions. On UnityPro, I want to open and quickly read tags from a .STA files witouth opening the program. I have 30 plc...
Replies
2
Views
165
Hi all, I am working with an IO link sensor (measuring current across motor)and need to read in and store the sensor values for 5 seconds, then...
Replies
13
Views
1,224
Customer has a circa 2004 SLC-500 PLC. Fieldbus is a 1747-SDN DeviceNet scanner. Customer has SLC-500 file (.rss) with no comments. Has no *.dnt...
Replies
7
Views
569
Hi guys, I need a GSD file for the following sinamics drive (S120). IO Device SINAMICS S120 CU320-2 PN V4.4 PN-V2.2 with DriveES/SIMOTION...
Replies
6
Views
1,475
I would like to extract data from a Bizerba is50 using WebSockets or Profinet. I currently cannot find any information on the subject, any help...
Replies
1
Views
736
Back
Top Bottom