These variables will be used to exchange data between Factory I/O and CODESYS through OPC Data Access (these are the I/O points).į_AtRightEntry(CLK := FIO.iAtRightEntry) į_AtLeftEntry(CLK := FIO.iAtLeftEntry) (* A pallet abandons the turntable, being charged onto the left exit conveyer *)į_AtLeftExit(CLK := FIO.iAtLeftExit) (* A pallet abandons the left exit conveyer *) Open the FIO list by Double Left-clicking on it and copy and paste the following global variables. Right-click on Application and select Add Object > Global variable List. On the Standard Project window select the Device CODESYS Control Win V3 (3S - Smart Software Solutions GmbH) and Structured Text (ST) for the PLC_PRG. Select Standard project from the Templates list and choose a name for the project (e.g. The sample code used in this tutorial is based on the solutions found in the book Industrial Automation Practices. This tutorial shows how to use CODESYS together with Factory I/O through OPC Data Access.īy following this sample you will create a new CODESYS project, configure it to work with Factory I/O and program the CODESYS Control Win (SoftPLC) to control the Sorting by Height (Advanced) scene. CODESYS v3.5 SP8 or higher (works with demo version). ![]() ![]() Modbus & OPC Edition or Ultimate Edition.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |