Balluff Inc BISC6XX 用户手册

下载
页码 43
41
41
english
Example No. 4
For configuring with
double bit header
and 8-byte buffer
size!
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:
BIS C-60_2 Identification System:
2.) Process subaddresses of the input buffer in the
order shown:
If an error occurs right away:
3.) Process subaddress of the input buffer:
4.) Process subaddresses of the input buffer:
01
Hex
Command designator 01
Hex
02
Hex
Start address Low Byte 0A
Hex
03
Hex
Start address High Byte 00
Hex
04
Hex
No. of bytes Low Byte 1E
Hex
05
Hex
No. of bytes High Byte 00
Hex
00
Hex
/07
Hex
Set CT-Bit to 1 (64 Byte block size),
set AV-Bit
00
Hex
/07
Hex
Set AA-Bit
01
Hex
Enter error number
00
Hex
/07
Hex
Set AF-Bit
01
Hex
Copy error number
      Process subaddress of the output buffer:
00
Hex
/07
Hex
Reset AV-Bit
00
Hex
/07
Hex
Reset AA-Bit and AF-Bit
Function Description
Examples for protocol sequence
C60_2-019_818217_0806-e.p65
42
english
42
Example No. 5
(like 4th example
but with
simultaneous data
transmission)
For configuring with
double bit header
and 8-byte buffer
size!
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.
BIS C-60_2 Identification System:
2.) Process subaddresses of the input buffer in the
order shown:
If an error occurs right away:
An error can also occur after the data have already been sent (see 6th example on the next
 
).
Host:
1.) Process subaddresses of the output buffer in the
order shown:
3.) Process subaddress of the input buffer:
4.) Process subaddresses of the input buffer:
01
Hex
Command designator 01
Hex
02
Hex
Start address Low Byte 0A
Hex
03
Hex
Start address High Byte 00
Hex
04
Hex
No. of bytes Low Byte 1E
Hex
05
Hex
No. of bytes High Byte 00
Hex
00
Hex
/07
Hex
Set CT-Bit to 1 (64 Byte block size),
set AV-Bit
00
Hex
/07
Hex
Set AA-Bit
01
Hex
Enter error number
00
Hex
/07
Hex
Set AF-Bit
01
Hex
Copy error number
      Process subaddress of the output buffer:
00
Hex
/07
Hex
Reset AV-Bit
00
Hex
/07
Hex
Reset AA-Bit and AF-Bit
Function Description
Examples for protocol sequence