ROC Plus Communication Driver for JMobile This document contains the information needed to connect the panel to control devices using the Emerson ROC Plus communication protocol over a serial or Ethernet link. Exor International S.p.A ptn0467 Ver. 1.01
Copyright 2015 Exor International S.p.A. Verona, Italy Subject to change without notice The information contained in this document is provided for informational purposes only. While efforts were made to verify the accuracy of the information contained in this documentation, it is provided as is without warranty of any kind. Third-party brands and names are the property of their respective owners. www.exorint.net ROC Plus Communication Driver for JMobile 2
Contents ROC Plus Communication Driver... 4 Protocol Editor Settings... 5 Tag Import... 8 Communication Status... 10 ROC Plus Communication Driver for JMobile 3
ROC Plus Communication Driver The HMI device can be connected to a ROC Plus network as the network master using this communication driver. Communication with the ROC800 controllers is over an Ethernet or serial link. Please note that changes in the controller protocol or hardware, which may interfere with the functionality of this driver, may have occurred since this documentation was created. Therefore, always test and verify the functionality of the application. To accommodate developments in the controller protocol and hardware, drivers are continuously updated. Accordingly, always ensure that the latest driver is used in the application. Document code ptn0467 Version 1.01 ROC Plus Communication Driver for JMobile 4
Protocol Editor Settings Tech-note Add (+) a driver in the Protocol editor and select the protocol called ROC Plus from the list of available protocols. The driver configuration dialog is shown in figure. Figure 1 Media TCP/IP Address TCP/IP Port Specify if the HMI is connected to the controller via serial communication link or Ethernet (TCP/IP) Ethernet IP address of the controller Port number used by the ROC plus driver; the default value can be changed when the communication goes through routers or Internet gateways where the default port number is already in use Panel Address Indicates the address of the HMI, this must be a unique number. 0 represents broadcast within group and 240 is the direct connect address. Panel Group Indicates the group code for the station address. This is userconfigurable and usually set to 2. ROC Plus Communication Driver for JMobile 5
Controller Address Controller Group Operator ID Password Access Level Timeout(ms) PLC Models PLC Network Comm Indicates the address of the controller, this must be unique Indicates the group code for the station address. This is userconfigurable and usually set to 2. Sets operator identification code for the communications port through which communications are occurring. The operator identification is logged with an event, indicating the operator responsible for creating the event. A numerical value that is used as a password for the Operator Identifier A value that is used to limit access to parameters. Defines the time inserted by the protocol between two retries of the same message in case of missing response from the server device. Value is expressed in milliseconds. The driver supports the communication with a number of different Emerson controllers. Please check directly in the programming IDE software for a complete list of supported controllers. The protocol allows the connection of multiple controllers to one HMI device. To set-up multiple connections, check PLC network checkbox and create your network using the command Add per each slave device you need to include in the network. Click on this button to configure the serial port on the panel to be used Figure 2 Port On UN20: com1 is the HMI port labeled PLC, com2 is the HMI port labeled PC/Printer ROC Plus Communication Driver for JMobile 6
On UN31 or UN30: com1 is the integrated serial port, com2 is an add-on module plugged in Slot#1 or #2 com3 is an add-on module plugged in Slot#3 or #4 Baudrate, Parity, Data bits, Stop bits Mode Communication parameters for the serial line. Serial port mode; options are: RS-232, RS-485 (2 wires) RS-422 (4 wires) ROC Plus Communication Driver for JMobile 7
Tag Import The ROC Plus driver, support the generic import of tags when provided in XML. Import procedure is described. make a copy of saved configuration file.800 and rename as.mdb open the.mdb using Microsoft Access export the table "tconfigdata" to a XML file choosing XML format Figure 3 In the tag editor select the driver and click on the Import tag button to start the importer. ROC Plus Communication Driver for JMobile 8
Figure 4 Locate the.xml file and confirm. The tags present in the exported document are listed in the tag dictionary from where they can be directly added to the project using the add tags button as shown in figure. Figure 5 ROC Plus Communication Driver for JMobile 9
Communication Status Tech-note The current communication status can be displayed using the dedicated system variables. Please refer to the User Manual for further information about available system variables and their use. The codes supported for this communication driver are: Error Notes No response Returned when a request is not replied within the specified timeout period; ensure the controller is connected and properly configured to get network access Not expected response TLP The panel did receive from the controller a response with invalid Type Logical Parameter Can't find the TLP location The panel can t get the physical location of the type or the logical number in the ROC800 Not expected number of items Controller did not accept write request; ensure the data programmed in the project are consistent with the controller resources Wrong datagram data length The panel did receive from controller a response frame contains wrong data length PLC is in the firmware update Firmware Update Mode Extremely limited functionality is mode available. Not expected response length The panel did receive from the controller a response with invalid message length Can't read port security mode Security Access Mode for the port the request was not received Can't read compatibility mode Logical Compatibility Mode was not received Can't get IO point types The ROC Plus database is broken into individual parameters. Each database parameter is uniquely associated by parameter number and point The panel did not receive the requested Point Type Can't send the request The panel cannot sent any request to the controller Not expected response group/unit The panel did receive from the controller a response with invalid Group/Unit Not expected opcode in the The panel did receive from the controller a response contains an response unexpected operation code action to perform. Invalid format received The panel did receive from the controller a response, but its format or its contents or its length is not as expected; ensure the data programmed in the project are consistent with the controller resources. Message checksum error The panel did receive from the controller a response contains an invalid checksum ROC Plus Communication Driver for JMobile 10