# Extracting data from incoming SECS Message from equipment

**URL:** <https://forum.inductiveautomation.com/t/extracting-data-from-incoming-secs-message-from-equipment/79493>\
**Category:** Ignition\
**Created:** [September 22, 2023, 9:34am UTC](https://forum.inductiveautomation.com/t/extracting-data-from-incoming-secs-message-from-equipment/79493 "2023-09-22T09:34:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvsagar95](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dvsagar95](https://forum.inductiveautomation.com/u/dvsagar95)\
**Post date:** [September 22, 2023, 9:34am UTC](https://forum.inductiveautomation.com/t/extracting-data-from-incoming-secs-message-from-equipment/79493/1 "2023-09-22T09:34:12Z")

</div>

Hi,  
I am using ignition to communicate with an equipment using SECS/GEM. I am getting the response which is something like this:

{u'body': [{u'format': 'A', u'doc': 'MDLN, Equipment Model Type', u'value': 'sim1'}, {u'format': 'A', u'doc': 'SOFTREV, Software Revision Code', u'value': '1'}], u'header': {u'stream': 1, u'function': 2, u'doc': 'On Line Data', u'reply': False}}

Is there a way to get just the body? I am using table component along with system.secsgem.getResponse, and system.secsgem.toDataSet for better visualisation. But the intention is to carry out a flow as per the value recieved in the body of the incoming message.

Also, is there a way to get these values on tag by default? As of now, only stream 6 messages are being stored in tags.

Thank you
