![Pepperl+Fuchs SmartRunner Matcher Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/pepperl-fuchs/smartrunner-matcher/smartrunner-matcher_manual_1527553044.webp)
2
018-
01
44
SmartRunner Matcher*
Operation
Note!
All values are transferred in little-endian format. In this case, the smallest value byte is stored at
the starting address or the smallest value component named first.
Read commands always have a length of 0 bytes.
Example!
In this example, the ROI evaluation is set as follows: set the ROI to
±
50 mm in the X direction
and to +100 mm to +200 mm in the Z direction.
0x 10 C8 CE FF FF FF 32 00 00 00 64 00 00 00 C8 00 00 00 77
0x10
= data length
0xC8
= index
0xCEFFFFFF
= X
min
-50 mm (little-endian, two's complement)
0x32000000
= X
min
+50 mm (little-endian, two's complement)
0x64000000
= Z
min
+100 mm (little-endian, two's complement)
0xC8000000
= Z
min
+200 mm (little-endian, two's complement)
Response telegram:
[TX]
-80 C8 48
[RX]
-90 C8 CE FF FF FF 32 00 00 00 64 00 00 00 C8 00 00 00 F7
Example!
In this example, the sensor is transferred to Parameter mode to change some settings.
Afterwards it switches to Runtime mode, a profile is taught in, and a comparison is made
between this profile and another profile (object_1 differs greatly from object_2).
[TX]
- A8 57
= GotoParamMode
[RX]
- 81 AC 00 2D
= Acknowledge
[TX]
- 00 FE FE
= InParamMode
[RX]
- 81 AC 00 2D
= Acknowledge
[TX]
- 80 AD 2D
= Read Quality Good
[RX]
- 84 AD 50 00 00 00 7F
= Quality Good=80 (0x50)
[TX]
- 04 AD 55 00 00 00 FF
= Write Quality Good=55 (0x55)
[RX]
- 81 AC 00 2D
= Acknowledge
[TX]
- 04 51 00 00 00 00 55
= Write Autotrigger = Off
[RX]
- 81 AC 00 2D
= Acknowledge
[TX]
- 01 F3 10 E2
= Save settings
[RX]
- 81 AC 00 2D
= Acknowledge
[TX]
- 00 FF FF
= LeaveParamMode
[RX]
- 81 AC 00 2D
= Acknowledge
[TX]
- 94 6B
= Teach (Object_1)
[TX]
- D8 27
= Trigger
[TX]
- 90 6F
= Teach Result
[RX]
- 00 00 00 64 00 00 00 64
= Result=Good
[TX]
- D8 27
= Trigger (Object_1)