EasyManua.ls Logo

Baumer N153 - Page 10

Default Icon
28 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
N 153
www.baumer.com 10
4.2.4. Read actual value „R“ (52h)
This command is for reading the 5-digit actual value (bottom display). Data amount 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 inferior to 5(4) digits will come with preceding zeroes. Please note that N 153
provides a 5-digit actual value.
Example: Actual value = -32.50
SOH Adr Cmd EOT CRC
Transmission
01h 20h 52h 04h 40h
SOH Adr Cmd Actual value = –32.50 EOT CRC
Response
01h 20h 52h
2Dh 30h 33h 32h 35h 30h
04h 54h
4.2.5. 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 transmit-
ted 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 Cmd EOT CRC
Transmission
01h 20h 53h 04h 2A
SOH Adr Cmd Profile no. = 12 Target = 12.50 EOT CRC
Response
01h 20h 53h
31h 32 30h 30h 31h 32h 35h 30h
04h 3E
Response upon clearing all targets:
SOH Adr Cmd Profile no= FFh Target = FFFFFFh EOT CRC
Response
01h 20h 53h
3Fh 3F 3Fh 3Fh 3Fh 3Fh 3Fh 3Fh
04h 2Ah
Example 2: Read specific target (profile number = 17; target = 12.50)
SOH Adr Cmd Profile no. = 17 EOT CRC
Transmission
01h 20h 53h
31h 37h
04h 16h
SOH Adr Cmd Profile no. = 17 Target = 12.50 EOT CRC
Response
01h 20h 53h
31h 37h 30h 30h 31h 32h 35h 30h
04h BCh
Example 3: Write specific target (profile number = 17; target = -12.50)
s
SOH Adr Cmd Profile no. = 17 Target = -12.50 EOT CRC
Transmission
01h 20h 53h
31h 37h 2Dh 30h 31h 32h 35h 30h
04h FBh
SOH Adr Cmd Profile no. = 17 Target = -12.50 EOT CRC
Response
01h 20h 53h
31h 37h 2Dh 30h 31h 32h 35h 30h
04h FBh
Note: Instead of command „S“ also command „SP“ may be utilized. The function is fully identical to command
“S”. In case command SD is utilized it might be easier to apply command SP due to their identical protocol
length. Please consider that with anterior or other multicon devices command „SP“ maybe is not available.
Example 4: As in example 3 but utilizing command „SP“
SOH Adr Cmd Sub Profile no.=17 Target = -12.50 EOT CRC
Transmission
01h 20h 53h
50h
31h 37h 2Dh 30h 31h 32h 35h 30h 04h 29h
SOH Adr Cmd Sub Profile no.=17 Target = -12.50 EOT CRC
Response
01h 20h 53h
50h
31h 37h 2Dh 30h 31h 32h 35h 30h 04h 29h

Related product manuals