You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
432 B
23 lines
432 B
5 months ago
|
FUNCTION_BLOCK BS_ModbusCom
|
||
|
|
||
|
|
||
|
VAR_INPUT
|
||
|
SerialCom : byte ;
|
||
|
NetSend : array [ 0 .. 64 ] of NetSendConfig ;
|
||
|
NetSendDelay : time ;
|
||
|
ComSend : array [ 0 .. 64 ] of ComSendConfig ;
|
||
|
ComSendDelay : time ;
|
||
|
ComRecvDelay : time ;
|
||
|
ComAnalysisDelay : time ;
|
||
|
DataReadLength : int ;
|
||
|
END_VAR
|
||
|
|
||
|
VAR_OUTPUT
|
||
|
DataStr : array [ 0 .. 128 ] of byte ;
|
||
|
DataRead : array [ 0 .. 128 ] of DataFormat ;
|
||
|
END_VAR
|
||
|
|
||
|
|
||
|
|
||
|
END_FUNCTION_BLOCK
|