WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
198
Vision System FH/FZ5 Series
User’s Manual (Z340)
Creating Parallel Command
Response output
Result of the command procedure can be returned to the system by setting the value on these variables.
Creating PLC Link Command
Command parameters
The command parameters are stored on the predefined variables as below.
Response output
Result of the command procedure can be returned to the system by setting the value on these variables.
Creating Fieldbus command
Command parameters
The command parameters are stored on the predefined variables as below.
Response output
Result of the command procedure can be returned to the system by setting the value on these variables.
Variable name Type Content
ResponseCode& Integer
Command execution result
• 0 : Command processing successful
• Other than 0 : Command processing failed (The ERROR
signal turns on.)
Variable name Type Content
ArgumentsLength& Integer Number of parameters (0 to 6)
ArgumentValue#() Array of real numbers
Array of parameters
*1: integer type of data for 2 channels
Allocate a number of array elements equal to the number
of parameters.
Variable name Type Content
ResponseValue&() Array of Integers Output data
ResponseCode& Array of real numbers
Command execution result
• 0: Command processing successful
• −1 : Command processing failed
Variable name Type Content
ArgumentsLength& Integer Number of parameters (0 to 3)
ArgumentValue#() Array of real numbers
Array of parameters
*1: integer type of data for 2 channels
Allocate a number of array elements equal to the number
of parameters.
Variable name Type Content
ResponseValue&() Array of Integers Output data
ResponseCode& Array of real numbers
Command execution result
• 0 : Command processing successful
• −1 : Command processing failed