EasyManua.ls Logo

ATEQ D670 - Page 64

ATEQ D670
69 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
63 / 68
FG_D6_PROFIBUS_EN_01 / 2020-06-17
Cycle results reading (last 8 results in FIFO)
Master
Slave
Read the number of available results in the FIFO at
the address 08(h):
08(h) = 0000(h) → no results
08(h) > 0000(h) → results available
Activate the “Read FIFO results” command:
Write at the address 00(h), the value 0010(h)
Byte 0 = 10(h) (Bit 4 = 1)
Byte 1 = 00(h)
Acknowledgement
Command echo:
Byte 0 = 10(h) (Bit 4 = 1)
Byte 1 = 00(h)
Command error code:
Byte 2 = FF(h)
Byte 3 = FF(h)
(if command error code = FFFF(h), command is in
progress)
Running “Read FIFO results” command
Command finished
Command echo:
Byte 0 = 10(h) (Bit 4 = 1)
Byte 1 = 00(h)
Command error code if the command is correctly
carried out:
Byte 2 = 00(h)
Byte 3 = 00(h)
OR if an error occurred during the command:
Byte 2 = 10(h) (Bit 4 = 1)
Byte 3 = 00(h)
Wait the end of the command:
command echo = 0010(h)
command error code ≠ FFFF(h) (end of command)
Deactivate the “Read FIFO results” command:
Write at the address 00(h) the value 0000(h)
Byte 0 = 00(h) (Bit 4 = 0)
Byte 1 = 00(h)
Read the result of 40 words at the address 20(h)
The master instrument must always set to zero the command bit. If it is not done, the slave instrument
will not detect the following command on this bit. It has detection on the rising edge (when the bit
state goes from 0 to 1).

Other manuals for ATEQ D670

Related product manuals