omron — APPENDIX F Serial Commands

F Serial Commands Example 3: Command: OFFLINE Response: !OK Command: QUERYAUTOCAL Response: 0;3478;226;50;300 (Exposure was 3478 μs.) Command: AUTOCAL -exp=0 -expval=1000 (Fixed exposure at 1000 μs.) Response: 31;1000;98;50;300 (Exposure stayed at 1000 μs and gain has changed from 0% to 31%.) Important: AUTOCAL only functions when the camera is OFFLINE. GET {tagname|service|service.tagname} Gets value of a global tag. The tagname must correspond to one of the supported tags within the device. Use the INFO command to get a full list of tags and services, as well as attributes of the tag and list of subtags. The command is terminated by a carriage return and/or line feed character.

Include an index to get a single value from an array such as GET int1 . If the index is omitted, the full array of values will be returned in a comma-separated list of values. Send Get {tagname|service.tagname|service} to get the value of a tag within the global data service. To get the value of a tag within another service, prefix the tagname with the service name. For example, a GET command such as GET eip.input for the EIP input assembly. The AVP service allows retrieval of step and datum information from the job tree using forward slash ‘ / ’ in the symbolic name path. GET avp/insp1/snapshot1/status paths are not case-sensitive and do not need to be fully qualified if unique.

GET avp/snapshot1/status will return the same result if there is only one inspection. When issued against a step, GET avp/snapshot1 will return the values for all datums. Success Return: On success will return the value stored in the tag. For example: ABCD Fail Return: On failure will return !ERROR followed by the reason for the failure. For example: !ERROR Tag matchstring66 not found Important: This command only functions when the camera is ONLINE. HAWK MV-4000 Smart Camera Guide F-3