Commit 3f8d2868 authored by claes's avatar claes

*** empty log message ***

parent d66ef7bb
...@@ -6,3 +6,5 @@ ...@@ -6,3 +6,5 @@
060317 rk qcom Changed interface to qcom_Put. Added attributes msg_id and prio in qcom_sPut structure. 060317 rk qcom Changed interface to qcom_Put. Added attributes msg_id and prio in qcom_sPut structure.
060317 rk rt_tmon Cleaning (zero-ing) of timed out subscription data. 060317 rk rt_tmon Cleaning (zero-ing) of timed out subscription data.
060331 cs pwrs Modified attribute added to RootVolume, SubVolume and SharedVolume. 060331 cs pwrs Modified attribute added to RootVolume, SubVolume and SharedVolume.
060502 cs co Bugfix in time_Dcomp, 0 was not returned for equal times.
060502 cs pwrb New signals for absolute and delta time, and plc objects for time arithmetics added.
\ No newline at end of file
! !
! Proview $Id: pwrb_c_atgreaterthan.wb_load,v 1.1 2006-04-28 04:59:58 claes Exp $ ! Proview $Id: pwrb_c_atgreaterthan.wb_load,v 1.2 2006-05-02 07:07:47 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB. ! Copyright (C) 2005 SSAB Oxelsund AB.
! !
! This program is free software; you can redistribute it and/or ! This program is free software; you can redistribute it and/or
...@@ -23,8 +23,8 @@ SObject pwrb:Class ...@@ -23,8 +23,8 @@ SObject pwrb:Class
! @Version 1.0 ! @Version 1.0
! @Code rt_plc_macro_time.h ! @Code rt_plc_macro_time.h
! @Group Plc,PlcTime ! @Group Plc,PlcTime
! @Summary Add an absolute time and a delta time. ! @Summary Compare two absolute times.
! Add an absolute time and a delta time. ! Compare two absolute times.
! @image orm_atgreaterthan_fo.gif ! @image orm_atgreaterthan_fo.gif
! !
! AtGreaterThan compares two absolute times and returns true if the first are ! AtGreaterThan compares two absolute times and returns true if the first are
...@@ -32,7 +32,7 @@ SObject pwrb:Class ...@@ -32,7 +32,7 @@ SObject pwrb:Class
! !
! Both inputs have to be connected to absolute times. The result is a digital value. ! Both inputs have to be connected to absolute times. The result is a digital value.
!*/ !*/
Object AtAdd $ClassDef 465 Object AtGreaterThan $ClassDef 467
Body SysBody Body SysBody
Attr Editor = pwr_eEditor_PlcEd Attr Editor = pwr_eEditor_PlcEd
Attr Method = pwr_eMethod_Connections Attr Method = pwr_eMethod_Connections
...@@ -66,12 +66,12 @@ SObject pwrb:Class ...@@ -66,12 +66,12 @@ SObject pwrb:Class
Attr Flags |= PWR_MASK_RTVIRTUAL Attr Flags |= PWR_MASK_RTVIRTUAL
Attr Flags |= PWR_MASK_NOEDIT Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_NOREMOVE Attr Flags |= PWR_MASK_NOREMOVE
Attr TypeRef = "pwrs:Type-$DeltaTime" Attr TypeRef = "pwrs:Type-$Time"
Attr GraphName = "ATim2" Attr GraphName = "ATim2"
EndBody EndBody
EndObject EndObject
!/** !/**
! 1 if ATime 1 > ATime 2, else 0.. ! Status has the value 1 if ATime1 > ATime2, else 0.
!*/ !*/
Object Status $Output 3 Object Status $Output 3
Body SysBody Body SysBody
...@@ -105,11 +105,12 @@ SObject pwrb:Class ...@@ -105,11 +105,12 @@ SObject pwrb:Class
Attr segname_annotation = 1 Attr segname_annotation = 1
Attr compmethod = 5 Attr compmethod = 5
Attr compindex = 0 Attr compindex = 0
Attr tracemethod = 0 Attr tracemethod = 3
Attr traceindex = 0 Attr traceindex = 0
Attr executeordermethod = 2 Attr executeordermethod = 2
Attr objname = "AtGt" Attr objname = "AtGt"
Attr graphname = "AtGt" Attr graphname = "AtGt"
Attr debugpar = "Status"
EndBody EndBody
EndObject EndObject
EndObject EndObject
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment