Transferring Position Information
When sending and receiving from a PC/HMI/PLC to the Acroloop board, what is the best way to pass the information stored in the "target position and Actual Positon" back and forth?
Placing a value directly into the 'target position' register for an axis will not produce a well-formed move. Moves can be sent across a serial link either in ASCII commands or via the binary move interface. (Note that binary data exchange over a serial link requires the use of Control Character Prefixing, which is discussed in the User's Manual.) Motion can also be accomplished by having "canned" move profiles resident in the card's memory as AcroBASIC programs. A typical project of this type uses global parameters for all variable parameters of the move, and may have a dispatch loop running to detect trigger conditions (typically bit transitions).
Retrieving information can be as simple as sending an immediate-mode PRINT command (ex. "PRINT P12290" to query the actual position of Axis 0), or you may use the binary data access protocol to fetch 8 axes of position information in one operation.
All the above assume that the PC/HMI/PLC is intelligent enough to format and transmit command information over the serial link, and to convert incoming information into a locally usable format. Without knowing the control protocol you've envisioned more completely, it's difficult to offer a specific example.