Baumer NE215 사용 설명서 - 페이지 26
{카테고리_이름} Baumer NE215에 대한 사용 설명서을 온라인으로 검색하거나 PDF를 다운로드하세요. Baumer NE215 40 페이지. Electronic preselection counter

Open interface description
26
The protocol: <STX> Address line P [VZ] data <ETX> [<CR>]
can be used for each line. The answer of the counter that is returned
after every programming step is the same as for the readout of the
line.
All storage locations may, principally, be programmed during the
RUN mode in the programming mode.
Please refer to page 27 (under 7 .5.2) to find out how to switch to the
PGM mode.
Programming command (general):
<STX> Address Line P [VZ] Data <ETX> [<CR>]
7.4.1. Examples for the programming of storage locations
The following statement applies for the subsequent examples:
Counter address = 35; Counter mode = R (RUN mode)
Programming of preselection P1 (Line=02, Preselection P1=12.50)
Command:
<STX>3502P00001250<ETX>
Answer:
<STX>3502R00001250<ETX><CR>
Programming of preselection P2 (Line=03, Preselection P2=50.00)
Command:
<STX>3503P00005000<ETX>
Answer:
<STX>3503R00005000<ETX><CR>
Programming of output time P3 (Line=33, Time=0.30s)
Command:
<STX>3533P0030<ETX>
Answer:
<STX>3533R0030<ETX><CR>
7.5
Special commands
In the case of special commands, we are talking about instructions
that do not refer to any line number, with the exception of the
commands „Clear count" and „Output to printer" .
7.5.1 Clear counts
The counts XP (line 1), totalizer (line 5), batch counter (line 6), and
operating time meter (line 8) can be cleared via this special
command. It concerns all lines that cannot be programmed. All other
lines, such as preselections, are cleared by programming the value
ZERO (as described under item 4).
The instruction to clear corresponds to a reset via the C key and/or to
an external reset if a reset input is available.
The response (answer) of the counter when clearing is the same as
when reading the corresponding line.
General:
<STX> Address Line <DEL> <ETX>
Example:
Clearing of preselection counter XP
Address=35, Line=01, Status=RUN mode
Command:
<STX>3501<DEL><ETX> <DEL> = 7FHex
Answer:
<STX>3501R00000000<ETX><CR>
NE215