The third method for setting an IP address is to send the IA command through the RS-232 port. (Note: The
IA command is only valid if DH0 is set). The IP address may be entered as a 4 byte number delimited by
commas (industry standard uses periods) or a signed 32 bit number (e.g. IA 124,51,29,31 or IA 2083724575).
Type in BN to save the IP address to the RIO non-volatile memory.
NOTE:
Galil strongly recommends that the IP address selected is not one that can be accessed across the
Gateway. The Gateway is an application that controls communication between an internal network and the
outside world.
The third level of Ethernet addressing is the UDP or TCP port number. The Galil board does not require a
specific port number. The port number is established by the client or master each time it connects to the RIO
board. Typical port numbers for applications are:
Port 23: Telnet
Port 502: Modbus
Port 80: HTTP
Email from the RIO
If the RIO is on a network with a SMTP Mail Server, the RIO is capable of sending an email message using
the MG command. There are three configuration commands necessary to send an email from the RIO unit –
MA, MS and MD. MA sets the smtp email server IP address. MS sets the email source or “from” address
and MD sets the destination or “to” address. There is a maximum character limit for the MS and MD
commands of 30 characters. An example of this is shown here:
MA 10,0,0,1;
‘example SMTP Email Server IP address
MD
;
‘sample destination email address
‘sample source address
MG "Testing Email"{M};
‘Message to send via Email
Please contact your system administrator for information regarding email settings.
Note: it is strongly recommended that the email messaging frequency is limited so as not to overload the
email server.
Communicating with Multiple Devices
The RIO is capable of supporting multiple masters or slaves. A typical scenario would be connecting a PC (a
master) and a motion controller (a 2nd master) that can both send commands to the RIO board over Ethernet
on different handles.
Note: The term “master” is equivalent to the Internet “client” and the term “slave” is equivalent to the
Internet “server”.
An Ethernet handle is a communication resource within a device. The RIO-47xx0 can have a maximum of 3
Ethernet handles open at any time. This number is increased to 5 Ethernet handles on the RIO-47xx2. If all
handles are in use and another device tries to connect, it will be sent a "reset packet" showing that the RIO
cannot establish any new connections.
NOTE:
A reset will cause the Ethernet connection to be lost. There are a number of ways to reset the board.
Hardware resets (push reset button or power down RIO board) and software resets (through Ethernet or
RS232 by entering the RS command).
When the RIO acts as the master, the IH command is used to assign handles and connect to its slaves. The IP
address may be entered as a 4 byte number separated with commas (industry standard uses periods) or as a
signed 32 bit number. A port number may also be specified, but if it is not, it will default to 1000. The
protocol (TCP/IP or UDP/IP) to use must also be designated at this time. Otherwise, the board will not
12 Chapter 3 Communication
RIO-47xxx
Содержание RIO-47**0
Страница 2: ......
Страница 93: ...RIO Dimensions RIO 471xx Units in centimeters RIO 47xxx Appendix 87...
Страница 94: ...RIO 472xx Units in millimeters 88 Appendix RIO 47xxx...
Страница 107: ...Internal 56 64 Zero Stack 53 RIO 47xxx Index 101...