Data type: commstruct, Data type declaration – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 170
Advertising
Communications Toolbox: DataTypes
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
157
Data Type: CommStruct
For use with
function block. Contains information about the communication interface
used.
Data Type Declaration
CommStruct: STRUCT
CommType:INT;
(* Set 1 for Serial, 2 for Ethernet *)
InactivityTimeout:TIME;
(* Use this to allow the MPiec to close the socket if no communication has been
received on the channel in the time required. *)
BufferSize:UDINT;
(* number of bytes to read per scan from Ethernet buffer, if left at 0 entire buffer will be
transferred *)
Serial:SerialConfig;
Ethernet:EthernetConfig;
END_STRUCT;
Advertising