Omron V330-F Series Quick Start Manual page 39

Corporation auto focus multi code reader
Hide thumbs Also See for V330-F Series:
Table of Contents

Advertisement

● Internal Variables
The following variables are used only for the purpose of calculation in the project file.
Variable name
Local_Status
sStatus
(STRUCT)
Busy
BOOL
Done
BOOL
Error
BOOL
Local_State
DINT
Local_ErrCode
uErrorFlgs
(UNION)
Local_ErrCode.
WORD
WordData
Local_ErrCode.
ARRAY
BoolData
[0..15] OF
BOOL
Data type
Program execution status
Changes to TRUE when the project file is executed
and to FALSE when it is not executed.
Changes to TRUE when the project file ends normally
and to FALSE when Input_Start changes from TRUE
to FALSE.
Changes to TRUE when the project file ends with an
error and to FALSE when Input_Start changes from
TRUE to FALSE.
State Processing No.
Sets an error code.
Expresses the error code as WORD data.
• Communications error
BoolData[0]: Send processing: Error (TRUE)/Normal
(FALSE)
BoolData[1]: Receive processing: Error
(TRUE)/Normal (FALSE)
BoolData[2] Open processing: Error (TRUE)/Normal
(FALSE)
BoolData[3]: Close processing: Error
(TRUE)/Normal (FALSE)
BoolData[4]: Processing number: Error
(TRUE)/Normal (FALSE)
• Timeout error
BoolData[8]: Send processing: Error (TRUE)/Normal
(FALSE)
BoolData[9]: Receive processing: Error
(TRUE)/Normal (FALSE)
BoolData[10] Open processing: Error
(TRUE)/Normal (FALSE)
BoolData[11]: Close processing: Error
(TRUE)/Normal (FALSE)
• Others
BoolData[5]: Send/Receive required judgment error:
Error (TRUE)/Normal (FALSE)
BoolData[12]: Code reader error:
Error (TRUE)/Normal (FALSE)
BoolData[6..7],[13..14]: Reserved
BoolData[15]: Error occurred
9. Project File
Description
36

Advertisement

Table of Contents
loading

Table of Contents