3/9/2008 11:46 AM | |
Joined: 9/27/2006 Last visit: 12/11/2024 Posts: 12302 Rating: (2692) |
Hello jonp; In Step 7, LAD and FBD maintain "type checking" to ensure comparison levels; you can either disable type checking, or use STL to do the comparison; for example, thisshould work. L #bytevalue_1 L #bytevalue_2 <I S I0.0 For the retentive timer question , FC80 (in the TI-S7 converting blocks library) is a retentive TON. You could also look at the code in this document, to generate a retentive timer to your specific needs: http://support.automation.siemens.com/WW/view/en/858026 Hope this helps, Daniel chartier |
1/30/2013 1:52 AM | |
Joined: 10/7/2005 Last visit: 12/12/2024 Posts: 3029 Rating: (1057)
|
Hello JoelR the simple answer is that it consists of zeros and the attached pic has more on this (taken striaght from the inbuilt Step7 <F1> context sensitivehelp onthe "L" instruction). |
Last edited by: fritz at: 1/30/2013 1:54 AMCheers |
|
This contribution was helpful to2 thankful Users |
4/1/2014 9:48 AM | |
Joined: 9/1/2005 Last visit: 12/12/2024 Posts: 4114 Rating: (195) |
follow up question published by AlfredoSAis split to a seperate thread with the subject COMPARE "Byte zero" can be B#16#00 (Exadecimal) or B#16#30 (Char) Best regards CS Moderator |
My Forum is the place to personalize your profile, |
|
Follow us on