Programming Using The ASR-Soft
Programming Using The ASR-Soft
ASR-Soft is the exclusive Windows based programming software for the Altech Smart Relay . It facilitates:
Entering the Program: Select & Place
ASR-Soft provides a user-friendly interface wherein the user has to only select contact type and contact
number and place it where it is required. Contacts get connected automatically if they are on the same line.
User can enter comments for better readability and for future reference .
Saving Programs
ASR-Soft allows user to save individual programs on the PC.
Debugging
ASR-Soft is very powerful in error handling. It displays any possible errors as the program is being entered
to make corrections simultaneously.
Simulation on PC
User can simulate the program on PC. User can use buttons provided on the screen to simulate the input
connections. Scroll bar can be used to simulate Analog input. The actuation/ de-actuation of the relays can
be monitored on the screen.
Simulation on Altech Smart Relay
User can connect the Altech Smart Relay unit to PC using a serial Communication cable / USB cable and perform on line program simulation. In this mode the PC acts as a
master and the inputs are taken from Altech Smart Relay and outputs are sent to Altech Smart Relay unit (and the extension modules, if connected). This mode is useful in
debugging the entire system since the actual I/Os are used.
Printing
User can take print outs of programs in two different formats, namely Short format and Detail format. Also, program Parameters and Comments can be printed.
Transfering Programs
Programs can be transferred from PC to Altech Smart Relay and vice versa using serial Communication cable / USB cable. This saves the program entering time on the Smart
Transfering Clock
With this utility user can set the clock (date and time) on the Altech Smart Relay.
Program Editor
Window
I/O Function
Selector Window
Input/Output
Window
Error Window
Select File -> New from the menu bar to create a new program.
A blank screen will appear. Now you can start entering the program. Ensure that you have chosen proper Altech Smart Relay Configuration before starting the program entry.
Choosing Contact Type
Position the cursor at the place where you want to insert the contact by a left click with mouse. The position will get highlighted. Choose the required contact type and Contact
Number from I/O function selector. Click on the required contact and contact number, which will be highlighted for a few seconds. The selected contact will appear at the
position selected in the program. The selected contact number will be shown with a tick mark to indicate that it has been used in the program. You can right click on any of the
contact to change its type and properties.
Connecting Inputs & Outputs
Each circuit connection runs from left to right. Please remember this when you interconnect contacts and relay coils. User can draw a circuit connection horizontally from left
to right and vertically between adjacent circuit connections. An intersection of circuit connections represents an electrical connection.
Horizontal connection
To make a horizontal connection, click on the horizontal dotted line in the connection box of the circuit. Or to make connection in contact box, press right button and select
"Joining link". Generally when an output coil is placed in the fourth column, it gets automatically connected.
Vertical connection
To make a vertical connection click on the vertical dotted line in the connection box of the circuit. Vertical connection represents OR connection. For deleting a connection
just left click on the connection line.
12
Working with ASR-Soft
To Set & Remove Password
Ÿ Select the Configuration >Device Utilities menu command. Then Device Utilities window
will pop up as shown in the Screen - 1
Ÿ Click on set password.
Ÿ Enter four digits password in the two boxes “New password” and “Confirm New”
Password then confirm with OK.
Ÿ You can delete your assigned password at any time. To do this, enter the existing password
in “Old password” box. Then confirm with OK.
Ÿ To change the password, you must first enter the new password in the two boxes “New
password” and “Confirm Password “ and the existing password in Current password text
box. Then confirm with OK.
To Set Backlight Mode Screen - 1
Ÿ Select the Configuration >Device Utilities menu command. Then Device Utilities window
will pop up as shown in the Screen - 1.
Ÿ Select the mode Auto, On or Off then click on the set mode button.
Ÿ Then “The requested operation will move the device out from the run mode. Do you want
to continue?” message will pop up.
Ÿ If pressed Yes, then backlight mode will get set in device and "Backlight mode has been set
successfully" message will appear on the screen.
To Configure Communication Port
Ÿ Select the Options > Comm port menu command. Then COM Port setting window will pop
up as shown in the Screen - 2 showing two option buttons to select the Port.
Ÿ Select “Device is connected to USB port” when the device is connected with cable.
Ÿ Select “Device is connected to Serial Communication port” when the device is connected
with Serial Communication cable.
To Set Communication Parameters
Ÿ Select the Options > Comm port menu command. Then COM Port setting window will pop
up as shown Screen - 2.
Ÿ The user can set the following communication parameters:
SLAVE ID: Selectable from 1 to 247. Screen - 2
BAUD RATE: Selectable as 1200,2400,4800,9600 baud.
PARITY: Selectable as NONE, EVEN and ODD.
STOP BIT: Selectable as 1 and 2 stop bits.
Clock Setting
Ÿ Select the Transfer > Device Clock menu command. Then Device Clock window will pop
up as shown in the Screen - 3.
Ÿ To view Date and time of device: Click Read button on the clock setting window. Then the
Clock Setting window will show the Date and Time of the device.
Ÿ To set Date and time in the device: User can select Date and Time to write into the device.
Click Write button on the clock setting window.
DST (Daylight Saving Time) Setting
Ÿ Select the Transfer > Device Clock menu command. Then Device Clock window will pop
up as shown in the adjoining window.
Ÿ To set Enable DST, Follow the following steps: Click Daylight Saving Time check box then
the DST setting section becomes visible.
Ÿ User can select the following parameters: Begin Week, Begin Day, Begin Month, Begin
Time, End Week, End Day, End Month, End Time, Offset Time
Ÿ To set Disable DST, Follow the following steps:
1. Deselect Daylight Saving Time option then DST window will get disable.
2. Press Set DST.
Ÿ To read DST: Press Read DST, independent of the DST enable or disable.
Transfer Options
PC to Device Screen - 3
Ÿ Select the Transfer > Program menu command. Then transfer window will pop up as shown
in the Screen - 4.
Ÿ Press "PC to Device" button on transfer dialog box. Current program on the screen will get
transferred to device.
Ÿ Transfer completion message "The Program is downloaded successfully" will appear on the
screen.
Device to PC
Ÿ Select the Transfer > Program menu command. Then transfer window will pop up as shown
in the Screen - 4.
Ÿ Press "Device to PC" button on transfer dialog box. Current program Screen - 4
on the screen will get transferred to device.
Ÿ Transfer completion message "The Program is downloaded
successfully" will appear on the screen.
Ÿ Read program will be shown on main screen.
Programming
For the 6 time periods 6 Time Switches are required. 1, 2, ..... 6 represent the 6 Time Switches.
Timer T1 ensures that the duration of the output is 10 seconds only.
Q1 represents the Output Coil (Alarm/Bell in this case)
Double click on the ASR Soft icon the launch the ASR Soft Software application.
Click on File New to launch a new Program window.
Output Configuration
10. Select Output Q1 from the I/O selector window and place it in the coil column
11. Right click on output Q1 to and select the option ‘State Change: Contactor’
LADDER PROGRAM
14
Sample Programs
CAR PARKING
There are 5 parking spots available in a parking area. There are 2 sensors, one at the entry gate and one at the exit gate. When all the parking spots are occupied, there is a lamp
outside the entry gate indicating parking is full. When any of the parking spots is available, other lamp is switched ON indicating parking is available.
Programming
Input I1is the sensor at the Entry gate and Input 2 is the sensor at the exit gate.
Output Q1 indicates that Parking is available, Output 2 indicates that Parking is Full.
Counter C1 is used to count the number of vehicles that have entered or exited the parking.
Compare Counters P1 & P2 are used switch ON outputs Q1 & Q2 respectively by comparing the count of counter C1.
Input Selection
1. Click on the Input symbol in the I/O selector window and select I1.
2. Move the cursor to the Contact 1 column of the first row and left click on the block to place the input.
3. Again click on the Input symbol in the I/O selector window and select ‘I2’.
4. Move the cursor to the Contact 1 column of the second t row and left click on the block to place the input. Also place it in the Contact 1 column of the third row.
Output Configuration
13. Select Output Q1 from the I/O selector window and place it in the coil column
14. Right click on output Q1 to and select the option ‘State Change: Contactor’
LADDER PROGRAM
15
Ladder Programming Elements / Function Blocks
In ladder programming, the ladder elements / Functional Blocks are connected to create a ladder for any application. The following section gives the description of
each element that is used for ladder programming.
INPUTS OUTPUTS
Altech Smart Relay provides 2 types of Inputs viz. Digital & Analog Altech Smart Relay provides Digital Outputs: Base Module (4), Extension
AC Model: Digital Inputs (1 - 8) Module (4)
DC Model: Digital Inputs (1 - 6), Analog Inputs (V1, V2)8 The outputs can be configured as:
I. State Change (Contactor), ii. Level Change (Remote Control), iii. Bi-stable
I1, I2, ..... I8 Base Module (Set Reset) Q1, Q2, ..... Q4 Base Module
J1, J2, ..... J8 Normally Open Extension Module 1 U1, U2, ..... U4 Normally Open Extension Module 1
Contact Contact
K1, K2, ..... K8 Extension Module 2 V1, V2, ..... V4 Extension Module 2
(’NO’ Contact) (’NO’ Contact)
L1, L2, ..... L8 Extension Module 3 W1, W2, ..... W4 Extension Module 3
i1, i2, ..... i8 Base Module q1, q2, ..... q4 Base Module
j1, j2, ..... j8 Normally Closed Extension Module 1 u1, u2, ..... u4 Normally Closed Extension Module 1
Contact Contact
k1, k2, ..... k8 Extension Module 2 v1, v2, ..... v4 Extension Module 2
(’NC’ Contact) (’NC’ Contact)
l1, l2, ..... l8 Extension Module 3 w1, w2, ..... w4 Extension Module 3
D ANALOG
TRG T1
Compare Input V1 0000 X
RES
D COMPARE
TRG T1
Compare Function S >
000.0 OFP1 Analog Comparator No Compare Input C1 0000 X
RES
Absolute Value ABS
S 1023 OF
006.0 X Locked/Unlocked State Compare Counter No
Compare Function S >
000.0 OFP1
Absolute Value ABS
S 1023 OF
006.0 X Locked/Unlocked State
Make/Break Status of ‘NO’ Contact
Make/Break Status of ‘NO’ Contact