Printing Archives | DMC, Inc. https://www.dmcinfo.com/our-work/category/industry/printing/ Thu, 17 Jul 2025 20:58:23 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 https://cdn.dmcinfo.com/wp-content/uploads/2025/04/17193803/site-icon-150x150.png Printing Archives | DMC, Inc. https://www.dmcinfo.com/our-work/category/industry/printing/ 32 32 Function Block Diagram Programming for Plasma Treater https://www.dmcinfo.com/our-work/function-block-diagram-programming-for-plasma-treater/ Wed, 03 Apr 2019 00:00:00 +0000 https://www.dmcinfo.com/our-work/function-block-diagram-programming-for-plasma-treater/ The client reached out to DMC for aid in developing code for a plasma treater used in the creation of cardboard beverage containers. The client’s programming standards documentation specified the need to implement all code in Function Block Diagramming (FBD). As a result, DMC programmed both the standard operational logic and safety logic using FBD.  […]

The post Function Block Diagram Programming for Plasma Treater appeared first on DMC, Inc..

]]>
The client reached out to DMC for aid in developing code for a plasma treater used in the creation of cardboard beverage containers. The client’s programming standards documentation specified the need to implement all code in Function Block Diagramming (FBD). As a result, DMC programmed both the standard operational logic and safety logic using FBD. 

FBD is a method of programming that compartmentalizes and hides code within boxes called function blocks. These function blocks display only the inputs and outputs of the compartmentalized function and can be implemented repeatedly throughout a larger program.

Benefits of using FBD code:

  • Function blocks can be more intuitive for those with electronic/computer science background as FBDs are comparable to logic gates
  • FBDs be much more compact than a ladder for logic with lots of components
  • FBDs allow for compartmentalizing complex code into a simple visual block
  • FBDs enable users to modify repeated code within blocks only once; changes to a function block propagate to all instances of the function block

Drawbacks of using FBD code:

  • FBDs can be unfamiliar, and therefore more confusing, for developers or maintenance staff as ladder is generally a more commonly-used programming language
    • NOT nodes are especially small and can be easy to overlook
  • Compared to ladder, FBD can be less intuitive for those with electrical backgrounds as ladder logic is based on circuit diagramming for relay logic
  • Like Ladder Logic, FBDs don’t support complex math sequences or functions
    • Structured text is more useful for this
    • With that said, structured text is supported when programming in FBD

“AND” and “OR” Operations in Ladder Logic vs. FBD

FBD vs ladderFBS vs. Logic

In addition to programming in FBD, other considerations DMC took into account were:

  • I-Device communication
  • Safety programming

The plasma treater we were programming was only one step in a much larger operation. As a result, the treater’s PLC served as a slave to a master PLC that controlled the overall system process. DMC configured I-Device Communication between the two units utilizing a PNP coupler to allow signals to pass from slave to master and vice-versa.

The plasma treater project marked the first time DMC’s clients had utilized failsafe logic in their products. DMC was able to provide insight on best safety practices and Siemens-specific safety concepts to our clients. Specifically, DMC successfully incorporated logic that allowed for safety bypass modes when the plasma treater needed to undergo maintenance.

Learn more about DMC’s work in the Food and Beverage Industry and our Manufacturing Automation and Intelligence Services.

The post Function Block Diagram Programming for Plasma Treater appeared first on DMC, Inc..

]]>
Serial Communication with a Siemens S7-1200 PLC https://www.dmcinfo.com/our-work/serial-communication-with-a-siemens-s7-1200-plc/ Tue, 21 Mar 2017 00:00:00 +0000 https://www.dmcinfo.com/our-work/serial-communication-with-a-siemens-s7-1200-plc/ DMC worked with our client to develop a means of changing servo setpoints from a remote HMI. The system consisted of two servos controlled with Contrex CX-1010 servo controllers, which were located on the side of the machine opposite the operator. The servo setpoints must be changed with each product changeover, requiring the operators to […]

The post Serial Communication with a Siemens S7-1200 PLC appeared first on DMC, Inc..

]]>
DMC worked with our client to develop a means of changing servo setpoints from a remote HMI. The system consisted of two servos controlled with Contrex CX-1010 servo controllers, which were located on the side of the machine opposite the operator. The servo setpoints must be changed with each product changeover, requiring the operators to walk around the machine and enter the setpoints on the control panel. To solve this problem, a Siemens TP-700 Comfort Panel was installed on the operator side, and was used to send setpoints to a Siemens S7-1200 PLC.

The PLC communicated to the servo controllers using a serial connection through a Siemens CB 1241 RS485 serial interface. Each serial message consisted of several parts: a start signal, a device address, a function command, an error field, the results of the function, an end signal, and a checksum. The PLC would take the setpoint from the HMI and format it as a serial message to the correct drive. It would send the message over the serial port, wait for a response, and process the response into the correct data. All serial messages were sent and received using standard Siemens instructions. Any communication errors would trigger a warning on the HMI to notify the operator.

The serial architecture was set up with the PLC as the master, and the controllers as the slaves. As a result, the controllers would not send data until the PLC asked for it This eliminated the need for monitoring the serial channel, streamlining the communications. However, this setup does require the PLC to send data to one controller and wait for a response before sending data to the next controller. This might render a larger system may susceptible to communication delays, but the effects were negligible in this system with only two controllers.

The post Serial Communication with a Siemens S7-1200 PLC appeared first on DMC, Inc..

]]>
Database-Driven Web and Desktop Applications for Custom Label Management System https://www.dmcinfo.com/our-work/database-driven-web-and-desktop-applications-for-custom-label-management-system/ Thu, 29 Oct 2015 00:00:00 +0000 https://www.dmcinfo.com/our-work/database-driven-web-and-desktop-applications-for-custom-label-management-system/ DMC developed a label management system comprised of three components: Database The database serves as a central repository for all label configuration data. It is a Microsoft SQL database stored in an on-premise server to ensure continuous stable connectivity from the desktop application and web application. The database schema was designed to support change tracking, […]

The post Database-Driven Web and Desktop Applications for Custom Label Management System appeared first on DMC, Inc..

]]>
DMC developed a label management system comprised of three components:

Database

The database serves as a central repository for all label configuration data. It is a Microsoft SQL database stored in an on-premise server to ensure continuous stable connectivity from the desktop application and web application. The database schema was designed to support change tracking, so the edit history of any given label can be retrieved and viewed. In additional to label data, the database stores records of all batch printing jobs initiated by the desktop application.

Desktop Application

The desktop application allows operators to manage and initiate batch label print jobs. Users log in to the application with the same Active Directory credentials they use to log in elsewhere in the company network; once the credentials are verified, the application checks the database to determine if the user has access to the application.

Use of the application centers around the management of new print jobs. Users can switch between existing print jobs and add new ones by using the tabbed interface along the left side of the screen. Users may also view a summary screen showing detailed information on all active print jobs.

Creating a print job follows a simple and straightforward process. Users first enter a material number located on the bill of work for the print job they will be initiating. The application retrieves all label artworks associated with that material number and places them into a dropdown for the user to select from. Once an artwork is selected, read-only information pulled from the database is displayed on the right side of the screen so the user may verify they have selected the correct label artwork to print.

Additionally, a list of variable data parameters that need to be filled in for the selected artwork appear. The user must provide data for all of these parameters. Indicators next to each field let the user know what sort of data needs to be supplied for each parameter (e.g. the Expiration Date parameter requires a future date) and whether or not the entered data is valid. Once all data has been entered correctly, the user may generate a print preview to verify the label is formatted correctly.

The final step is to select a printer. This brings up status information about the selected printer (such as whether it is idle, currently printing, in an error state, etc.) and allows the user to bring up the print preferences dialog to configure any printer settings. The user is also allowed to print sample labels as a final check to make sure everything is correct. Once the user is ready, they fill in the number of labels to print and initiate the job. All fields and dropdowns are locked until the print job completes or is manually stopped. 

Web Application

The web application serves as a front-end to the database, allowing for the creation, modification, and management of labels. This includes managing the label stock that labels are printed on, the artwork defining what the labels look like, and the products that the labels are for.

The web application automatically grabs a user’s Active Directory credentials to log them in. The actions a user can take as well as the portions of the web application they can see are tied to their permissions. By default, users can only view label data. Users with administrative privileges can grant additional permissions to any user, expanding their list of capabilities to modifying label data, approving label changes, and uses the desktop application to print labels.

When a record is changed, it moves from an “Approved” state to a “Pending” state. No more changes to that record can occur until a user with approval permissions either approves or rejects the changes. Until that happens, the desktop application uses the latest approved data for any print jobs that are initiated. To facilitate the approval process, users can view a side-by-side comparison of what changed in a “Delta V Report”.

Since some users may wish to request a change without having the permission to do so, a “Change Request Form” can be accessed for any given record. This lists out all the data tied to a record with a second column where the user may type in their desired changes. They can then save or print a printer-friendly version of the form.

To make creating brand new records easier, a “Copy From” feature allows users to begin creating a new record with another record’s data as a template.

Viewing the potentially large quantities of records is simple with the ability to quickly sort and filter grids on any column.

 

The post Database-Driven Web and Desktop Applications for Custom Label Management System appeared first on DMC, Inc..

]]>
B&R Automation Tax Stamp Application https://www.dmcinfo.com/our-work/br-automation-tax-stamp-application/ Mon, 19 May 2014 00:00:00 +0000 https://www.dmcinfo.com/our-work/br-automation-tax-stamp-application/ Our customer’s machines face the challenge of accommodating different products quickly and consistently. Each product’s carton has its own size and color, and this variability can cause the machine’s sensors to lose track of cartons. DMC implemented a tracking system that remembers when cartons enter the machine; the system then keeps track of all relevant product information […]

The post B&R Automation Tax Stamp Application appeared first on DMC, Inc..

]]>
Our customer’s machines face the challenge of accommodating different products quickly and consistently. Each product’s carton has its own size and color, and this variability can cause the machine’s sensors to lose track of cartons. DMC implemented a tracking system that remembers when cartons enter the machine; the system then keeps track of all relevant product information as the products index through the machine. DMC also modified the system to look for cartons while the machine moves the products, because it is more likely for sensors to detect a moving object than a stationary object. The new tracking system includes an HMI screen that shows the operator where the cartons should be located in case cartons are out of position or removed. If necessary, this screen also allows the operator to modify the carton positions.

Some facilities use several of these tax stamping machines at once, and that demands proper maintenance. This requires having the correct machine settings on each machine, and this can be done by copying the settings from one machine to another using a USB stick. DMC made this process more robust by modifying the B&R code to perform searches in order to confirm that the correct settings are written to the correct variables.

It is most important to make sure that the correct stamps are applied to all the products that go through the machine. After hours of continuously running the machine, some of the stamps can become misaligned. DMC implemented code to check the stamp paper before moving it to make sure the stamps are still aligned with the stamper.

Learn more about DMC’s B&R automation studio programming services.

The post B&R Automation Tax Stamp Application appeared first on DMC, Inc..

]]>