News:

SMF - Just Installed!

Main Menu

Adding New Objects & Encoders to Easy PLC

Started by james.pierrot, May 15, 2023, 12:47:49 PM

Previous topic - Next topic

james.pierrot

I have a new project where I need to add a new object to be replicated onto the conveyor via the makeworkcreator, I also have a need to add an encoder to my project conveyor. I've seen the conveyor encoder project, but still do not know how to add these functions to mymachine project.

Thank you

james.pierrot

Quote from: james.pierrot on May 15, 2023, 12:47:49 PMI have a new project where I need to add a new object to be replicated onto the conveyor via the makeworkcreator, I also have a need to add an encoder to my project conveyor. I've seen the conveyor encoder project, but still do not know how to add these functions to mymachine project.

Thank you

EasyPLC_Master

Encoders can not be added, if you need to use an encoder, you must use the ConveyorBelt that includes an encoder to control position.

Regarding to add new object, I suppose you mean a 3D model, correct? 3D models can be imported into MS, you must use a 3D model in .obj format, then following the instructions explained in the MS manual (Annex section) you can assing the 3D model to the following component types: Static, Dynamic, 3D Model and WorkParts.
Here you can see an example:

james.pierrot

yes I am trying to add a new package that my company produces. I'll watch the video now ... sorry I couldn't find any of these before now.

Thank you

james.pierrot

I'm having a problem, when I configure the ladder after importing the machine profile, the ladder logix is not connecting with the machine when I open the machine file. I can't figure it out, any solutions as to why my ladder logix is not connecting to my mymachine?

THank you in advance

EasyPLC_Master

James, to help you is necessary you provide more information, with what system are you making the connection, Siemens, Allan Bradley, Codesys,...? What drivers are you using?

james.pierrot

I created the coveyor in the machine sim using the edit feature. In my logix Im using the MachineSimulator3 driver. I am trying to create a simulation project without connecting to an Rockwell or Siemens product. Trying to use the built in simulator for this project.

thank you,

James

james.pierrot

I used the Machine Simulator, selected the factory 1 editor. I created the coveyor system I wanted to use and tested it successfully using the start animation. I then created a new project and imported the My Machine Ontop2 file successfully. I created a main routine and downloaded it successfully to the virtual cpu, when I go back to the created conveyor there is not plc or plc functions at the bottom of the page. I can manual use the IO functions and they work, I'm just not able to attach the ladder logix I created to the virual machine. I'm missing a driver step here I'm unable to set up. How do I build a conveyor in the Factory editor and then connect it to the ladder logix I created in the easy plc. I'm not using a Rockwell or Siemans PLC, I'm trying to use this inside the virual cpu with the machine3 driver, what am I don't wrong?

THank you

EasyPLC_Master

The editor is used to create the machines, in the editor there is no connection to the PLCs. If you want to connect with PLC systems, you must start the simulation from the Machines Menu on the Machine Simulator start menu screen, once you select the desired machine press the start button to start the simulation.
This is explained step by step in the Machine Simulator Quick Guide available on the Machine Simulator main screen (see attached pict)

james.pierrot

Rafael, I went to access and to reinstall the easy plc software on to my computer after it was rebooted for a windows issue. I get a message that I no longer have access to those files when I go to install the easy plc suite, can you provide the help I need to get this fixed?

I did read the document you pointed too and am now able to connect my conveyor to my logix, now I just have to get my software reloaded and my thumb drive fixed.

Thank you,

EasyPLC_Master

I will contact you to solve the problem.

james.pierrot

Thank you for the assistance today, as it turns out the usb stick works fine when I plugged it into another computer, apparently the windows glitch I suffered screwed up my access privilages to my usb port. I'll have to have IT fix that.

One last thing and I'm good to go, how do I create a new workpart to come out of the creator. Is there a file location where I can get items that are not in the file set that I received?

Again, thank you

Jim

EasyPLC_Master

NO, you have to place any workpart in the machine you're creating, then add a WorkPartCreator.
Then assign a PLC digital input or output to the WorkPart creator and when active, will create a new WorkPart.

james.pierrot

I have Four seperator conveyors in a line, can I write directly to the control panels of eacy conveyor and start stop them and change speeds individually. Right now they all start at the same time when I start the initial conveyor?

Thank you

EasyPLC_Master

Yes, of course, you should assign it different I/O addresses.