S7-1500 - Sending a HART Command programmatically using WRREC

kdcui

Lifetime Supporting Member
Join Date
Dec 2007
Location
USA
Posts
386
I have a field device (flowmeter) using HART wired to a 200SP HART input card. I need to read flow totalization. Configuring the actual card to read this data is straightforward. However, I need to be able to send a command to reset totalization.

The flowmeter literature has a list of commands, and the Siemens documentation says to use a WRREC instruction, but everything is quite cryptic on how to actually implement the instruction properly. It appears I need to manually construct the HART frame (preamble, start byte, checksum, etc). In 2023 you'd think there would be an easier way to do this, but I digress....

Does anyone have experience doing this that might be able to provide an example?

Thanks
 
Last edited:

Similar Topics

Need help setting up the MicroLogix 1500 to send emails.Also need to know how store a string in a data file.
Replies
2
Views
2,271
Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
87
I have been working on this for a while now and I can't seem to get it. I was finally able to view the 1500 on the PanelView under the serial...
Replies
1
Views
85
Hello, I have a 1764 1500 LSP Series A that keeps failing with DTL_E_FAIL I/O error. Searching around it seems there's a weird issue specifically...
Replies
2
Views
106
Hi all Trying to remotely connect to a TIA Portal PLC. I can ping it without a problem but can't get my software to connect. I've opened port...
Replies
8
Views
334
Back
Top Bottom