beautypg.com

Data type: serialconfig, Data type declaration – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 175

background image

Communications Toolbox: DataTypes

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

162

Data Type: SerialConfig

Supporting data structure for CommStruct, contains information about Serial interface configuration.

Data Type Declaration

SerialConfig: STRUCT

PortNum:UINT;

(* For use with the Y_OpenSerialPort function block *)

BaudRate:DINT;

(* For use with the Y_SetDeviceOption function block *)

DataBits:DINT;

(* For use with the Y_SetDeviceOption function block *)

StopBits:DINT;

(* For use with the Y_SetDeviceOption function block *)

Parity:DINT;

(* For use with the Y_SetDeviceOption function block *)

HandShake:DINT;

(* For use with the Y_SetDeviceOption function block *)

END_STRUCT;