omron — W{address}

PMAC Product Guide Examples: V ; Request actual velocity of addressed motor 21.9 ; PMAC responds with 21.9 cts/cycle (*8,388,608/3,713,707 = 49.5 cts/msec) #6V ; Request velocity of Motor 6 -4.2 ; PMAC responds #5V#2V ; Request velocities of Motors 5 and 2 0 ; PMAC responds with Motor 5 first 7.6 ; PMAC responds with Motor 2 second VERSION Function : Report PROM firmware version number Scope : Global Syntax : VERSION VER This command causes PMAC to report the firmware version it is using. When a flash-memory PMAC is in bootstrap mode (powering up with E51 ON), PMAC will report the version of the bootstrap firmware, not the operational firmware.

Otherwise, it will report the operational firmware version. To change from bootstrap mode to normal operational mode, use the command. Examples: VERSION ; Ask PMAC for firmware version 1.12D ; PMAC responds W{address} Function : Write values to specified addresses Scope : Global Syntax : W{address},{value} [,{value}...] where {address} consists of a letter X , Y , or L ; an option colon (:); and an integer value from 0 to 65535 (in hex, $0000 to $FFFF); specifying the starting PMAC memory or I/O address to be read. {constant} is an integer, specified in decimal or hexadecimal, specifying the value to be written to the specified address.

further {constants} specify integer values to be written into subsequent consecutive higher addresses. This command causes PMAC to write the specified {constant} value to the specified memory word address, or if a series of {constant} values is specified, to write them to consecutive memory locations starting at the specified address (it is essentially a memory POKE command). The command can specify either short (24-bit) words in PMAC’s X-memory, short (24-bit) word(s) in PMAC’s Y-memory, or long (48-bit) words covering both X and Y memory (X-word more significant). This choice is controlled by the use of the X , Y , or L address prefix in the command, respectively. Examples:

WY:$C002,4194304 ; This should put 5V on DAC2 (provided I200=0 so servo does not overwrite) WY$720,$00C000,$00C004,$00C008,$00C00C ; This writes the first four entries to the encoder conversion table 194 Online Commands