Search
-
Is there some single instruction like WRC but setting ALL bits?
Hi, for my Forth, at the moment I use WRZ and WRC to get a logic result as true or false onto the stack. However it would be better to have $FFFFFFFF for true instead of 1. I had a look into the list of instructions https://p2docs.github.io/p2_optable.html , but perhaps I have overlooked something? WRZ followed by NEG is… -
data stream routing user interface
imagine that you had a new bench test equipment with a console. effectively using the equipment requires mapping inputs to outputs of streaming data. things like routing periodic sensor data in from a virtual serial port then out an actual serial port for display and also into a log file and into an alarm level monitor and… -
Re: Is there some single instruction like WRC but setting ALL bits?
-
Re: Revised P2 PLC (Testing)
-
Re: FlexProp: a complete programming system for P2 (and P1)
Hi, question about the PR0...PR7 registers The SPIN docu says, that PR0 sits always (!) in cog register $1D8. Is this true for FlexProp also? It seems to compile to $1E0? Is this fixed? Background is, that I am trying to write an assembler for my xbyte Forth. Many thanks! Christof Edit: If the location varies from compile… -
Re: P2XCForth - A Fast Hybrid: XBYTE and C
-
Very simple and high accuracy temperature measurement with the SMT 172 / FORTH / Prop2
Hi folks, even if this FORTH forum is quite dead, a small peace of code for extreme simple temperature measurement. For about 40 years there is the SMT 172 (former SMT 160) temperature sensor around. Its output is not analog nor I2C but a PWM modulated signal. The sensor accuracy is better then ±0.06°C (range +10°C to… -
Are Nema23 stepper motors defective?
Hello everyone, I'm currently building a gantry milling machine. For this, I purchased three nema 34 stepper motors and a TB6560-based oyostepper controller. Now that I've connected all three motors, I've noticed some strange behavior with one of them: When starting slowly, it jumps back and forth before running normally.…
