# Ignition - Echo response in secs/gem

**URL:** <https://forum.inductiveautomation.com/t/ignition-echo-response-in-secs-gem/40435>\
**Category:** Ignition\
**Created:** [November 9, 2020, 6:10am UTC](https://forum.inductiveautomation.com/t/ignition-echo-response-in-secs-gem/40435 "2020-11-09T06:10:46Z")\
**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:** [November 9, 2020, 6:10am UTC](https://forum.inductiveautomation.com/t/ignition-echo-response-in-secs-gem/40435/1 "2020-11-09T06:10:46Z")

</div>

I was working on echo response in secs/gem. I created a response for s2f39 message. I wrote a script to send the request to the simulator. The response is shown as none. I have edited the sdl messages on both sides so that the request body contains only dataid. This is the message I have sent.

myEquipment = “equipment1”

body = [{“format”:“U”, “value”:100}]

transactionID = system.secsgem.sendRequest(“S2F39”, True, body, myEquipment)

print transactionID  
response = system.secsgem.getResponse(transactionID, myEquipment, 2)  
print response

I have send the message by including datalength also. result is the same.  
This is the echo response I have created:

name:resp1  
stream:2  
function:39

response{2}

header{4}  
stream:2  
function:40  
reply:true  
doc"Report grant"

body[1]  
0 {3}  
format:B  
value:0  
doc:GRANT, multiblock request grant

How can i obtain the response?

Thank you.
