47
the I
2
C Bus, the iPort/AFM outputs a Slave Transmit Request to its Host device,
and initiates an I
2
C Clock Stretch (SCL Low) until a Slave Transmit command is
received from the Host computer. While clock stretching, no other messages can be
transmitted on the I
2
C Bus.
Note 2: The tilde (~) character and the Carriage Return (CR) characters are used as
special marker characters within all iPort/AFM RS-232 transmitted text messages.
These characters may not be used within the text of a message, but must be replaced
by the following "Hex equivalent" characters:
Tilde replaced by "~7E"
Carriage Return replaced by "~0D"
iPort/AFM automatically translates "Hex equivalent" characters to their single-byte
value for transmission across the I
2
C Bus.
All entered data bytes are transmitted to the requesting Master Receiver device.
Slave Transmit stops upon receiving the first negative acknowledgment (Nack)
from the Master Receiver.
Command: /Stext[CR] 'Slave Transmit Message
Response 1: /STC[CR] 'Slave Transmit Complete
Response 2: /I88[CR] 'iPort Connection Not Open
Response 3: /I8A[CR] ‘Slave Transmit Request Not Active, Cmd Ignored
Default Setting: None
Examples:
/Sabcd1234[CR] ‘ASCII Printable characters "abcd1234"
/S~00~01~02[CR] ‘Binary data bytes 00, 01,02
/Sab~7Ecd[CR] ‘Tilde embedded in ASCII Printable characters
/S12~0D24[CR] ‘Carriage Return embedded in ASCII Printable
characters
Master Transmit Message
Write the specified data bytes to the currently selected Destination I
2
C Slave
Address with or without generating an I
2
C Stop condition after the last byte is
transmitted.
Kommentare zu diesen Handbüchern