Article: KB-11119
Fix:
Crane addUpdateDeviceMove() failed error.
Skill required to complete this article: Software ~ WCS and level is Intermediate.

Overview
 

1.            Summary / Overview / Purpose

Customer reports that a crane is not performing any moves, SM UI has moves but none are scheduled, and/or a crane is not showing any status' in SMUI. 

2.            Requirements

Baretail Logging experience and Intermediate SQL experience.

3.            Procedure / Body

Example: Customer is reporting that a crane is not moving and does not see any Crane Status in SM UI.

 

First go to the SM UI and locate the load handler screen for the crane or shuttle not performing any moves (check to see if there are actual moves that are queued)

Below we can see that there are moves for Crane04 but they are not scheduled and the crane is reportedly doing nothing:

 

FauIrs • CRANE04 Faults - ?????4 22465215 -pos'tion ??».?? - ??????4 ??? ??] Sdw•duled McneS

 

Next go to the RemoteObjectServer log file and see if there is any addUpdateDeviceMove exceptions in the log file:

 

Machine generated alternative text:

 

As we can see above that there is a nonstop feed of ‘addUpdateDeviceMove() failed’ logging.

 

Next, check to see if there is any exception noting a ‘duplicate device move’ similar to the example below:

“Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of UNIQUE KEY constraint 'AK_DeviceMove'. Cannot insert duplicate key in object 'dbo.DeviceMove'. The duplicate key value is (228, 1, 1, 0, <NULL>).

 

Noting this exception and the device number, we can check the DB to see what moves are on this device using the SMDBA:

select * from devicemove where DeviceId = '228'

On this table, we will be able to see if there is a specific move that has not received a DeleteFlag:

Machine generated alternative text:

 

If there is a deleteflag that is ‘null’ and the created date is near the time the crane has started not moving; we will need to update the deleteflag for this specific moveID.

 

Using this DB script:

 

update DeviceMove set DeleteFlag = getdate() where id = 3589226

 

‘id’ will be replaced with the 1st column of the specific move that has not received a deleteflag date.

 

Move ID located here in ‘DeviceMove’ table:

 

i

 

Once that DeleteFlag is successfully updated, monitor the specific crane for any movement. This will allow the crane to accept the next task. 

4.            Recovery or Back out procedure

  N/A

5.            Supporting external documentation

  N/A 

6.            Additional publication information

   N/A

 

DISCLAIMER:

Information in this document is subject to change without notice and does not represent a commitment on the part of Intelligrated. This information is typical of the questions and general advice given; however, your particular case and circumstances may produce different results or require different recommendations. Therefore, use of this information is not a suitable replacement for contacting Intelligrated Technical Service engineering for specific recommendations and solutions to your application.

 

No part of this article may be reproduced or transmitted in any form or by any means including recording, or information storage and retrieval systems, for any purpose without the express written permission of Intelligrated. All information contained within the article is private and confidential and the sole property of Intelligrated.

 

In no event, shall Intelligrated be liable for any damages whatsoever including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss, even if Intelligrated has been advised of the possibility of such damages. Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you.

 Related Articles
No Related Articles Available.
 Help us improve this article...
What did you think of this article?
poor   excellent
Your Email:
Tell us why you rated the content this way. (optional)
RadEditor - HTML WYSIWYG Editor. MS Word-like content editing experience thanks to a rich set of formatting tools, dropdowns, dialogs, system modules and built-in spell-check.
RadEditor's components - toolbar, content area, modes and modules
   
Toolbar's wrapper 
 
Content area wrapper
RadEditor's bottom area: Design, Html and Preview modes, Statistics module and resize handle.
It contains RadEditor's Modes/views (HTML, Design and Preview), Statistics and Resizer
Editor Mode buttonsStatistics moduleEditor resizer
 
 
RadEditor's Modules - special tools used to provide extra information such as Tag Inspector, Real Time HTML Viewer, Tag Properties and other.
   

 Comments...
No user comments available for this article.
Published on 8/23/2021.
Last Modified on 8/23/2021.
Last Modified by Vince Augustine.
Article has been viewed 430 times.
Rated out 6 of 10 based on 1 votes.
Print Article Print Article
Print Article Email Article