Remarks *1: “SP” is space *2: The command argument n depends on the number of non-procedural command arguments. Return Value Precautions The length of the string of the no-stepping command that can be sent is 127 bytes (not including the delimiter). Set the variables of “S097” and “S090” to “S095” that the length of the string of the no- procedure command to be sent does not exceed 127 bytes.
Example The following example shows how to send the measurement command "MEASURE" to the Vision Sensor SET S090 "MEASURE" SET B097 0 SET S089 "FHRUNSENDCMD" SET B098 1 WAIT B098=0 IFTHENEXP I099 0 JUMP *EXIT ENDIF 53 Sends a no-procedure command to the Vision Sensor, concatenating the parameters according to the following format. If the number of no-protocol command arguments is out of the input range, an error is returned. No-protocol command SP(*1) Command argument 1 SP Command argument 2 SP … Command argument n(*2) Err. No. Error Message Description 0 - normal termination -1601 ERROR:fhsendstring():NO CONNECTION:
_ -1601 Calling in the unconnected state ERROR:fhsendstring():NO DATA:-1601 _ Send string length 0 -1602 ERROR:fhsendstring():STRING LEN:-1602 _ Send failure