Baumer N 150 Manual de instrucciones - Página 7

Navegue en línea o descargue pdf Manual de instrucciones para Equipamiento industrial Baumer N 150. Baumer N 150 21 páginas.

4.2.1. Check Position „C" (43h)
This command provides the alignment status of target versus actual value. If the actual value is within the target
tolerance window, the response will be „o" (6Fh) for OK together with the current profile number. If the actual
value is outside the tolerances, „x" (78H) followed by the current profile number will be replied.
Example: (active profile number = 05)
SOH Adr Cmd EOT CRC
Transmission
01h
20h
Response if actual value is within the tolerances:
SOH Adr Cmd Stat. Profile no.=05 EOT CRC
Response
01h
20h
Response in case of actual value is outside the tolerances:
SOH Adr Cmd Stat. Profile no.=05 EOT CRC
Response
01h
20h
4.2.2. Read actual value „R" (52h)
This command is utilized to read the 5-digit actual value (bottom line of display). The amount of data is always 6
bytes. In case of a negative value, the "minus" sign (2Dh) together with 5 data bytes is replied. Positive values
are represented by 6 data bytes without sign. Values of less than 5 (4) digits will come with preceding zeroes.
Please note that N 150 provides a 5-digit actual value.
Example: Actual value = -32.50
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
4.2.3. Read / write target (profile) „S" (53h)
This command is utilized to read the presently active target (profile value) respectively to read or write a specific
target. Data are composed by profile number (2 bytes) and target (6 bytes). Note: Negative targets are
transmitted as 5-digit number (see example 3). Please consider that SPA targets comprise 5 digits only.
Example 1: Read active target (profile number = 12; target = 12.50)
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
Response upon clearing all targets:
SOH
Adr
Response
01h
20h
Example 2: Read specific target (profile number = 17; target = 12.50)
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
Example 3: Write specific target (profile number = 17; target = -12.50)
s
SOH
Adr
Transmission
01h
20h
SOH
Adr
Response
01h
20h
43h
04h
0Ah
43h
6Fh
30h
35h
04h A5h
43h
04h 1D
78h
30h
35h
Cmd
EOT
CRC
52h
04h
40h
Cmd
Actual value = –32.50
52h
2Dh
30h
33h
Cmd
EOT
CRC
53h
04h
2A
Cmd Profile no. = 12
53h
31h
32
30h
Cmd
Profile no. =
FFh
53h
3Fh
3F
3Fh
Cmd Profile no. = 17 EOT
53h
04h
31h
37h
Cmd Profile no. = 17
53h
31h
37h
30h
Cmd Profile no. = 17
53h
31h
37h
2Dh
Cmd Profile no. = 17
53h
31h
37h
2Dh
www.baumer.com
EOT
32h
35h
30h
04h
Target = 12.50
30h
31h
32h
35h
Target = FFFFFFh
3Fh
3Fh
3Fh
3Fh
CRC
16h
Target = 12.50
30h
31h
32h
35h
Target = -12.50
30h
31h
32h
35h
Target = -12.50
30h
31h
32h
35h
CRC
54h
EOT
CRC
30h
04h
3E
EOT
CRC
3Fh
04h
2Ah
EOT
CRC
30h
04h
BCh
EOT
CRC
30h
04h
FBh
EOT
CRC
30h
04h
FBh
N 150
7