Python script to communicate/ receive command from IEC 104 client simulator

I'm new to implementation of IEC and IEEE standards. I am trying to implement IEC 104 client server model in IEC simulator, I which I learned we can issue single/double command (C_DC_NA_1) from client to server IEC simulator, applied condition is (double point must be mapped with double command).

So, I am writing a python script to accept double command from IEC 104 client simulator. but it client simulator shows error. like
command failed error code -4521 API 104 function invalid, error value 0

I want to learn how to implement IEC 104 server side to receive command from IEC 104 client simulator.

I WANT TO KNOW ABOUT MAPPING SO THAT I CAN SEND/RECEIVE DOUBLE COMMAND FRAME IN PYTHON TO VIRTUAL CLIENT SIMULATOR IEC-104.

regards

Mansi

1 Like

{Please don't shout. Edit your topic to fix that.}

What driver is this? Or are you attempting to write your own driver in jython?