4/23/2024 10:49 PM | |
Joined: 10/30/2022 Last visit: 4/24/2024 Posts: 1 Rating: (0) |
Hello, I found this today and solved the "zero" problem. Now, I want to read the string from the PLC and store it in a DataLog. What I write: JONATHAN At CLP: JONATHAN In DataLog: OJ##HTAN Any suggestion?
------------------------------------------------------------------------------------------ Attachment20240423.xlsx (6 Downloads) |
Last edited by: Vinicius_wcv at: 04/23/2024 22:56:22Last edited by: Jen_Moderator at: 04/24/2024 09:04:03New subject after splitting |
|
4/24/2024 2:52 PM | |
Joined: 7/7/2010 Last visit: 5/3/2024 Posts: 14680 Rating: (2350)
|
Siemens STRING data are not appropriate for datalogs. The first 2 bytes of a string tag are the max and actual length values associated with that tag. Convert string to char array before writing to a datalog. Check the Strings and char instructions for the appropriate string to char instruction.
|
science guy |
|
Follow us on