IECClientInterface#
- class wattson.iec104.interface.client.IECClientInterface(**kwargs)#
Bases:
ABCMethods
TODO
TODO
get_datapointget_server_IPget_server_portget_serversget_wattson_connection_statehas_datapointhas_serverTODO:
sendsend_C_CI- param coa:
either RTU-coa for single C_CS or GLOBAL-COA to send to all RTUs with GLOBAL-COA
send_C_ICsend_C_RPFor QPA values see 7.2.6.25 in 60870-5-101;
Always send with cot == ACT
send_sys_info_non_readstartstopupdate_datapointwait_for_connection- __init__(**kwargs)#
TODO
- Parameters:
**kwargs –
- abstract add_server(ip: str, coa: int, **kwargs)#
TODO
- Parameters:
ip (str) –
coa (int) –
**kwargs –
- final static init_callbacks(client, **kwargs)#
TODO:
- Parameters:
client –
**kwargs –
- abstract send_C_CS(coa: int) bool#
- Parameters:
coa (int) – either RTU-coa for single C_CS or GLOBAL-COA to send to all RTUs with GLOBAL-COA
- abstract send_P_AC(coa: int, ioa: int, cot: int, qpa: int = 3) Dict[str, str]#
For QPA values see 7.2.6.25 in 60870-5-101;
- Parameters:
coa (int) –
ioa (int) – 0 to activate loaded params, != 0 to load+activate/ change cyclic tranmissions
cot (int) – ACT/DEACT
qpa (int, optional) – 3 is used to activate/ deactivate cyclic transmission params (Default value = 3)
- send_P_ME(type_id: int, coa: int, ioa: int, val)#
Always send with cot == ACT
- Parameters:
type_id (int) – 110 - 112
coa (int) –
ioa (int) –
val –