FAQ No. FAQ03215
Question
When a command was sent using Z300 Displacement/Measuring Sensor
serial communications output, an error was returned. Why is this?
Answer
Because an error was returned, it is likely that the serial
communications specifications were set up correctly. It could be that the
command format was not input correctly.
For example, to obtain the latest measurement outcome of OUT1 with MEASURE
(or M), the input must be as follows:
M1 delimiter
Where there is a space between "M" and "1".
The output will be 111.1111 delimiter.
The command must be entered in ASCII.
Spaces must be entered between the items but not in front of the
delimiter.
Another command format example is shown.
Input: JUDPARA 0 10.0000-10.0000 delimiter
(This command changes the OUT0 upper limit to 10.0000, and the lower limit
to −10.0000.)
"OK delimiter" is returned when the command is normally executed.
"ER delimiter" is returned when the command is not normally executed.
Other Displacement Sensor FAQs
How big does the slit have to be if an object is measured through a slit with an Optical Displacement Sensor?
Can the Z500/Z550 be used to measure the thickness of an object by connecting two Sensor Heads?
How can I change the analog output of 4 to 20 mA to 1 to 5 V?
|