![Galil Motion Control RIO-47 series
RIO-47100 Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/galil-motion-control/rio-47-series-rio-47100/rio-47-series-rio-47100_user-manual_558776022.webp)
Unsolicited Message Handling
Unsolicited messages are any messages that are sent from the controller that are not directly
requested by the host PC. An example of this is a MG or TP command inside of a program running on
the controller. Error messages are also “unsolicited” because they can come out at any time. There
are two software commands that will configure how the controller handles these unsolicited
messages: CW and CF.
The RIO has multiple Ethernet handles as well as 1 serial port where unsolicited messages may be
sent. The CF command is used to configure the controller to send these messages to specific ports.
In addition, the Galil software has various options for sending messages using the CF command. For
more information, see the CF command description in the Command Reference.
The CW command has two data fields that affect unsolicited messages. The first field configures the
most significant bit (MSB) of the message. A value of 1 will set the MSB of unsolicited messages,
while a value of 2 suppresses the MSB. Programs like HyperTerminal or Telnet need to use a setting
of CW2 for the unsolicited messages to be readable in standard ASCII format. However, the Galil
software needs a value of CW1 to be set so that it can differentiate between solicited and unsolicited
messages. If you have difficulty receiving characters from the controller, or receive garbage
characters instead of messages, check the status of the CW command.
The second field of the CW command controls whether the product should pause while waiting for
the hardware handshake to enable the transmission of characters over RS-232 (CW,0), or continue
processing commands and lose characters until the hardware handshake allows characters to be sent
(CW,1).
Other Protocols Supported
Galil supports DHCP, ARP, BOOT-P, and Ping, which are utilities for establishing Ethernet connections.
ARP is an application that determines the Ethernet (hardware) address of a device at a specific IP
address. BOOT-P is an application that determines which devices on the network do not have an IP
address and assigns the IP address you have chosen to it. Ping is used to check the communication
between the device at a specific IP address and the host computer.
The RIO can communicate with a host computer through any application that can send TCP/IP or
UDP/IP packets. A good example of this is Telnet, a utility that comes standard with the Windows
operating system.
When using DHCP and a DNS (Domain Name Server), the DNS will assign the name “RIO47100-n” to
the controller where n is the serial number of the unit.
Chapter 3 Communication ▫ 22 RIO-47xxx Rev. 1.0r