background image

Klinkmann Automation Omron Ethernet DAServer 

60 

 
 

Omron Ethernet DAServer Ver 1.x User Manual Rev 1.4                                                                 17014m14  

Server-Specific Error Codes  

There are following server-specific error codes, shown in the table, that augment those 
provided by the DAS Toolkit.  
 
Error code 

Logger Message 

Log Flag 

-10002 

PLC timeout 

DASProtFail 

 

-10003 

No Eth. Socket  created  DASProtFail 

 

-10004 

PLC Fatal Error(*) 

DASProtFail 

 

 
Note: Error code can be monitored in client application as Item’s $SYS$ErrorCode 
value, correspondingly Logger Message can be monitored as Item’s $SYS$ErrorText 
value. 
 
(*) Fatal Error is set, if one of the following occasions permanently take place: 

-

 

mismatch of command codes in DAServer request and PLC’s response messages, 

-

 

controller response contains response error code with either Relay Error Flag (bit 

#7 in response’s MRC) set to ON, or PC Fatal Error Flag (bit #7 in response’s SRC) set to 
ON. 
 

FINS Response Codes  

Additionally, there are FINS command response codes (Main response code MRC and 
Subcode SRC), generated by OMRON controllers, useful for communication 
troubleshooting. The following is example of error logging created by Omron Ethernet 
DAServer: 
 
FINSSocket1.CV500: FINS command 0101 failed (error code 1101). Parameter error: 
an incorrect memory area or unavailable expansion mem. area has been used. 
 
In above example FINS command response code (1101) is to be interpreted as following: 
MRC is 11 hex, SRC – 01 hex. 
 
The accompanying table shows response codes, the server-specific strings generated by 
the DAServer to the logger, as well as recommended remedies. (Suggestions usually 
deals with configuring of OMRON PLC and/or FA network, yet several errors could be 
caused by Omron Ethernet DAServer configuration errors).  
 

Main Code 
(Hex)

 

Sub-
code 
(Hex)

 

Probable Cause

 

Remedy

 

Log Flag

 

00  

00  

Normal completion  

-  

00  

01  

Service was 
interrupted.  

Check transmission 
area.  

DASProtWarn  

01: Local 
node error 

01  

Local node not part of 
network. 

Add to network.  

DASProtFail  

 

02  

Token time-out, node 

Set the local node’s 

DASProtFail 

Summary of Contents for DR 170 14

Page 1: ...OMRON ETHERNET Direct DAServer User s Guide Ver 1 x Rev 1 4 DR 170 14 KLINKMANN AUTOMATION P O Box 38 FIN 00371 Helsinki Finland tel int 358 9 5404940 fax int 358 9 5413541 www klinkmann com...

Page 2: ...the DAServer Manager 21 Enabling Software License Key for DASOmronEth 26 Configuring Device Group Definitions 27 Configuring Device Item Definitions 31 Hot Configuration 33 Item Names 35 Item Name Gen...

Page 3: ...rganized in the following fashion Contents Introduction contains overview information about the OMRON Ethernet Direct DAServer and the environment in which it works Configuration contains a detailed d...

Page 4: ...System through SYSMAC LINK network or any other OMRON FA network through PC Gateway an OMRON Controller which has multiple Communications Units mounted including the Ethernet Unit and therefore that b...

Page 5: ...lication developers to write custom drivers to exchange data with field devices OPC defines a common high performance interface that permits this work to be done once and then easily reused by HMI SCA...

Page 6: ...e standard DDE functionality to include communications over local area networks and through serial ports Network extensions are available to allow DDE links between applications running on different c...

Page 7: ...If not specified from the client the default device group using the global configuration attribute values from the DAServer is assumed Functionally a device group is equivalent to an access path opti...

Page 8: ...he OMRON Ethernet Direct DAServer with all features enabled for 60 minutes To use OMRON Ethernet Direct DAServer in unlimited mode the HASP key or Software License Key is needed The HASP key is the US...

Page 9: ...e Commandline Installation can be obtained from Klinkmann software downloads page http www klinkmann com automation klinkmann software products communication software products prices and it is located...

Page 10: ...used as nodes on Ethernet network The C200HX C200HG C200HE PLCs must be supplied with communication module C200HW PCS01 EV1 Ethernet Set or C200HW PCU01 PC Card Unit supplied with the Ethernet PC Car...

Page 11: ...ddress table Start CX Programmer from Start menu Start CX Programmer CX Programmer Create new project option New in CX Programmer s system menu The Change PLC dialog box appears Enter PLC s name in th...

Page 12: ...tly configured in the PLC the Auto Online feature can be useful from CX Programmer s main menu select PLC Auto Online Auto Online and CX Programmer will search for all possible settings until the prop...

Page 13: ...ernet DAServer Ver 1 x User Manual Rev 1 4 17014m14 When IO Table is received display the slot list under Main Rack press button in the PLC IO Table NewPLC1 dialog box Select Ethernet Unit ET 0 and pr...

Page 14: ...Klinkmann Automation Omron Ethernet DAServer 12 Omron Ethernet DAServer Ver 1 x User Manual Rev 1 4 17014m14 Click Unit Setup The Ethernet Unit CPU Bus Unit dialog box appears...

Page 15: ...ddress dialog box appears Enter the Node Number in example 55 matching to the last octet in IP Address of computer where Omron Ethernet DAServer is running Enter the IP Address of computer where Omron...

Page 16: ...e Communication Port Enabled Flag for port 7 is ON the send execution program will start when the execution condition flag CIO 000000 turns ON Input CIO 120000 remains ON from the start of SEND execut...

Page 17: ...ffect configure SEND 090 instruction so that source area matches to destination area In example source data must start at D500 if data are sent to D500 onwards 3 Reset the Input creation 4 Turn ON err...

Page 18: ...Klinkmann Automation Omron Ethernet DAServer 16 Omron Ethernet DAServer Ver 1 x User Manual Rev 1 4 17014m14...

Page 19: ...ted Quickly with the DAServer Configuring the DAServer Configuring Device Group Definitions Configuring Device Item Definitions Hot Configuration Getting Started Quickly with the DAServer This section...

Page 20: ...Device Groups tabbed page with each of the Controller objects Desired device items can also be optionally created under the Device Items tabbed page with each of the Controller objects Note The hiera...

Page 21: ...se commands please see Help by right clicking the System Management Console icon To prepare the Omron Ethernet DAServer 1 Install the KLINKMANN Omron Ethernet DAServer on Windows by running the Setup...

Page 22: ...nEth hierarchy build has been completed you can start configuring the respective devices for communications 9 You may create the desired Device Groups for each controller by Navigating to the object o...

Page 23: ...archical structure of your network PLC environment The server specific configuration portion of the DASOmronEth hierarchy tree under the DAServer Manager starts at the SOCKET object 1 Configure the SO...

Page 24: ...N Controllers send responses to Port number configured in PLC even if request is received from different Port Note The default port number is 9600 From the SOCKET branch of the DAServer hierarchy the...

Page 25: ...on of Ethernet Unit s IP address is not used IP Address Table is used then Controller Node Address must be equal with the Node number configured in the Ethernet Unit s IP Address Table Enter Controlle...

Page 26: ...lay is 0 milliseconds then Server tries to execute all steps as fast as Omron network can do it with no pauses between processing steps It can put the selected PLC into hard timing conditions If unsuc...

Page 27: ...time the PLC program must periodically check the current value in this memory address If value is equal to Watchdog s predefined value then PLC s program considers communication Status as Good and re...

Page 28: ...for Klinkmann Omron Ethernet Direct DAServer DASOmronEth differs from usual sequence used for other Klinkmann software it is caused by reason the DASOmronEth configuration is done via Wonderware Syste...

Page 29: ...nse now is enabled Configuring Device Group Definitions The Device Groups tab in the DAServer Manager user interface is used to create a new device group or modify or delete existing device group defi...

Page 30: ...mmand from the shortcut menu When you add a new device group enter a unique name To make edits on device groups Make edits on a device group name or update interval for an object as follows In the Nam...

Page 31: ...ged in the user client application With this option the data update rate is low if application changes values very frequently but sequence of value changes are guaranteed If Last Msg Multiple Write op...

Page 32: ...mn and make the edit Update Interval is the frequency in milliseconds that the DAServer acquires data from the topics associated with that device group Different topics can be polled at different rate...

Page 33: ...igurations for different purposes To archive configuration sets 1 In the DAServer Manager right click on the Configuration node in the hierarchy below your DAServer 2 Select Archive Configuration Set...

Page 34: ...ames linked to the created aliases are defined in this column For example for Data Memory Area D100 the following entries can be created Name Item Reference D100_Unsigned D100 D100_Signed D100S Note W...

Page 35: ...rom the shortcut menu All the device items listed in the dialog box including their corresponding actual PLC item names will be deleted To export device items When you have a list of device items that...

Page 36: ...hout affecting any other device nodes excluding the children of the modified device nodes Adding deleting or modifying device groups Limited support is provided for the hot configuration for the serve...

Page 37: ...e described as Pn PhS where n specifies the Memory area word bit address of the specific word flag or bit or lowest numbered address of ASCII string b bb specifies the bit number in word b can be 0 9...

Page 38: ...tted as either IEEE 3 402823 1038 to 3 402823 10 38 or BCD 0 0000001 10 7 to 0 9999999 10 7 To read write an item in IEEE floating point format append one of the following letters to the item name F o...

Page 39: ...10 41 42 AB DM11 43 44 CD DM12 45 46 EF Read DM10 DM12C returns ABCDEF DM10 DM11D returns AC DM10 DM12E returns BDF Write DM10 DM12C after written with ABCD MSB LSB DM10 54 65 AB DM11 73 74 CD DM12 0...

Page 40: ...Auxiliary Area Bit status A Discrete A0 00 A959 15 0 1 Auxiliary Area Word contents A Integer A0 A959 u s b f g l m d e c Data Memory DM Area Bit status D Discrete D0 00 D32767 15 0 1 Data Memory DM...

Page 41: ...rent bank only Memory Area code 98 in Hex Extended memory bank 0 to bank C in Hex up to 13 banks supported depending on CPU type The prefix Ez can be one of the following EA EB EC ED EE EF EG EH EI EJ...

Page 42: ...eger AR0 AR27 u s b f g l m d e c Timer Counter Area Completion Flag TC Discrete TC0 TC511 0 1 Timer Counter Area PV PV Integer PV0 PV511 u s b f g l m d e c Data Memory Area Bit status DM Discrete DM...

Page 43: ...rete CIO0 00 CIO2555 15 or 0 00 2555 15 0 1 Input Output register area CIO Word contents CIO Integer CIO0 CIO2555 or 0 2555 u s b f g l m d e c Bus Link Area G Bit status G Discrete G0 00 G255 15 0 1...

Page 44: ...EC Integer EC0 EC32765 u s b f g l m d e c Expansion area D Bit status ED Discrete ED0 00 ED32765 15 0 1 Expansion area D Word contents ED Integer ED0 ED32765 u s b f g l m d e c Expansion area E Bit...

Page 45: ...or Integer items Transition Area TN and Step Area Flag status area ST are not supported on CVM1 PLCs Represented memory area ranges are for CV1000 CV2000 and CVM1 CPU11 E type controllers For models C...

Page 46: ...pletion flags for Timers Counters TC Discrete TC0 TC511 0 1 Present Values for Timers Counters PV Integer PV0 PV511 u s b f g l m d e c Data Memory area Bit status DM Discrete DM0 0 DM9999 15 0 1 Data...

Page 47: ...Discrete DM0 0 DM6655 15 0 1 Data Memory area Word contents DM Integer DM0 DM6655 u s b f g l m d e c Item point names corresponding to IR and SR areas may be without prefix Value range for unsigned i...

Page 48: ...te TC0 TC511 0 1 Present Values for Timers Counters PV Integer PV0 PV511 u s b f g l m d e c DM area Bit status DM Discrete DM0 0 DM6655 15 0 1 DM area Word contents DM Integer DM0 DM6655 u s b f g l...

Page 49: ...the same protocol update rate Example To check the status of an external device the reference might be DASOmronEth Socket1 SYS Status Note This syntax does not refer to the access path device group As...

Page 50: ...rver Global System Item SYS Licensed is not relevant DAServer Device Specific System Items The following system items refer to specific information regarding the device s the DAServer is connected to...

Page 51: ...error code SYS StoreSettings Integer ReadWrite Used to make the temporary update interval changes via the SYS UpdateInterval item permanent If the client pokes a value of 1 into this system item the c...

Page 52: ...currently measured maximum update interval in milliseconds of all items of the corresponding device group This item is read only The value of the slowest item is displayed RANGE 0 2147483647 0 If upda...

Page 53: ...all values have been read 1 All values have been read but some have a non good quality SYS ItemCount DWord Read Used to access the number of items in the corresponding device group This item is read o...

Page 54: ...tax can be as follows AREA10 VESSEL1 TIC1 PLC D100 where each component delimited by a period represents a branch or leaf of the field device s hierarchy In this example PLC is the name of the target...

Page 55: ...atus of DAS Conversations Error Messages and Codes Monitoring Connectivity Status with the PLC The built in discrete item SYS Status can be used to monitor the status of communications with the PLC Th...

Page 56: ...tems DDEStatus and IOStatus are set to 0 zero when this DAS conversation failed 1 one when this DAS conversation is successful Using DDEStatus and IOStatus in Excel The status of communications betwee...

Page 57: ...lication name the executable name less the exe Assigns the number of that opened channel to channel Note By using the channel INITIATE statement the word channel must be used in the POKE statement ins...

Page 58: ...OCKET SockName Enter correct Host Name or IP Address Error Socket_ ControllerName Invalid PLC s IPAddress WrongIPAddress Windows Sockets API functions do not accept Controller IP Address value Configu...

Page 59: ...HASP key into parallel or USB port or restart Server after 1 hour demo expires DASProtWarn HASP key not found DAServer does not find valid HASP key installed If demo mode has been started the Server...

Page 60: ...ASProtFail Socket_ ControllerName Write message for Item ItemName Pointer to Item_Class_Obj was not created max allowed message s length Max_Length is not sufficient Length of write message for Item o...

Page 61: ...9999 Take into account when creating client application DASProtWarn Socket_ ControllerName Item Pointer to Item_Class_Obj ItemName read illegal BCD Floating Point value WrongValue hex returning 0 0 Da...

Page 62: ...Codes Additionally there are FINS command response codes Main response code MRC and Subcode SRC generated by OMRON controllers useful for communication troubleshooting The following is example of erro...

Page 63: ...uter table DASProtFail 02 No node with the specified unit address Check the remote node s unit address and make sure the correct one is being used in the control data DASProtFail 05 Message packet was...

Page 64: ...outing tables correctly DASProtFail 04 The maximum number of relay nodes 2 was exceeded in the command Redesign the network to reduce number of relay nodes DASProtFail 10 Command format error 01 The c...

Page 65: ...tatus flag in PC memory to be sure that socket service has finished before starting services again Error deals with Ethernet communication programming in PLC s user program DASProtFail 10 The specifie...

Page 66: ...mmand 0A An error occured during CPU Bus Unit data transfer Check the Units and cable connection and issue the ERROR CLEAR command DASProtFail Note Refer to FINS Command s manual if face FINS error co...

Page 67: ...f utilities supplied with the DAServer It provides the necessary user interface for diagnostics configuration and activation Client Plug ins These are the components that are added to a DAServer to en...

Page 68: ...a protocol translation function for device integration clients Typical Plug ins communicate in DDE SuiteLink or OPC protocol and serve as interfaces between their clients and the DAS Engine Note Item...

Page 69: ...fixes do not require relinking nor re QA of associated components Even new Plug ins for example OPC Alarm Events would not require any development changes to the other components and therefore no reli...

Page 70: ...5 Rev 1 1 Computer Node Address removed from CONTROLLER Object parameters configuration Oct 2007 Rev 1 2 Gateway Count GCT field added into CONTROLLER Object parameters configuration May 2009 Rev 1 3...

Reviews: