Artesyn MOTLoad Firmware Package User's Manual (Febru User Manual Page 150

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 149
MOTLoad Commands
MOTLoad Firmware Package User’s Manual (6806800C24D)
150
3.1.73 portSet
Name
portSet—sets the communication mode(s) for a serial port.
Synopsis
portSet [-b] [-d] [-p] [-s] [-w]
Parameters
-b Pd: Baud Rate (Default = 9600)
-d Ps: Serial-Port Device Name (Default = /dev/com2)
-p Ps: Parity (e/o) (Default = No)
-s Pd: Stop Bits (1/2) (Default = 1)
-w Pd: Word Size (7/8) (Default = 8)
Example
The following example indicates a typical display when using the portSet commands.
MOTLoad> portSet -b14400 -d/dev/com2
Error Messages
portSet(): open(<device>) failed, errno <value>
Unable to open specified port.
portSet(): ioctl(101) failed, errno = <value>
Unable to get port's current mode.
portSet(): ioctl(100) failed, errno = <value>
Unable to set port's configuration.
portSet(): ioctl(102) failed, errno = <value>
Unable to set port's baud rate.
Page view 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 281 282

Comments to this Manuals

No comments