Structures

USB_typ

USB

Name Type Description
IN USB_IN_typ The structure that contains all the input components in this structure
OUT USB_OUT_typ The structure that contains all the output components in this structure

USB.IN

Name Type Description
CMD USB_IN_CMD_typ The structure that contains all the commands in this structure
PAR USB_IN_PAR_typ The structure that contains all the input parameters in this structure

USB.IN.CMD

Name Type Description
Refresh BOOL
AcknowledgeError BOOL Command to acknowledge nd error that has occurred

USB.IN.PAR

Name Type Description
filterInterfaceClass UINT
filterInterfaceSubClass UINT

USB.OUT

Name Type Description
STAT USB_STAT_typ The structure that contains all the output statuses in this structure
Interface STRING[80][0..USB_MAI_NODES]
NumInterfaces USINT
MassStorageDevice STRING[80][0..USB_MAI_NODES]
NumMassStorage USINT

USB.OUT.STAT

Name Type Description
Done BOOL A bit that indicates the function block has successfully completed
Busy BOOL A bit that indicates the function block is currently busy and has not completed
Error BOOL A bit that indicates an error occurred during the execution of the function block
ErrorID UINT A unique ID to identify which error occurred
ErrorString STRING[80] A string containing a description of the error