Home
Ethernet XServer User`s Manual
Contents
1. fields You have to ensure that the IP address you use is unique and not already been assigned to another device on your network The static IP address should also be outside the scope of addresses of the DHCP server Please ask your system administrator to assign you a valid static IP address for your XServer so that the System Administrator can keep track of a list of IP addresses that have been assigned Auto IP If the XServer cannot find a DHCP server and you have not manually assigned an IP address to it XServer will automatically select an address from the AutolP reserved range which is fom 169 254 0 1 to 169 254 255 1 The XServer sends out a ARP request to other nodes on the same network to see whether the Ethernet XServer User s Manual selected address is being used If the selected address is not in use then XServer will use it forlocal subnet communication If another device is using the selected IP address the unit selects another address from the AutolP range and reboots itself After reboot the unit sends out another ARP request to see if the selected address is in use and so on until it finds a suitable IP address AutolP can be disabled by setting the XServer s IP address to 0 0 1 0 This setting enables DHCP but disables AutolP GateWay IP Addr The Gateway IP address lets XServer communicate to other LAN segments or to the Intemet The gateway address is usually the local IP address of the router whe
2. COM Port Baud Rate The XServers RS232 COM port has to be set to the same baud rate as the PLC s for successful communication The default baud rate is 38400 bps which is the default baud rate of M series PLCs If you have defined the PLC using the SEIBAUD command to another baud rate then you have to change this setting to match the PLC s baud rate Note that XServer only supports a single communication frame format of 8 data bit 1 stop bit and no party Please note that this COM port setting only takes effect when the XServer is rebooted into Operation mode i e reset with DIP Switch 1 in the OFF position The XServer only uses baud rate of 38400 bps during Configuration mode regardless of the value of this setting 4 Operating The Ethernet XServer With the XServer connected to the Ethemet and the PLC and the DIP Switch 1 at the OFF position tum ON power to both the XServer and the PLC and wait till the green RDY LED lights up The XServer will now be ready in Operation Mode Note that it may take 5 to 20 seconds for the XServer to be ready which is much longer than the PLC typical boot up time Hence if you are programming the PLC to use the 1stScan pulse to initialize the XServer your program will have to check for the operational readiness of the XServer before issuing any command You can let the PLC send the lt IP gt command described later to check for the readiness of the XSe
3. not allow the PLC to use SIX and ACK handshaking scheme with the XServer when the XServer is in the midst of transmitting commands to the PLC The tumaround delay can also give problem during arbitration between the PLC and XServer All NS commands begin with a string enclosed within the angle bracket called a tag e g lt EMAIL gt lt CONNECT gt Most NScommands end with a closing tag lt gt except the lt REMOTE gt tag which ends with a lt REMOTE gt closing tag Depending on the command type the XServer may retum one or more response strings to the PLC from which the PLC can read to determine if the command has been executed propery The PLC can only interact with the XServer by means of TASC INCOMM OUICOMM INPUT and PRINTcommands It uses the PRINTand OUICOMM to send NS commands to the XServer and the INCOMM and INPUT to receive the data from the XServer However this can present a problem because if the XServer is busily passing data to and forth to the PLC in response to a client then an untimely NS command sent by the PLC can be mistakenly passed back to client program and disrupt the on going communication with the client In addition the PLC buffer up to 256 bytes of serial data coming through its COMM port which includes those host link commands it received in previous communication session Therefore if the PLC executes a simple NPU statement all it receives
4. operation when the PLC notice the change 7 Customizing XHMI1 Applet Legends Intemally the XHMI1 applet makes use of a new host link command RX which can read the string vanables stored in the PLC EEPROM by means of the SAVE_EEP command executed by the PLC program However note that this host link command is only supported on PLCs with firmware revision 47 and above This means that XHMI1 customization legend will not work with older M series PLC If you run the XHMI1 applet and contacted an older M series PLC you will only see the default legends and not the customized legends The first 5 locations of the SAVE_EEP are used to store the label name of all the elements on the XHMI1 panel To save EEPROM space several labels share one SAVE_EEP location by separating their label name using a semi colon as described in the following table 16 Ethernet XServer User s Manual SAVE_EEP Label Name for Element Example Location Company Equipment Name 1 Save_EEP ABC Machine 1 EMLNIT 1 to EMLINT4 2 Save_EEP Varl Var2 Var3 Vara 2 Rly129 to Rly132 3 Save_EEP Start top jJ og 3 Rly133 to Rly136 4 Save_EEP G5 G6 4 Rly137 to Rly140 5 Save_EEP Alarm Red2 Red2 5 Note 1 In the above example the label for RLY132 RLY135 RLY136 and RLY140 have been left out and hence will be displayed as blank 2 SAVE_EEP only need to be executed
5. will likely be an old host link command sting it got in the previous communication instead of the expected response Sting thatis a result of the NS command it sent In order to resolve this potential conflict the XServer implements an arbitration scheme which when used propery can allow the PLC to send NS commands while in the midst of Communicating with XServer as a Slave Here is how it works Ethernet XServer User s Manual 1 2 3 4 The PLC should send a STX character ASCII 2 to the XServer to signal to the XServer that it wishes to send a NS command The XServer upon receiving the STX character will complete all curent communication exchanges with the PLC and put new communication exchanges on hold temporanily It will then send an ACK character ASCII 6 to the PLC to signal to the PLC that it is ready to accept the NS command After sending the STX character the PLC should continue to read from its serial input port one byte at a time until it receive an ACK character from the XServer At this point the PLC would have cleared its seral input buffer and having received the ACK character from the XServer it can now proceed to send the NS command to the XServer and use the INPUI command to read the response conectly from the XServer After the XServer completed the NS service request sent by the PLC it will resume execution of suspended communication sessions with other clients Thus the client will not los
6. Ethernet XServer User s Manual To Ethemet Switch 9 to 24V DC CATS cable or Router Power Supply for PLC RJ 45 plug Status LEDs To R amp 232 port of PLC or Auto485 cM Ethemet Socket Figure 1 Connecting Ethemet XServer Introduction The Ethemet XServer provides a low cos and exremely simple way forthe M series PLC to be connected to the TCP IP network of the corporate LAN WAN or the Intemet The XServercan replace a PC running TLServer and provides reliable TCP IP network services to one or more M series PLCs continuously Naturally the TRILOGI programming software and TRi ExcelLink works instantaneously with the XServer allowing remote programming and process monitoring over the LAN or the Intemet In addition the XServer can also host multiple web pages and Java applets so that users of the equipment can control monitor the equipment using their web browser from anywhere in the word Physical Mounting amp Wiring Measuring only 2 75 x 1 5 the extemely compact XServer can be easily installed in any tight comer within the same contol panel that houses the PLCs You need to use 4 PCB standoffs to support the contoller and fasten it to the base plate You can also purchase the optional DIN Rail Adapter kt Part DIN KIFEX which can greatly simplify installation to the DIN rail A Power Supply The Ethemet XServer requires a single 9 to 24V DC power source which may be share
7. button Otherwise click he OK button and the applet will attempt to login to the XServerand connect to the specific PLC of matching ID Once the connection has been established the curent content of the MD LCD display will be shown on the contol panel using sleek green characters on black background You should see the Tx and Rx LEDs blinking on the XServer board when a proper connection has been established This is because the XHMI1 applet periodically every 0 25s polls the PLC for the status of those relays and variables and updates their status and values on the applet s panel A relay bit that is OFF will be shown in dark color and an ON relay bit will be shown in light green or light red color 14 Ethernet XServer User s Manual c Green and Red Buttons Lamps Now when you clickon any green button the applet will toggle the associated relay bit l e if itis already OFF it will be tumed ON and if it is already ON it will be tumed OFF Since the applets monitoring thread refreshes the button periodically a relay bit that is propery tumed ON will become light green and when itis tumed OFF it will be displayed in dark green color The relay bits linked to the 4 red lamps are implemented as read only Hence there will be no effect when you click on any of the red lamps These lamps only reflect the states of the associated relays that are being contolled by the PLC program You can verify the status of these
8. d with the same power supply to the PLC Smply connect the power Ethernet XServer User s Manual supply cable to the two way screw teminals as shown in Figure 1 Check to ensure that the polarity is correct before tuming ON power to the PLC Note that the XServer consumes only about 50mA current 24V DC Connection to the TCP IP Network The XServer has a single 10 100Mbps Fast Ethemet port amp RJ 45 socket which can be connected readily to a network hub switch or router using a standard CATS cable with RJ 45 plug as shown in Figure 1 Note that although RJ 45 isa standard Ethemet connector widely used in office LAN connection it is not designed to withstand very abusive industial envionment Hence care should be taken to house the XServer inside a protective contol panel that minimizes exposure to dust heat moisture or chemical fumes Connection to the Wireless LAN 802 11 or Wi Fi If your premise already has a Wireless LAN in place then you can connect the XServerto your Wireless LAN easily by means of an inexpensive Wireless Ethemet bridge such as the WETL1 made by Linksys All you need to do is to first set up the WET11 to integrate into your Wi Fi network and then just connect a CAB cable between the WET11 and the XServer Ethemet port and your XServer along with your PLCs will instantly become a member of your Corporate LAN Connection to the M series PLCs The XServer has a male DB9 serial port whic
9. e Use the PLC to request the IP address from the XServer If you connect the XServer to a single PLC you can program the PLC to send a special command string lt IP gt to the XServer and the XServer will retum its IP address to the PLC To make your job easier we have created a PC5 file that does just that the GETPADDR PC5 program found on your XServer CD ROM orfrom http www ti pic com trilogi xserver Zip Unzip all the files in the above archive into your PC s samples folderand transfer the GETPADDR PC5 to the PLC use the serial cable and TLServer to do the transfer if you don t already know the XServer IP address Click on the input 1 and the PLC will attempt to query the XServer for its IP address It will display the retumed IP address on the LCD ordisplay an enor message if it is unable to get any response from the XServer Once you have determined the IP address of the XServer you should use the Ping utility in your PC to test the IP address For Windows click Start gt run and then enter PING followed by the IP address do not include the port number E g 8 8 86x Type the name of a program folder document or Internet resource and Windows will open it for you Open ping 192 168 1 123 v Cancel Browse You should receive response such as Reply from 192 168 1 123 time xx ms TL nn which indicates that the XServer is alive and is responding to the Pi
10. e 2 ioixi Obtain IP Address C Automatically DHCP Manual i IP Address 4 4 z 7 Subnet Mask _ e Te Gateway IPAddr m E E SMTP Server j j j Ei DNS Server Default Server Port io Usemame Use Usermame Password Figure 2 Password C Yes C No v Access Level v server s Com Baudrate z Retrieve Parameters from Xserver Save Parameters to XServer Exit Next find the configuration cable which has female DB9 connectors at both end of the cable Connect one end to the XServer and the other end to the PC s COM port Make sure that there is no other program such as the TLServer running on the PC that uses the same COM por Ethernet XServer User s Manual You have to put the XServerin configuration mode before using the utility program to change the configuration You achieve it by tuming ON DIP switch 1 before applying power to the XServer Note the red color CFG status LED will light up when DIP Switch 1 is tumed ON If the XServer power is already on you can also reset it by pressing the RESET button on the board Wait a few seconds until the green status LED RDY is lit The board will then be in configuration mode ready to interact with the XServerConfig program You can now click the Retrieve Parameters from XServer button to retrieve the previously stored parameters If all goes well the program should report that the param
11. e a valid email address it is good to at least use a valid domain name as the sender address otherwise the SMTP server may refuse to send the email because it could deduce that an email with an invalid domain name is likely to be a Spam mail Connect to Remote TLServer or XServer using NETCMD Format lt CONNECT IP address port of TLServer or XServer gt usema me sting password sting XServer reply with lt CONNEC TED gt if successful or ERR if eror encountered host link command 1 XServer send the host link command to remote server and retum the response to the PLC host link command 2 XServer send the host link command to remote server and retum the response to the PLC Description This service allows your PLC to login to another remote TLServer or XServer via the LAN or the Intemet and your PLC can then use the NEICMD command to exchange data with the PLCs that are connected to that remote server You execute this command by firt sending the sting lt CONNECT XK OX XXX XX 9080 gt to the XServer where xxxxXxXx is the IP address of the remote TLServer or XServer Then followed by the usemame and password needed to login to the remote server Once the connection is established the XServer will retum the response sting lt CONNECTEDs gt to the PLC When the PLC receive the lt CONNECTED gt sting it can use the TBASC NETCMD command to read or wite data to the r
12. e communication with the XServer for too long The tesbserver pc5 program in the XServer zip file on your XServer Configuration CD ROM or from hitp www tri plc com trilogi xserver zip includes a few examples of sending NS commands to the XServer All examples call the custom function SENDNSREQ to perform the arbitration with the XServer before they proceed to issue the NS commands Please study the content of the examples to leam the arbitration technique and the network services commands The following sections describe the various Network Service commands available to the PLC a b Get IP Address Format lt P gt Response XXxXXxXXXXNNNN IP address port of XServer if successful ERR description of enon if an enoroccuned Send Email Format lt EMAIL recipient email address gt SENDER senderemail address SUB ECT whatever text sting body of the email line 1 body of the email line 2 10 Ethernet XServer User s Manual Cc Response lt OK gt if successful ERR description of enon if an enoroccuned Description You can command the XServer to send out an email for you at any time XServer uses the SMP server and Gateway IP addresses defined by the XServerConfig program to perfom this task If it encounters any enor it will send back an enor sting which begins with the ERR followed by the reason of the enor Although the sender email address does not have to b
13. emote PLCs as if the remote PLC ison the same local network Multiple NEICMD commands can be executed but 11 Ethernet XServer User s Manual there should not be more than 2 seconds delay between each command This is because If the XServer does not receive any seral sting from the PLC for more than 2 seconds it will terminate the lt CONNECTS gt session automatically Once the command exchange has been completed you ll send a lt gt tag to end the connection gracefully Note similar to local R485 communication the PLC that talks across the network using the lt CONNECT gt service should have a different ID 00 to FF from the target PLC that it is trying to talk to Eg A PLC with ID 01 should not talk to another PLC with ID 01 even though the other PLC is connected to a remote server By changing the ID of one of them you will avoid the problem of a response string from the other PLC being misinterpreted by the sending PLC asan incoming host link command Remote File Services Format lt REMOTE IP Address of remote TLServer 2 1 amp above gt File Service tag for TLServer lt REMOTE gt Response File Service response sent by remote TLServer or ERR description of enon if an enoroccuned Description To overcome the inability of the XServer to provide File services to the PLC the XServer allows the PLC to create files on a remote TLServer and write or append data to it l e via the XServer the PLC ca
14. eters have been successfully retieved from the XServer If you encounter any enor please check to ensure that serial cable is properly connected If you are connecting the XServer to a PC serial port that Is not COM1 you should click on the Serial Setup button ee Figure 2 to select a different COM port before attempting to retrieve the parameters Once the parameters have been retieved you can make changes on any of the fields and the click on the Save Parameters to XServer button to update the changes to the XServer The explanations foreach field are described below a Obtain IP Address Automatically DHCP or Manual When Automatically is selected the IP address will be set as 0 0 0 0 which instucts the XServer to look for a DHCP Server when it is first powered ON to obtain an assigned IP address You have to define a suitable subnet mask that fit your network requirement On most small network router such as those 4 or 8 ports router made by Linksys or Netgear the subnet mask is usually defined to be 255 255 255 0 which allows up to 256 devices to be connected to the router For larger network your System Administrator will be able to provide you with the required subnet mask values For industial applications it is probably more suitable to have a static IP address so that the device can be accessed with certainty By clicking on the Manual Option you can enter the static IP address in the IP Address
15. g PLC program without using any of the XHMI1 variables it should still be pretty staightforward to integrate the contol elements of the XHMI1 applet into your exsting program For example If you want a button on the XHMI1 contol panel to provide parallel contol action to an actual input button then you just need to connect the contact of the associated relay 129 to 136 to that input contact Likewise If you wish to show an exsting alarm condition on the XHMI1 applet panel all you need to do is to use the contact of an output or relay that represent the alarm condition to drive the relay coil i e relay 137 to 140 that is associated with the red lamp If you wish to show the value of a TBASIC variable X on the first numerical text field on the XHMI1 panel then you just need to assign X to EMUNT1 each time its value changes Or you can also do so periodically using a clock pulse E g use a 0 5s clock pulse to execute a custom function that contains the following statement EMUNT1 X If say you have modified a numeric variable EMUNT1 to EMUNT4 and want to notify the PLC program of the update so that the PLC program can respond to it immediately then perhaps the most direct way is to program one of the green buttons to tigger the required Update action in the PLC program Altematively you can set up a clock pulse so that the PLC program can periodically check for changes in the variable EMUNT n and cany out the necessary
16. h can be connected directly to the PLC s RS232 port COMM1 only using a straight DB9 cable You can also use an Auto485 adapter to connect a single XServer to 31 standard M series PLC via RS485 orup to 255 PLCs if the PLCs are fitted with 1 8 power RS485 driver such as the 75HVD3082 Since R485 allows wiring distance of up to 4000 ft you may also use Auto485 so that you can install the XServer at a location closer to the office LAN port that but located further away from the hostile factory floor environment Ethernet XServer User s Manual Note Since the Server s RS232 port does not contol the RTS pin you can only use an Auto tumaround type RS232 to RS485 converter for this purpose such as the Auto485 converter in Auto mode 3 Configuring the XServer s Ethernet and RS232 Ports The XServer s Ethemet Port has been pre configured in the factory to look fora DHCP server that will assign it a dynamic IP Address However in most field installation a static IP address may be mor desirable You can configure the Ethemet and the RS232 ports using the XServer Setup CD ROM included in your XServer Starter Kit First run the Setup exe program in the CD ROM and follow the on screen instructions to install the XServer Setup program in your PC Then click Start gt XServer Configuration Utility and execute the XServerConfig program You should see the configuration screen as shown in Figur
17. ible from the Intemet using the same public IP address of the router but with different port numbers Node Name You can assign a name for this XServer using up to 8 ASCII characters The node name will appear on the routers DHCP Client table for easy identification of each node Username and Password You can use the usemame and password feature to prevent unauthorized access to the XServer It uses the same proprietary encryption scheme used in the TLServer and TRILOGI software to encrypt the password transmission However unlike the TLServer that allows you to define unlimited number of usemame and password the XServer only pemit a single usemame and password and these are limited to a length of 8 characters each Use Username Password yes No In applications where there is no dangerof unauthonzed access to the XServer you can elect not to use the usemame password With the No option selected the TRILOGI client or Java Applet can log in to the XServer using whatever usemame and password since XServer will bypass the usemame and password authentication and allow the client to login Access Level You can define the access level that the TRILOGI client is permitted to operate on the PLC Three access levels are curently defined 1 for Programmer 2 for User and 3 for Guest Please see Intemet TRLOGI Programmers Reference for the definition of the access levels Ethernet XServer User s Manual j XServer
18. is SBC almost no SMTP server will relay emails from client that is not their own subscribers If you do not plan to use the XServer send out emails then you can leave the default SMTP Server IP Address 0 0 0 0 DNS Server IP Address DNS Domain Name Server allows the XServer to contact a remote location by means of domain name instead of IP Address The DNS takes in the given domain name such as yahoo com and retums the IP address of the target server If you use a DHCP router and obtain IP address automatically the router Ethernet XServer User s Manual will usually provide the DNS info automatically However if you define your own IP address then you need to fill in the DNS IP Address only if you are asking XServer to contact a remote server by domain name _instead of by IP Address However currently this feature is not supported on XServerand hence it may be left as the default value of 0 0 0 0 XServer Port No The Port number is a 16 bit integer range O to 65535 that needs to be specified on top of the IP address when accessing the XServer from across the network The default value is 9080 which is the same default value used by the TLServer and TRILOGI client software Please see the TRILOGI programmers manual for an explanation of the use of the portnumber One reason why you may want to change the port number is to use the port forwarding capability of an NAT router so that different XServers may be access
19. n now send their report to any PC running TLServer 2 1 and the PC can be located anywhere in the word All TLServers File and Email Services tags such as lt Email gt lt WRITE gt lt APPEND gt lt READ gt and lt READ RIC gt are available to XServer through the use of the lt REMOTE gt tag You simply have to wap the abovementioned command tags between the lt REMOTE PAddrport and lt REMOTEs tag where IPAddrport is the IP address and listening port of the remote TLServer Eg through the lt READ RIC gt tag the PLC can synchronize its Real Time clock with a remote TLServer Note that only TLServer version 2 1 or above can handle the lt REMOTE gt command tag executed by the XServer Since TLServer 2 1 now also supports lt CONNECT gt tag as perthe XServer you should upgrade your Intemet TRILOGI software if your TLServer is older than version 2 1 so that the same PLC software can work seamlessly with both XServer and TLServer New TRILOGI 5 31 also optimizes some operations that make logging in to XServer faster than previous version Please click Help gt TRILOG Upgrade on the Intemet TRILOGI software to download the latest upgrade from our website 12 Ethernet XServer User s Manual 6 Controlling Your PLC Using Java Applet The XServer is shipped with a default Java Applet XHMI1 htm that allows you to monitor or contol your equipment using your web browser from anywhere in the word Iti
20. ng request from your PC You can now use the IP address port in your Intemet TRILOGI program to perfomm program transfer and online monitoring Important Note The XServer supports up to a maximum of four simultaneous connections from the clients Once 4 connections have been established a new client that attempts to login to the XServer will report a Server not found enor So do remember to close any unused connection so that the XServer can be available to other clients Ethernet XServer User s Manual 5 Using the XServer Network Services NS If you connect only a single PLC to the XServer via RS232 then the PLC will able to send commands to the XServer to instuct it to perform a number of network related functions we shall use the abbreviation Network Services or NS in short to describe them This is similar to the File and Email Sernices that the TLServer provides to the PLCs but there are some differences Through the XServer a PLC is now able to connect remotely to another PLC in another part of the word via the Intemet This allows peerto peer networking or so called M2M machine to machine communication to take place between the PLCs Important Note The NS Services require full duplex connection between the XServer and the PLC via RS232 port only If you intend to use the NS srvices provided by XServer then do not use R485 connection since the half duplex R485 network does
21. once and the stored data are non volatile Hence if you need to save on program space you can execute the SAVE_EEP using a separate program prior to transfering the final working program to the PLC There is a sample TRLOGI program file named defineXHMiLabel pc5 in the XServer zip downloadable from http www tri plc com trilogi xserver zip that shows you how easy it is to customize the legends for XHMI1 applet Write Your Own Java Applet Please vist htto Awww tri pic com appletgui htm to find out more about the procedure and library files involving in witing your own Java Applet to work on TLServer as well as XServer XServer can host up to 6 custom applets including the XHIML applet However the size of each applet plus its host html file must be less than 64K bytes There are special steps involved in transfering a Java applet to the XServer More details will be provided upon request only to experienced J ava programmes after signing of a Non Disclosure Agreement 17
22. re XServer is connected For small local network with no plan for connection to the Intemet the Gateway IP Address is not needed and can be set to 0 0 0 0 But if you plan to use the XServer email capability then you mujst fill in the corect Gateway IP Address Ask your system administrator if you have any questions SMTP Server IP Address The SMTP Smple Mail Transport Protocol Server fields let you define the IP address of the email server that the XServer can use to send out emails based on email service requests it receives from the PLC This is the same SMTP server that your normal email client software such as the MS Outlook uses to send email You can ask your Intemet Service Provider ISP for the IP address of their SMTP server The ISP usually provides the SMTP server in domain name form such as mail socglobal net but you should also be able to request for the numerical IP address of the SMTP server from the ISP You can also use the Unix tool dig or host to resolve the domain name into numerical IP address For Windows users you may be able to search the Intemet fora free host exe tool that let you resolve the IP address from a given domain name one hostexe tool that we found to work was downloaded from http pigtail net LRP dig For example executing the command line host mail socglobal net resolves into 4 IP addresses Any one of them can be used as MPP IP address here provided your ISP
23. relays by using the TRILOGI online monitoring Capability Note that since XServer accepts up to 4 simultaneous connections you can run the TRILOGI client program simultaneously with the XHMI1 applet so changes on one client will be reflected on the other instantly d Numeric Variables EMLINT 1 to EMLINT 4 The four numeric variables are linked to the first four members of the 32 bit integer variable anay EMUNT1 to EMUNT4 Their values are periodically updated by the applet s monitoring thread You can however change their values any time by clicking on the radio button next to the variable Doing so will bring up a numeric keypad that allows you to entera new value as follow C Clear displayed number Ent Enter the number into the variable BackSp delete the nghtmost digit X Close keypad and abort the value Waming Applet Window When you press the Ent key the keypad window will close and the new value will be written into the associated EMUNT n variable in the PLC You should see your newly entered value updated on the numeric text field unless the PLC program changes it on its own If you do not wish to change the curent value then just click the close window button X on the keypad upper right hand comer and the keypad will close but the value will not be written into the PLC 15 Ethernet XServer User s Manual e Integrating the XHMI Element Into Your PLC program If you already have a workin
24. rver If you have defined a static IP address for the XServer then you can immediately open up the Intemet TRILOGI 5 3 program Select Online monitoring from the Contoller menu and enter the IP address and the port number If all goes well the TRILOGI program will be in communication with the PLC and you will see the Tx and Rx LEDs blinking away which indicate a continuous exchanges of command sand responses between the TRILOGI software and the PLC via the XServer You can perform everything that TRLOGI can nomally do with TLServer except loading orsaving files to the XServer If you have configured the XServer to use DHCP server then you will need to determine the IP address that is assigned by the DHCP server before you can use TRILOGI program to communicate with it Here is how a Find out from the DHCP server Most routers employ browser interface that allows you to open a DHCP Client Table to find out the list of IP addresses that the DHCP router has MAC Address RJ45 assigned to the devices connected to it You Ethernet can check the IP address for an assigned Port device that matches the MAC address of Ethernet XServer User s Manual the XServer The MAC address is a unique 48 bit number that each Ethemet device must have The MAC address on the XServer is of the format 00 20 4A XX XX XX which is printed on the body of the XServer s Ethemet connector port as shown in the pictur
25. rver User s Manual a Invoking the XHMI1 htm Applet First please make sure that your browser is enabled to run Java applet You can invoke the default J ava applet simply by typing the following URL into your web browser http xxx xxx xxx xxx xhmil htm Where XX XK XXX XK NO port numben is the IP address of XServer Eg In our system the IP address of XServer is 192 168 1 111 so the URLis http 192 168 1 111 xhmil htm If all goes well the default left panel shown in Figure 3 should appear in your browser Note The XServer uses the well known http port 80 as the listening port for HTP request and not the XServer network port such as 9080 This means unlike the TLServer that there is no need to use the port number when you are loading a web page or applet from the XServer However you will still have to use the XServer port number such as 9080 when you login to the XServer for communication purposes Login to XServer Username Password xi Before you can contol monitor the PLC you have to login to the XSerer by clicking on the Login button A login dialog box wil appear and you ll have to login using the usemame password and port number defined by the XServerC onfig program discussed earlier You ll also need to specify the ID of the PLC that this panel is supposed to contol Warming Applet Window If you want to abort the network connection of this applet click the Cancel
26. s a simple contol panel comprises of 8 Green push buttons with lamps 4 Red display only lamps 4 numerical data fields that accept user input via keypad and a view of what s currently displayed on the MD LCD Although it is a simple panel it is designed to be flexible so that it can be applicable in many different applications Best of all you can customize the legends e g the label name of each button on the panel without even writing a single line of J ava code Forexample the follow figure shows the default left and customized right look of the same panel Ea m ED Greeni Red 3 a Green4 Red4 Default Panel Customized Panel Figure 3 The topmost line is usually meant to display either the company name or the equipment name The label names for every button and the 4 numeric variables are also customizable up to 8 characters each The legends on the default panel show you how each button or text field is associated to the PLC s intemal variables The eight green buttons are linked to the PLC s Relay 129 to 136 The 4 red lamps ar linked to Relay 137 to 140 The 4 numerical variables are linked to EMUNT1 to EMUNT4 Note that these associations are fixed on this applet and cannot be changed by the user We shall leave the discussion on customization of the legends to the next section In this section we will explain how to use the default Applet contol panel 13 Ethernet XSe
Download Pdf Manuals
Related Search
Related Contents
9 critères pour mieux vendre vos produits aux entreprises Chapitre 6 Impression de rapports ECG SCS10001 Philips SMARTSPOT Recessed spot light 59563/11/16 World Health Organization Regional Office for Europe i3 International AX41B1MVR manuel d`utilisation - Sécurité sociale.be Copyright © All rights reserved.
Failed to retrieve file