Herunterladen Inhalt Inhalt Diese Seite drucken

Balluff BIS M-81 Serie Handbuch Seite 50

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

M-81_854610_E_0703.p65
37
Telegram example
for
36:
Writing a constant
value in the data
carrier
with BCC block check
38
Restart the Handy
Programmer (Quit)
Telegram example with
BCC block check:
38
english
Telegram Structure and Examples
Reading / Writing over the serial interface
Write ASCII data value 0 (30Hex) to 500 bytes of the data carrier starting a Address 20.
The host sends
Address of first byte to write
Number of bytes to write
The Handy Programmer acknowledges with
The host gives the start command and data
The Handy Programmer acknowledges with
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
Telegram Structure and Examples
Reading / Writing over the serial interface
Sending the Restart command causes a telegram in process to be aborted and puts the
Handy Programmer in the ground state.
After this telegram is acknowledged, a minimum of 1600 ms pause should be allowed
before starting a new telegram.
Important! The Quit command is not permitted while the Handy Programmer is waiting for a
terminator (BCC or 'CR'). In this situation, the Quit would be incorrectly interpreted as a termina-
tor or datum.
Task
Data Flow
from host system to BIS
Restart
(Quit)
from BIS to host system
1) The Quit command is not permitted at this point.
Put the Handy Programmer into the ground state.
The host sends
The Handy Programmer acknowledges with
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
'C 0 0 2 0 0 5 0 0 1 0 E' BCC (46 Hex)
Fixed
Fixed
<ACK> '0'
<STX>
'0 2' BCC (32 Hex)
<ACK> '0'
english
Command Terminator
Acknowledge Terminator
'Q'
BCC or'CR'
'Q'
1)
'Q Q'
BCC (51 Hex)
'Q Q'
BCC (51 Hex)
37
BCC or'CR'

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Bis m-810Bis m-811Bis m-812

Inhaltsverzeichnis