Herunterladen Inhalt Inhalt Diese Seite drucken

Balluff BIS C-60 3 Serie Handbuch Seite 78

Elektronische identifikations-systeme
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

C60_3-025_825645_1310_e.p65
55
Example No. 4
For parametering
with 8-byte buffer
size!
56
Example No. 5,
like 4th example but
with simultaneous
data transmission
For parametering
with 8-byte buffer
size!
56
english
Function Description
Mode 1: Examples for protocol sequence
Read 30 bytes starting at data carrier address 10 with read error
(data carrier type with 64 byte block size):
Host:
1.) Process subaddresses of the output buffer in the
order shown:
01
Command designator 01
Hex
02
Start address Low Byte 0A
Hex
03
Start address High Byte 00
Hex
04
No. of bytes Low Byte 1E
Hex
05
No. of bytes High Byte 00
Hex
Set CT-Bit to 1 (64 Byte block size),
00
Hex
set AV-Bit
3.) Process subaddress of the input buffer:
01
Copy error number
Hex
Process subaddress of the output buffer:
00
Reset AV-Bit
Hex
Function Description
Mode 1: Examples for protocol sequence
Read 30 bytes starting at data carrier address 10, with read error and simultaneous data
transmission (data carrier type with 64 byte block size):
If an error occurs, the AF bit is set instead of the AE-Bit, with a corresponding error number.
When the AF-BIT is set the job is interrupted and declared to be ended.
Host:
1.) Process subaddresses of the output buffer in the
order shown:
01
Command designator 01
Hex
Hex
02
Start address Low Byte 0A
Hex
03
Start address High Byte 00
Hex
04
No. of bytes Low Byte 1E
Hex
05
No. of bytes High Byte 00
Hex
Set CT-Bit to 1 (64 Byte block size),
00
Hex
set AV-Bit
3.) Process subaddress of the input buffer:
01
Copy error number
Hex
Process subaddress of the output buffer:
00
Reset AV-Bit
Hex
An error can also occur after the data have already been sent (see 6th example on the next ).
BIS C-60_3 Identification System:
2.) Process subaddresses of the input buffer in the
order shown:
If an error occurs right away:
Hex
00
Set AA-Bit
Hex
Hex
01
Enter error number
Hex
Hex
00
Set AF-Bit
Hex
Hex
Hex
4.) Process subaddresses of the input buffer:
00
Reset AA-Bit and AF-Bit
Hex
BIS C-60_3 Identification System:
2.) Process subaddresses of the input buffer in the
order shown:
If an error occurs right away:
00
Set AA-Bit
Hex
Hex
01
Enter error number
Hex
Hex
00
Set AF-Bit
Hex
Hex
Hex
4.) Process subaddresses of the input buffer:
00
Reset AA-Bit and AF-Bit
Hex
55
english

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Bis c-6003Bis c-6023

Inhaltsverzeichnis