V+ Operating System Reference Guide
FSET monitor command
Syntax
FSET device attribute_list
Function
Set or modify attributes of a graphics window, serial line, or network device related to AdeptNet.
Usage Considerations
Any window referenced must already have been created by V+ or a user program.
The use of this command with NFS or TCP network devices applies only to systems fitted with the AdeptNet option and with the appropriate license(s).
Parameters
device Name of the physical device whose attributes are to be changed. for example, NFS, LOCAL.SERIAL:n, SERIAL:n. The name can be abbreviated. (See the ATTACH instruction in the V+ Language Reference Guide for a description of unit numbers and names.) attribute_list List of keywords and arguments which specify attributes for this device. See the descriptions of the FSET instructions in the V+ Language Reference Guide for detailed information on valid keywords. Details
Using FSET With Windows
See the V+ Language Reference Guide for details on using FSET to change window attributes.
Using FSET With Serial Lines
The following specifications can be used as arguments for "device" to directly select a serial line:
LOCAL.SERIAL:n
Local serial line n on the processor board. For Adept processor boards, n = 1, 2, 3, or 4.SERIAL:n
Global serial line n on the optional Adept SIO board. For an Adept SIO board, n = 1, 2, 3, 4.As a convenience, the following synonyms may be used:
KERMIT
The serial line currently configured for Kermit protocol.MONITOR
The serial line currently configured for use as the monitor terminal.The keywords listed in the following table may appear in "attribute_list":
Keyword Argument Description /PARITY NONE No parity generation EVEN Use even parity ODD Use odd parity /STOP_BITS 1 or 2 Use 1 or 2 stop bits per byte /BYTE_LENGTH 7 or 8 Use 7 or 8 bits per byte /FLOW NONE No flow control IN_XON Detect XON/XOFF on input XON_XOFF Detect and generate XON/XOFF (turn off modem) NOIN_XON Do not detect XON/XOFF OUT_XON Generate XON/XOFF on output NOOUT_XON Do not generate XON/XOFF MODEM Use modem control RTS/CTS (turn off XON_XOFF) /DTR OFF Turn off the DTR modem signal ON Turn on the DTR modem signal /MULTIDROP OFF Do not use multidrop mode ON Use multidrop mode (Valid only for LOCAL.SERIAL:1 on Adept processors) /FLUSH OFF Disable recognition of CTRL+O for flushing output ON Enable recognition of CTRL+O for flushing output /SPEED 110, 300, 600, 1200, 2400, 4800, 7200, 9600, 19200, 38400 Select the indicated baud rate.For current Adept boards, a baud rate of 19200 is incompatible with a baud rate of 7200 or 38400 on a pair-wise basis. The pairs are:(LOCAL.SERIAL:1, LOCAL.SERIAL:4)
(LOCAL.SERIAL:2, LOCAL.SERIAL:3)(SERIAL:1, SERIAL:4)(SERIAL:2, SERIAL:3)Drivers for KERMIT, DDCMP, and NETWORK ignore any modes indicated by the keywords that are not supported.
Using FSET With NFS and TCP
The following AdeptNet devices may be referenced with the FSET command:
NFS (Network File System)
TCP (Transmission Control Protocol)
You can use the attributes listed in the following table when accessing these devices with the FSET command.
FSET AdeptNet Attributes
Attribute Description /ADDRESS IP address. (Applies only to the TCP device.) /MOUNT Defines the name to be used for an NFS server remote disk. (Applies only to the NFS device.) /NODE Node name. /PATH Path for NFS server remote disk. (Applies only to the NFS device.)
For access to drives/folders on Windows-based PCs, use the Windows path format.
Examples: a:\c:\disksYou may define new nodes on the network using the FSET command to access the TCP device.You may also define new remote mounts, using the FSET command to access the NFS device.
Examples
To change the baud rate to 2400 and disable parity checks for the local CPU serial line 1, type
fset local.serial:1 /parity none /speed 2400To define a new node called SERVER2 with the IP address 192.9.200.22, type
fset tcp /node 'SERVER2' /address 192 9 200 22To define a new NFS mount with the device name DISK2 to access the exported directory /c of the node (server) called SERVER2, type
fset nfs /mount 'DISK2' /node 'SERVER2' /path '/c'For a Windows-based PC, to define a new NFS mount with the device name XC to access the exported directory c:\adept\disks\disk_c of the node (server) called SERVER2, type
fset nfs /mount 'XC' /node 'SERVER2' /path 'c:\adept\disks\disk_c'Related Keywords
ATTACH program instruction
FSET program instruction
Submit comments to: techpubs@adept.com
Last modified on: 6/28/2010
Copyright © 1994 - 2009. Adept Technology, Inc.
