About B.Stamps serial RS232 protocol ( any info please ? )
Joe
Posts: 184
Hi,
There are many kinds of serial protocols like:
Modbus, Profibus, DeviceNet, DNP, IEC, etc....
Which is the protocol of basic stamps ?
There is some software that must be configured
and usually the software "ask" about the protocol.
But I don't know about information of this.
Thanks, Joe
There are many kinds of serial protocols like:
Modbus, Profibus, DeviceNet, DNP, IEC, etc....
Which is the protocol of basic stamps ?
There is some software that must be configured
and usually the software "ask" about the protocol.
But I don't know about information of this.
Thanks, Joe
Comments
Otherwise, there is none. If you want to "talk" with a BASIC Stamp, you get to decide -- by writing your BASIC Stamp code to handle the protocol you want to use.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
The protocols you mention are built on top of the "physical layer" of either RS-232, or RS-485. The protocols are then definitions of a series of bytes (frame-sync byte(s), address byte(s), data byte(s), checksum) which get sent on the "physical layer".
The BS2 is much simpler than that -- it provides a serial port, and a programmable device. So, you have the "physical layer" supplied by the BS2. But, any higher level byte-oriented protocol must be programmed by you into the chip.
The BS2 provides "SEROUT" and "SERIN" keywords that let you send and recieve RS-232 formatted data. From that you can build the higher level protocols if you desire.