2/3/2016 7:26 AM | |
Joined: 3/14/2008 Last visit: 9/11/2025 Posts: 2216 Rating:
|
You can use the "AT" command for that. Let's say you have a DB with a total of 4 bytes (=DWord). You can declare an input: "INPUT_DWORD" of type DWORD. Then you can use the "AT" command to access individual BYTES or BOOL or ANY of the DWORD datatype. So you create different "Views" and don't have to convert datatypes. See the link for an example: https://support.industry.siemens.com/cs/document/21946854/how-can-you-construct-an-any-pointer-in-s7-scl-using-the-at-function?dti=0&lc=en-WW Hope you can use this example! |
Last edited by: Oreca at: 2/3/2016 7:27:44 AMIf I could help you, you can use the RATE button. Thank you. |
|
Follow us on