Applied-motion RS-232 Bedienungsanleitung Seite 251

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 250
251
920-0002 Rev. I
2/2013
Host Command Reference
1DI8000 1% Drive at address “1” sends normal Ack (over both ports) in
response to address-specific set distance to 8000
Bad command Example:
Command Drive Sends Notes
VE200 ?5 Drive sends Nack (over RS-232 port only) in
response to global set velocity to 200 rps; error code 5 is
sent because parameter “200” is out of range
1VE200 1?5 Drive at address “1” sends Nack (over both ports) and error
code in response to address-specific set velocity to 200 rps
Buffered command Example:
Command Drive Sends Notes
AC10 * Drive sends Exception Ack (over RS-232 port only) in res-
ponse to global set acceleration to 10 rps/s
1AC10 1* Drive at address “1” sends Exception Ack and address (over
both ports) in response to address-specific set acceleration
Bit 3 - Checksum (use 8-bit checksum)
Not implemented at this time. Call factory for schedule.
Bit 4 - RS-485 Adapter mode
Allows using a drive as an RS-232 to RS-485 adapter by letting the host communicate on an RS-485
network through the first drive’s RS-232 port. When the host sends commands with a “~” (tilde) at the beginning
of the command to the first drive’s RS-232 port, the command is echoed out of both of that drive’s RS-232 and
RS-485 ports. Drives connected on the RS-485 network will receive the same command with the “~” stripped off.
Without the Bit 4 option (Bit 4=0), a drive will normally echo any addressed command out of the RS-232 port
only, whether the command was received from the drive’s RS-232 or RS-485 port. What the Bit 4 setting does (Bit
4=1), is force the drive to echo commands out the RS-485 port as well, allowing a host that is connected to a drive
through its RS-232 port, to communicate to an RS-485 network of drives.
NOTE: When both Bits 4 and 2 are set (Bit 4=1, Bit 2=1), the host will receive back both the echoed packet
and the acknowledge packet. For example, two drives are connected in an RS-485 network, and they both
have PR command Bits 4 and 2 set. The rst drive, which is also connected to the host via its RS-232 port, is
addressed “1”, and the second drive is addressed “2”. Here is what you will see:
Send data Example:
Command Drive Sends Notes
~2DI8000 2DI8000 Drive at address “1” echoes original command over both
serial ports
2% Drive at address “2” responds with ack.
Request data Example:
Command Drive Sends Notes
~2DI 2DI Drive at address “1” echoes original command over both
serial ports
2DI8000 Drive at address “2” responds with distance
Bit 5 - 3-digit numeric register addressing
Each data register in a drive is normally accessed using its single letter, number, or other ascii character.
With Bit 5 set (Bit 5=1), each of the data registers is instead accessed with a 3-digit number: 000 to 074. (See the
Data Registers section for character and 3-digit numerical assignments). The Bit 5 option implements this specific
Seitenansicht 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare