Hallo,
LECN Product Page
in our student lab we want to realize an automatic production in a model smartfactory. The students should plan a production based on simulated customer orders and the manufacturing of the products will be running on a real production line with robots, which are PLC controlled.
The smartfactory with the robots is working, that’s simple engineering stuff we are doing every day, BUT …
I assume the usage of the REST interface with views, models and actions to us is not very clear, as we are not from business informatics, but more in hardcore programming of PLCs and microprocessors and realtime automation systems.
I think the same way we could also automatize material orders and deliveries to the model storage places, if we would like to …
To make this more widely available, we could think about a learning environment built in factory-i/o, a great tool for learning PLC programming, what could be controlled by AXELOR as well.
Thanks for some hints,
Jürgen
Hello,
after 24h, I’m sorry to not see an answer from Axelor team.
I think Axelor is good for your case.
Your post is to large for a precise answer from the community.
And I’m not competent for the manufacturing part (my company is just a distributor)
About API, I begin to be more expert
If you think you need an app/interface between your factory and Axelor, I suggest n8n for handle data.
(n8n is open-source, free and easy to you in docker)
(I use n8n, my post here explain to you how to have data from axelor or send and update to Axelor)
REST API with documentation : REST Services :: Axelor Documentation
Do you handle a simple curl commande for getting information from an app via API ?
The follow information depends on your version of Axelor, please remember this
I give you some information, but before you will need few hours of learn about API, cURL, and data information of Axelor
All tables of « production »
com.axelor.apps.production.db.BillOfMaterial
com.axelor.apps.production.db.ConfiguratorBOM
com.axelor.apps.production.db.ConfiguratorProdProcess
com.axelor.apps.production.db.ConfiguratorProdProcessLine
com.axelor.apps.production.db.CostSheet
com.axelor.apps.production.db.CostSheetGroup
com.axelor.apps.production.db.CostSheetLine
com.axelor.apps.production.db.Machine
com.axelor.apps.production.db.MachineTool
com.axelor.apps.production.db.MachineType
com.axelor.apps.production.db.ManufOrder
com.axelor.apps.production.db.MpsCharge
com.axelor.apps.production.db.MpsWeeklySchedule
com.axelor.apps.production.db.ObjectDescription
com.axelor.apps.production.db.OperationOrder
com.axelor.apps.production.db.OperationOrderDuration
com.axelor.apps.production.db.ProdHumanResource
com.axelor.apps.production.db.ProdProcess
com.axelor.apps.production.db.ProdProcessLine
com.axelor.apps.production.db.ProdProduct
com.axelor.apps.production.db.ProdResidualProduct
com.axelor.apps.production.db.ProductApproval
com.axelor.apps.production.db.ProductionBatch
com.axelor.apps.production.db.ProductionConfig
com.axelor.apps.production.db.ProductionOrder
com.axelor.apps.production.db.RawMaterialRequirement
com.axelor.apps.production.db.Sop
com.axelor.apps.production.db.SopLine
com.axelor.apps.production.db.TempBomTree
com.axelor.apps.production.db.UnitCostCalcLine
com.axelor.apps.production.db.UnitCostCalculation
com.axelor.apps.production.db.WorkCenter
com.axelor.apps.production.db.WorkCenterGroup
com.axelor.apps.production.db.WorkshopSequenceConfigLine
Inside this one : com.axelor.apps.production.db.Machine, name columns are :
operatingDuration
importOrigin
setupDuration
code
stockLocation
buyingCurrency
description
numberOfStations
createdOn
machineToolLineList
archived
buyingPrice
id
brand
machineType
manufReference
processInstanceId
serialNumber
startingDuration
updatedBy
maintenanceCost
buyingDate
updatedOn
weeklyPlanning
version
endingDuration
picture
attrs
importId
createdBy
disposalDate
name
manufDate
So with n8n or cURL command
GET https://yourAxelorURL/ws/rest/com.axelor.apps.production.db.Machine/:id
yourAxelorUrl = you know this, maybe a localhost, or 192.168.1.200 …
ws/rest = this is standard for a GET - read the documentation REST Services :: Axelor Documentation
com.axelor.apps.production.db.Machine = the domain, you can change for the list a give you before
:id = you can find the ID of the machine when you are in the interface of Axelor, in edition of the machine. Just add the number of the id like 30
=> GET https://localhost:/ws/rest/com.axelor.apps.production.db.Machine/30
And you will have a json information about the machine number 30.
Have fun with your students !
Jaa, your n8n posts looks great, I still have no idea to get data from the production plant back into AXELOR. By example, I can read from AXELOR some order for parts from a supplier. In the model factory I can take some parts as delivery and put them into the goods intake, but how can I message to AXELOR that the parts are there i.e. that the supply delivery is fulfilled?
Or when we have automatically build our model cars, how can our PLC controlled factory message back that the cars have been produced and put on the outgoing warehouse, while in AXELOR all stock moves etc are registered?
Here ist a big black area in front of my eyes …
In 5 weeks we have an open house at our university where a lot of companies and other visitors are coming and inform themselves about our study programmes and research or counselling offers, and I wanted to show a running fully automated demo factory :-))), what is not running for $$$$$$$ with SAP, but economically $$$$$ with AXELOR…
I would say, I know now enough to trigger the PLC in the plant that it builds a model car or order in a simulated process parts for the stock, but I do not know how the finished processed and parts could be messaged back to AXELOR …
Hello
Before answer you, I talk to you about n8n, but Axelor do « the same » but inside, it’s « BPM module »
You can find here a discussion recently I have with other French : Stratégie et feuille de route d'Axelor
Some questions and situation I asked kind of similar to you for specific automation.
(only french sorry. Translate all the conversation)
Axelor BPM could be an answer to you (probably not in 5 weeks). I won’t be useful for this, I don’t use BPM. But people here can help you.
I use n8n apps, because its external, so you can call everything with GET, PUT, POST, DELETE and change whatever you want from another app. Automatically and do a small interaction or a big one.
In you case, for a list of pieces to use for a production that is not standard, it could be very useful (I come back on it later )
I think you don’t use the stock module. You have to define stock location, it can be virtual (like when you buy pieces, it come from you manufacturer, but it a virtual one because you don’t have to handle it).
it can be physical (your storage1, your production place, your storage2 …).
If a delivery is validate, you should see the stock in you inventory (depend of the manufacturer parameter, product parameter, deliveryOrder …)
And you will have all the StockMove and StockMoveLine per product you want. Me, I use trackingNumber for my medical device.
All the documentation Axelor is here about stock :
I just made a test, I didn’t do it before (I will update my thread of n8n ) : we can validate a step with the variable « satusSelect ».
I did it on accounts entry (com.axelor.apps.account.db.Move).
GET http ://localhost/ws/rest/com.axelor.apps.account.db.Move/ //Delete the space after http
it was a draft Move (accounts entry I create manualy)
POST http ://localhost/ws/rest/com.axelor.apps.account.db.Move/ //Delete the space after http
Body Parameters : { « data »: { « version »: 1, « statusSelect »:2 }}
And now the state of this document is not a draft anymore, « Count status » (or something like that)
StatusSelect: 3 will be « validate status » (or something like that)
→ So if axelor had already the production send and you want confirm it, juste update the satusSelect
I don’t know what the difference between :
ManufOrder/ProdProduct/ProdProcess/OperationOrder
Contact us to discuss your requirements of Automatic Production line. Our experienced sales team can help you identify the options that best suit your needs.
I don’t use production module
So I will say « manufacturing » and manufacturingOrder
you have to decide who manages what, define every step. Everything should be possible, but you have to define your way to do it. My vision :
Axelor is you principal app for all logistic, manage manufacturing. information product, resupplying,…
your PLC don’t handle stock or information product, but for product a car, you have to make a manufacturingOrder, clearly the list of your pieces to product the car.
how handle this list ? for my point of view (not an expert),
If it’s standard so Axelor with template production
If depend and change few time in a day, it’s your PLC.
In case it’s your PLC, you will have to do a spreasheet, and try to send this data to your Axelor.
Axelor will inform you if there are no stock for some piece.
When the production are done, update the statusSelect of manufacturingOrder, or just valid it manualy (human confirmation).
Hello,
after some days of experimenting I can report some success. I decided to use some REST API on the PLC side as well and updated my PLC here. In some 3D industrial environment I have setup a simple storage place (in factory-io), where some parts are automatically appearing as incoming deliveries when they have been ordered. The parts are transported into a high rise storage and when they are there, I am updating the PO at statusSelect and receiptState. This is workling now well and I can see now the changed status of the PO in AXELOR and the activated stock move.
Basically the next step will be to realize the stock move as well automatically …
After that I will have a look into the manufactoring, as I will simulate some production of parts after a sale order.
I used the REST API in n8n on both sides now, AXELOR and the PLC. If you are interested I can make a short live screen video of the setup and can show my n8n flows …
Send me a PM with your adress then.
Your suggestions were a big help, still hoping to get something ready for the demonstration in 4 weeks …
The idea of automation in manufacturing has caused many people to sound the alarm about potential job elimination, and for others it sounds like a necessary step toward more efficient production and less labor-intensive processes. There are strong opinions about automation that differ depending on who you ask. But one thing is clear: automation is already picking up speed.
According to a press release from Automation Anywhere, its survey found that 87% of manufacturing companies had already implemented some form of smart automation as of . So it seems the question is not if but when manufacturing companies will adopt more automation in their processes.
Veryable created an on-demand labor platform, so we are in tune with the digital evolution happening in manufacturing. We have to monitor the state of automation in the industry so that our product can meet the needs of our customers. Our interest in automation is because we see how on-demand labor will be compatible with a more automated workplace. Automation will affect much more than our company and customers, though, so we are writing about the overall effects of automation on manufacturing.
This article will explore the pros and cons of automation in manufacturing so you can decide if it makes sense for your company to try automating some of its processes.
The benefits of bringing automation to manufacturing operations can already be seen in companies that have adopted automation. These benefits include: increased production speed, reduced error rates, reduced costs, and the elimination of tedious tasks.
At the risk of sounding cliche, robots do not sleep. This means they can run 24 hours a day, seven days a week until maintenance is needed. Their only limitation is their energy supply and their programming.
Automation also produces more quickly than humans because machines can perform repeatable tasks with accuracy and consistency that we cannot achieve because we are human. If a machine is programmed to do something the optimal way, it will do it the optimal way unless something physically obstructs it from doing so or its programming or environment changes.
Machines do not get distracted or have the same limitations that people do, so their error rate is much lower for simple, repeatable tasks. What machines are able to accomplish continues to grow as machine learning enables them to learn to do more complex tasks with human-like accuracy and in some cases even perform better than humans at complex tasks.
Over time, automation reduces the costs associated with production and labor. As processes become more efficient through automation, less materials and labor will be necessary to produce the same output.
For example, if a machine can reliably cut wood in a more accurate way that produces less waste than a human, less wood will be wasted and less labor costs will be needed for paying employees to cut wood. From the business’s perspective, this is an increased efficiency and cost reduction in one swoop.
Tedious work is something automated machines excel at. For this reason, automation can eliminate these tasks from the jobs of workers, who would then be freed to do more engaging work.
As they say, every rose has its thorns. There are a few cons of automation in manufacturing that you should be aware of: the risk of multiplying errors, job elimination in the short-term, and the high upfront costs of automation.
The same thing that makes automation so powerful is also its Achilles’ heel: nonstop speed. When an automated system is doing something wrong, it keeps doing it quickly, nonstop, until someone recognizes the error and stops the system. The tragedy that follows an improperly automated task can be disastrously costly if the mistake is not recognized soon after it is made.
There is no way around the elephant in the room: automation will eliminate some jobs in the short-term. The immediate effects of automating any task will be reducing the work required to accomplish it. That means there will be less work for the person in the role that’s in charge of this task. When there is less work left to do because automation has made a process more efficient, any new work that is created will require you to upskill workers to perform in the new role.
For example, imagine that you automated the assembly of a chair. Before automation, you had someone attaching the legs, a second person attaching the back, a third person attaching the arms, and a fourth person doing quality assurance. After automation, you need one person to do quality assurance and a second to operate the machine. You also need a third person who knows how to fix the more complicated machinery required for automation. That’s a total of three workers instead of the four you had before automation. Maintaining machinery requires more training than assembling the chair did, so you will need to upskill your workers to meet the need.
The software and machinery required for automation isn’t cheap. The high upfront cost deters some companies from starting automation. If you’re considering automating a certain task, be sure to run the numbers on how the upfront cost will compare to the long-term gains you might see from improved efficiencies in the completion of this task.
If your company has the funds for a big upfront cost (think hundreds of thousands) and you have rule-based, high-volume processes, then you are ready to get started with automation. The technology for automation today excels at simple, repeatable processes in the physical world. Automation is even more effective in the digital world because of its speed in processing data and its ability to simplify processes for human users.
If your company does not have the funding for a big upfront cost, or if your processes are too complex for automation technology to perform, then automation might not be a good choice for you. Automation is not as skilled as humans at some tasks requiring skill and dexterity. If the automated process would not perform as well as people, then the upfront cost would not be offset by improvements in efficiency. That would make automation a bad fit for your company.
The reason many businesses are adopting automation is for the benefits mentioned above, but also for the promise it shows as part of the Industry 4.0 evolution. With manufacturing becoming more and more digitized, automation will be a key enabler of a faster response to demand. In a pull system like what Lean manufacturing requires, digital signals combined with automation will allow companies to produce in response to demand in real time.
The real reason you’re probably considering automation is because you want to increase your productivity and reduce your costs.
If automation isn’t right for you, there are still other options for reaching your goals. You could improve your processes by practicing the Lean methodology. You could also ensure that you are not overstaffed for the work you’re doing.
If automation is right for you, then you probably will need to upskill your workers. It is likely that the work made easier by automation will not justify a full-time position any more. The barrier to entry for these positions has been lowered, so finding workers and training them for the work will be easier than before. Instead of hiring someone to do that simplified role while you train your employees, you could find workers as-needed from an on-demand labor platform.
The company is the world’s best CNC shaft turning machine supplier. We are your one-stop shop for all needs. Our staff are highly-specialized and will help you find the product you need.