question

Claire Krupp avatar image
0 Likes"
Claire Krupp asked Patrick Cloutier commented

Display error for Forklift load in version 23.0.1

I have a model of a storage system that I built in 2021, which has a very simple (3D controlled) forklift move at the end.

I recently pulled the model up to make some updates and converted it to version 23.0.1

The forklift picks up the pallet and now displays it in mid-air as it carries it:

1675283136438.png


This was not happening before, and the changes I made were not with the forklift movements.

Is there some parameter change that I need to update? (I know how to change the pallet position manually, but it should not be needed.)

I am not posting the model since it is confidential, but I can send it to the dev team if you need it.

Thanks

FlexSim 23.0.1
displayforklift load
1675283136438.png (68.8 KiB)
· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Claire Krupp avatar image Claire Krupp commented ·
The movement of the forklift seems "off" too. It seems to skid sideways during changes of direction. I have not noticed that before.

(Using Network Nodes for navigation)

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hello @Claire Krupp,

I created a model in 2021 that has a fork lift transferring a filled pallet. The task sequence for loading, traveling, and unloading is sent to the forklift by a Centerport connection to the queue. When I upgraded it to 23.0.2 I did not see the issue you are. Is there anything else that might be a significant difference about your model that I could test to see if it is causing the issue? If not, then we will need your model emailed into the Dev team.

Pallet_2021_2.fsm

0 Likes 0 ·
pallet-2021-2.fsm (30.4 KiB)
Claire Krupp avatar image Claire Krupp Jeanette F ♦♦ commented ·
Hi @Jeanette F I used a CenterPort connection too, with a simple A-connect from the pickup queue to the drop off queue. So, nothing unusual that would explain the difference.

I thought the problem was related to the updates I was doing in Process Flow, but there's no overlap in control. The PF places the pallet in the pickup queue, and the 3D control takes over from there.

I also had the problem when I went back to the original model, upgraded to 23.0.1 and made no changes.

I can send the model to the dev team. It's [email protected], correct?

0 Likes 0 ·
Arun Kr avatar image Arun Kr Claire Krupp commented ·

Hi @Claire Krupp ,

Try this, update the model to the 2022 version and then update to 2023. It may work.

Regards,

Arun KR

0 Likes 0 ·
Show more comments

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Patrick Cloutier commented

The Transporter's 23.0 model update script didn't account for model units.

You can fix it by running this script:

forobjecttreeunder(model()){
  treenode obj = a;
  if (isclasstype(obj,"Transporter")) {
    treenode usedefaultzoffset = obj.find(">variables/forkinitialheight/usedefaultzoffset");
    if (get(usedefaultzoffset)) {
      Object Forks = obj.find(">visual/drawsurrogate/Truck/Forks");
      Object DrawContents = Forks.find("/DrawContents");
      DrawContents.location.x = -Forks.location.x;
      DrawContents.location.y = -Forks.location.y;
    }
  }
}
· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Claire Krupp avatar image Claire Krupp commented ·
Thanks @Phil BoBo I will try that.
0 Likes 0 ·
Claire Krupp avatar image Claire Krupp commented ·
It worked! Thanks!
0 Likes 0 ·
Patrick Cloutier avatar image Patrick Cloutier commented ·
Where do I place this script?

I tried to run it in the Script Console and it doesn't fix the problem.

Also tried in the Model Trigger on Run Start and same result.

0 Likes 0 ·
Claire Krupp avatar image Claire Krupp Patrick Cloutier commented ·
@Patrick Cloutier I put it in the Script console. Suggest you tag @Phil BoBo for more info.
0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Patrick Cloutier commented ·
If running that script in the Script window didn't solve your problem, then your problem isn't the same as this question, and you should post your own question with more details instead of posting a comment on this already-answered question.
0 Likes 0 ·
Patrick Cloutier avatar image Patrick Cloutier Phil BoBo ♦♦ commented ·

I did (see link below) but Jason pointed me to this post to solve my problem which it doesn't.

https://answers.flexsim.com/questions/136795/transporter-load-no-longer-in-correct-position.html

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.