S7 variable of type "TIME"

Adenitz

Member
Join Date
Feb 2010
Location
tir
Posts
41
Hello,
is it possible to define variable of type TIME in S7 symbols table?
For example, when type name for I0.0, BOOL data type is already inserted, also MW10 can be type WORD or type INT, bu tit seems that only constants of type TIME (T#10s) can be used in STEP 7 program.
When I type MD10 in symbol table, I can assign type TIME to it, but not sure how to use it further....
Thanks
 
Last edited:
maybe try a symbol or DB MWxx with type S5TIME. If you are trying to put a time directly into a timer eg. S5T#3S will give you 3 seconds.
 
You can make M memory retentive in the hardware config but be advised if you use M memory for setpoints there is no way to upload it back to your laptop. I suggest using DB memory for anything you want to be able to retain. The only thing I use M memory for is alarm bits for the HMI and little things like ALW_ON and ALW_OFF bits that are in every program.
 

Similar Topics

I'm working with a customer to copy one of the machines they designed in-house several years ago. The previous PLC programmer had a thing for...
Replies
8
Views
2,065
Hello, It is possible to change form INT to UINT a variable data type? For the moment, I receive the value -32766 (Local:6:I.Ch0Data) from...
Replies
1
Views
2,510
Just wondering if anyone has any experience with this issue As part of a large installation we have a machine with 4 x 120HP 3PH motors each...
Replies
15
Views
10,071
I'm upgrading an existing machine with a Honeywell HC900 controller, and I'm trying to do some data processing in the controller. I have variables...
Replies
0
Views
48
dear all.. i am designing the Sea Water Intake pump which the 4 pumps will be operated parallel, and 1 pump will be as stand by pump The pump data...
Replies
3
Views
151
Back
Top Bottom