11/27/2012 3:14 PM | |
Joined: 1/28/2009 Last visit: 1/19/2025 Posts: 6858 Rating: (1366)
|
Hello, Please check the following topic which I hope what you need: In STEP 7 (TIA Portal) V11, how can you convert a number value of the data type INT into the data types DINT, BCD, REAL, STRING or TIME? Please, especially check this title with corresponding samples:
Best regards Hamid Hosseini |
1/29/2013 3:25 PM | |
Posts: 2 Rating: (0) |
This command is not such a translation.
You can not convert the help file says. Dint to s5 time please help me. thank u. |
2/4/2013 8:52 AM | |
Joined: 1/28/2009 Last visit: 1/19/2025 Posts: 6858 Rating: (1366) |
Hello again, This difference as shown in the attachment is matter of selecting the device while working in TIA Portal.If you are working on S7-300,Conversion from "DINT to TIME" is not possible and simply a "DINT" multiplication by 1000 in my case may help (to convert number of seconds to milliseconds). For S7-1200,As you mentioned it is possible to convert DINT to TIME by "T_CONV" function.The difference you notices is possibly only because of controller's structure and architecture. Best regards Hamid Hosseini AttachmentT_CONV.zip (754 Downloads) |
5/6/2014 7:25 AM | |
Posts: 340 Rating: (6) |
new question is splittet to time value in milliseconds from HMI to s5 time value in S7-300 PLC |
3/19/2018 1:55 PM | |
Joined: 6/19/2017 Last visit: 9/6/2024 Posts: 8175 Rating: (174) |
New question published by susmis666.hk is split to a separate thread with the subject How to convert Time Data into Dint Data?. Best regards |
Follow us on