Quick Start; Example; Hardware; Program - Delta Electronics AH500 Operation Manual

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

A H 5 0 0 O p e r a t i o n M a n u a l

6.1 Quick Start

The chapter provides a simple example, and leads users to create a traditional ladder diagram in ISPSoft in a
short time. However, in order to help users who are not familiar with IEC 61131-3 understand the functions
provided by ISPSoft, and create a traditional ladder diagram, programming concepts related to IEC 61131-3 are
not introduced in this chapter. For example, POUs, function blocks, variables, and etc. are not introduced.

6.1.1 Example

When the equipment operates, the parts on the conveyer are conveyed from left to right. If a sensor senses that
a part is under an injector, the PLC will send a trigger signal to the injector, and the injector will injects the glue.
How long the part will be injected is set externally, and is not controlled by the program in the PLC. However,
the program in the PLC must be able to turn the trigger signal OFF so that the trigger signal can be sent next
time. There are two injectors above the conveyer, and the two injectors inject glue in the same way.
Besides, there is a sensor at the left side of the conveyer. When a part passes the sensor, the sensor value
increases by one increment. If the sensor value is 100, the internal completion flag will be set to ON. The state
of the flag can be used by other procedures later. However, the use of the state of the flag is not introduced in
this example.

6.1.2 Hardware

In this example, the AH500 series CPU module used is AHCPU530-EN, the digital I/O module used is
AH16AP11R-5A, and the main backplane used is AHBP04M1-5A. The table below is an I/O allocation table.
Type
ID
Digital input
X0.0
Digital input
X0.1
Digital input
X0.2
Digital input
X0.3
Digital input
X0.4
Digital output
Y0.0
Digital output
Y0.1
Digital output
Y0.2

6.1.3 Program

(1) When the START button (X0.0) is turned from OFF to ON, the internal operation flag is set to ON, and the
conveyer (Y0.0) starts to run. When the STOP button (X0.1) is turned from OFF to ON, an error occurs (the
error flag is ON), the operation flag is reset to OFF, and the conveyer stops running.
(2) When in position sensor 1 (X0.2) is ON, the trigger signal for injector 1 (Y0.1) is set to ON. When in
position sensor 1 is OFF, the trigger signal for injector 1 is reset to OFF.
(3) When in position sensor 2 (X0.3) is ON, the trigger signal for injector 2 (Y0.2) is set to ON. When in
position sensor 2 is OFF, the trigger signal for injector 2 is reset to OFF.
(4) When the counting sensor (X0.4) is turned from OFF to ON, the sensor value increases by one increment.
If the sensor value is larger than or equal to 100, the internal completion flag will be set to ON.
6 - 2
START button
STOP button
In position sensor 1
In position sensor 2
Counting sensor
Conveyer
Trigger signal for injector 1
Trigger signal for injector 2
Description

Advertisement

Table of Contents
loading

Table of Contents