8/27/2024 3:31 PM | |
Joined: 3/30/2022 Last visit: 8/27/2024 Posts: 2 Rating:
|
Nice to meet you. I am currently assigned a requirement to read process variables such as flow and turbidity using the HART protocol. For this purpose, I found an example at the following URL: For the project assigned to me, I have a PLC S7-1215C DC/DC/DC and an ET 200 I/O [IM 155-5 PN ST] with AI 4xI 2-wire 4-20mA HART_1 I proceed to copy the multiple instances and incorporate them into my project, when compiling an error is generated: 128,The data type 'ULInt' is not a valid return type for the 'INT_TO_ULINT' function.,,,9:23:08 AM 128,Parameters of the function or the function block do not match the transferred formal parameters. ,,,9:23:08 AM FILL_BLK(IN := #INITIAL_BYTE_VALUE, COUNT := INT_TO_ULINT(#READ_DATA_UPPER_LIMIT), OUT => #statReadRecord.data[0]); 238,The data type 'ULInt' is not a valid return type for the 'INT_TO_ULINT' function.,,,9:23:08 AM 238,Parameters of the function or the function block do not match the transferred formal parameters. ,,,9:23:08 AM |
Last edited by: Moderator_Lan at: 08/27/2024 15:41:19link optimized |
|
Follow us on