5/24/2014 11:52 AM | |
Joined: 1/28/2009 Last visit: 9/7/2024 Posts: 6846 Rating:
|
QUOTE ////////////////////////////////////////////////////////////////////// I have a question about Timestamp from system block OR_32_TS In that block i have structure for example TS00, in this structure 2 DWORD of date. Dword TS0: Date/time stamp in ISP format (seconds) DWORD TS1:Date/time stamp in ISP format (fractions of seconds) milliseconds? as i understand it is a correction for get correct timestamp (time when the signal came on module). i must get Timestamp from plc by READ_CLK function and deduct with seconds and milliseconds. For example: Time_stamp_module = Time_stamp_plc - Time_stamp_correction But time_stamp_correction in dword format, i convert it TIME format and aftersubtracts by function SB_DT_TM Do I understand correctly? ///////////////////////////////////////////////////////////////////////////////////// OR_32_TS is a PCS 7 block, The whole function is explained in the "3.33 OR_32_TS: OR value status of two redundant time-stamped signal modules, max. 32 channels " of this manual: Process Control System PCS 7 PCS 7 Basis Library V8.0 |
This contribution was helpful to
1 thankful Users |
5/26/2014 1:42 PM | |
Joined: 1/28/2009 Last visit: 9/7/2024 Posts: 6846 Rating:
|
Hello, There are some point regarding your task.As I don't have a module to generate TS0 and TS1 in form of "Time stamp-S7 BCD format" , check my suggestion and update here:
Please, check and update this suggestions as they are proposed based on an assumption! Hamid Hosseini |
Last edited by: hdhosseini at: 5/26/2014 1:44 PM |
|
Follow us on