FG_D6_PROFIBUS_EN_01 / 2020-06-17
Reading of the configuration / extended menu bits
—
Activate the “Read extended menu bits”
command:
Write at the address 00(h), the value 0200(h)
Byte 0 = 00(h)
Byte 1 = 02(h) (Bit 1 = 1)
Acknowledgement
Command echo:
—
Byte 0 = 00(h)
—
Byte 1 = 02(h) (Bit 1 = 1)
Command error code:
—
Byte 2 = FF(h)
—
Byte 3 = FF(h)
(if command error code = FFFF(h), command is in
progress)
Running “Read extended menu bits” command
Command finished
Command echo:
—
Byte 0 = 00(h)
—
Byte 1 = 02(h) (Bit 1 = 1)
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 = 00(h)
—
Byte 3 = 02(h) (Bit 1 = 1)
—
Wait the end of the command:
command echo = 0200(h)
command error code ≠ FFFF(h) (end of command)
—
Deactivate the “Read extended menu bits”
command:
Write at the address 00(h) the value 0000(h)
Byte 0 = 00(h)
Byte 1 = 00(h) (Bit 1 = 0)
—
Read the configuration bits at the address 20h of
X Words or read the function bits at the address
20h of X Words.
The configuration / extended menu bits are defined in the table above for the “Extended menus” of
each specific chapter for the instruments.
The configuration / extended menu bits are independents of the program number.
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).