Special commands, Examples for programmation of data storing lines, Delete counter values – Baumer NE134 Benutzerhandbuch
Seite 11: Switching the counter to pgm or run mode, Skipping the line

NE134
www.baumer.com
11
4.1. Examples for programmation of data storing lines
For the example below the following settings do apply:
Device address = 35; Counter mode = R (RUN mode)
Programming of preset value P1 (Line=02, preset value=3600)
Command: <STX>3502P003600<ETX>
Reply: <STX>3502R003600<ETX><CR>
Programming of scaling factor SF (Line=07, setting=1,0000)
Command: <STX>3507P01.0000<ETX>
Reply: <STX>3507R01.0000<ETX><CR>
Programming of lower display (Line=27, preset value P1=1)
Command: <STX>3527P1<ETX>
Reply: <STX>3527R1<ETX><CR>
Programming of output time P1 (Line=41, permanent signal = Latch)
Command: <STX>3541PL<ETX>
Reply:
<STX>3541RL<ETX><CR>
Programming of device address (Line=54, device address=27)
Command: <STX>3554P27<ETX>
Reply:
<STX>3554R27<ETX><CR>
5. Special Commands
Except for the command „clear counter values“, special commands do not refer to a defined line number (data
storing line in the operating plan).
5.1. Delete Counter Values
The following special command is for deletion of main counter (line 1), totalizer (line 5) or batch counter (line 6).
These lines do not allow programmation. All remaining lines of the programming plan (except for separating
lines) are deleted by setting 0 as parameter (as described under 4). The delete command corresponds to a
reset by C- key. The counter’s confirmation (reply) for deletion is the same as for the read command of the
resepective line.
General: <STX> address line <DEL> <ETX>
Example: Delete batch counter b
Address =35, line =06, status=RUN mode
Command: <STX>3506<DEL><ETX> <DEL> = 7FHex
Reply: <STX>3506R000000<ETX><CR>
5.2. Switching the counter to PGM or RUN mode
When being called, the counter is switched back and forth between PGM mode and RUN mode. Replied are the
running line number and the current status after execution of the command.
General: <STX> address <DC1> <ETX>
Example: Address=35, Status=RUN-mode, Running Line = 1, display value=15
Command:
<STX>35<DC1><ETX> <DC1> = 11Hex
Reply: <STX>35P<ETX><CR>
A repeted command results in a switchback to RUN mode.
Command: <STX>35<DC1><ETX>
Reply:
<STX>35R<ETX><CR>
5.3. Skipping the Line
This command allows skipping in the display to the respectively following line what is feasible both in RUN and
PGM mode. Replied is the content of the actual line (after the skipping).
Example: Address =35, Status=RUN mode, Skipping from line 1 to line 2
Command: <STX>35<LF><ETX> <LF> = 10Hex
Reply: <STX>3502R000100<ETX><CR>