Conexionado de Motores Induccion
Conexionado de Motores Induccion
Conexionado de Motores Induccion
PNEUALPHA2
SIMPLE APPLICATION CONTROLLER
PneuAlpha2 Simple Application
Foreword
This manual contains text, diagrams and explanations which will guide the reader in the
correct programming and operation of the PneuAlpha2 series controller.
Before attempting to install or use the PneuAlpha2 Series Controller this manual should be
read and understood.
If in doubt at any stage of the installation of the PneuAlpha2 Series Controller always consult a
professional electrical engineer who is qualified and trained to local and national standards
which apply to the installation site.
If in doubt about the operation or use of the PneuAlpha2 Series Controller please consult
SMC.
This manual is subject to change without notice.
PneuAlpha2 Simple Application Controllers
PROGRAMMING MANUAL
i
PneuAlpha2 Simple Application Controllers
FAX BACK
SMC Pneumatics has a world wide reputation for its efforts in continually developing and push-
ing back the frontiers of industrial automation. What is sometimes overlooked by the user is the
care and attention to detail that is taken with the documentation. However,to continue this pro-
cess of improvement, the comments of the SMC users are always welcomed. This page has
been designed for you,the reader,to fill in your comments and fax them back to us. We look
forward to hearing from you.
What condition did the manual arrive in? "Good "Minor damage "Unusable
Will you be using a folder to store the manual? "Yes "No
What do you think to the manual presentation?"Tidy "Un-friendly
Are the explanations understandable? "Yes "Not too bad "Unusable
Which explanation was most difficult to understand: .................................................................
...................................................................................................................................................
Are there any diagrams which are not clear? "Yes "No
If so,which: .................................................................................................................................
What do you think to the manual layout? "Good "Not too bad "Un-helpful
If there one thing you would like to see improved,what is it? .....................................................
...................................................................................................................................................
...................................................................................................................................................
Could you find the information you required easily using the index and/or the contents, if
possible please identify your experience: ..................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Do you have any comments in general about the SMC manuals? ............................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Thank you for taking the time to fill out this questionnaire. We hope you found both the product
and this manual easy to use.
ii
PneuAlpha2 Simple Application Controllers
Guidelines for the safety of the user and protection of PneuAlpha2 simple
Application controllers
This manual provides information for the use of PneuAlpha2 simple Application controllers.
The manual has been written to be used by trained and competent personnel. The definition
of such a person or persons is as follows;
a ) Any engineer who is responsible for the planning, design and construction of automatic
equipment using the product associated with this manual should be of a competent
nature, trained and qualified to the local and national standards required to fulfill that
role. These engineers should be fully aware of all aspects of safety with regards to
automated equipment.
b ) Any commissioning or service engineer must be of a competent nature, trained and
qualified to the local and national standards required to fulfill that job. These engineers
should also be trained in the use and maintenance of the completed product. This
includes being completely familiar with all associated documentation for the said product.
All maintenance should be carried out in accordance with established safety practices.
c ) All operators of the completed equipment should be trained to use that product in a safe
and co-ordinated manner in compliance to established safety practices. The operators
should also be familiar with documentation which is connected with the actual operation
of the completed equipment.
Note : the term completed equipment refers to a third party constructed device which
contains or uses the product associated with this manual.
Notes on the symbology used in this manual
At various times through out this manual certain symbols will be used to highlight points of
information which are intended to ensure the users personal safety and protect the integrity of
equipment. Whenever any of the following symbols are encountered its associated note must
be read and understood. Each of the symbols used will now be listed with a brief description of
its meaning.
Hardware warnings
1 ) Indicates that the identified danger WILL cause physical and property damage.
2 ) Indicates that the identified danger could POSSIBLY cause physical and property
damage.
Software warning
4 ) Indicates special care must be taken when using this element of software.
5 ) Indicates a special point which the user of the associate software element should
be aware of.
iii
PneuAlpha2 Simple Application Controllers
iv
PneuAlpha2 Simple Application Controllers
Table of Contents
v
PneuAlpha2 Series Applications Controller
vi
PneuAlpha2 Series Applications Controller
vii
PneuAlpha2 Series Applications Controller
viii
PneuAlpha2 Simple Application Introduction 1
1. Introduction
The PneuAlpha2 Series Controllers provides supervisory control for use in the home, office,
factory or wherever you need it. The PneuAlpha2 series Controllers offers flexible I/O control
for varied applications:
Applications
The PneuAlpha2 Series is designed to be used for automatic applications including:
- Lighting, air-conditioning or watering control
- Opening and shutting of gates
- Security systems
- Domestic systems
- Temperature control
However, the PneuAlpha2 Series Controllers is not designed to be used in the following
applications:
- Applications where high reliabilities such as nuclear power control, railway facilities,
airline facilities, vehicles, combustion equipment and medical equipment are required.
- Applications in life critical situations
2 ) Program Input
The user can program directly from the front panel or use the windows based
ECC-PNAL-PCS/WIN-E programming software Ver2.00. Pictorial representation of data is
used to connect function blocks. Please refer to the PneuAlpha Software Manual.
1-1
PneuAlpha2 Simple Application Introduction 1
7 ) GSM Function
The PneuAlpha2 Series Controller uses GSM to send a SMS to a mobile phone or a
dedicated E-mail account via a standard service provider.
8 ) Dedicated Protocol
Introducing a Communication Device concept in the PneuAlpha2 Series Controllers
allowing the user to monitor, modify and enter current and set values in Function Blocks
via dedicated protocol controlled from a personal computer.
9 ) Built-in EEPROM
The built in EEPROM eliminates the need for battery backed data.
10 )Supports 6 languages
The language option under the TopMenu can be changed to display: English, German,
French, Italian, Spanish and Swedish.
11 ) LCD Screen
Enhanced LCD screen size allows the user to view data clearer and permits the
PneuAlpha2 Series Controller to display bar graphs and other new intricate data repre-
sentation items.
12 )Increased Memory
The CPU memory for the new PneuAlpha2 Series Controller allows a maximum of 200
function blocks to create a program algorithm and contains a 5000 byte capacity memory
on board.
This manual will describe the procedure by which the PneuAlpha2 Series Controllers can be
programmed from the front panel, the functions of the keys, and the powerful function block
capabilities.
The PneuAlpha2 Series Controllers can be identified using the following format:
ECC-PNAL2- ** M R - A/D
PNAL2 - PneuAlpha2 Series Controller A - 100~240V AC
D - +24V DC
** - Total number of I/O
M - PneuAlpha2in Unit R - Relay Type
output
1-2
PneuAlpha2 Simple Application Function Block Programming 2
I0n - Input n
O0n - Output n
OR - OR Boolean Function Block
SR - Set/Reset Function Block
OS - One Shot Function Block
The user can build a complex circuit in small easy steps by starting at the input and working
forward in a logical manner. The PneuAlpha2 will gather and process information and pro-
vide the necessary control for the application according to the system algorithm. Each indi-
vidual function block provides specific control parameters, accessible by the user, to tailor
each program for complete application suitability. The function blocks are connected together
to form a circuit using the Function Block Diagram (FBD.)
2-1
PneuAlpha2 Simple Application Function Block Programming 2
2.1.1 Inputs
The PneuAlpha2 Series Controller will accept both digital (On/Off) and analog (mV value
based) electrical information through the system Inputs. Please refer to the PneuAlpha2
Hardware Manual for electrical information, wiring diagrams and input specifications.
Depending on the chosen controller there are either 14 or 24 input version types of the
PneuAlpha2 Series Controller. The Inputs are referenced to I01, I02, ..., I15.
Table 2.2: Front panel keys for the PneuAlpha2 Series Controller
Key Name Key number Key Function
Used to enter menu options, confirm data entry, and manually force
OK K01 inputs ON/OFF in the monitor function.
Used to cancel an operation, move to a higher level screen, or to
ESC K02 move to a new menu.
Used to connect (or add) function blocks, increase Direct Set input
+ K03 values or times, or move through programs or menus.
Used to disconnect function blocks, decrease Direct Set values or
- K04 times, or move through programs or menus.
Scroll up through menu options (menus, keys, FB, Inputs, Outputs,
( ) K05 etc.)
Scroll down through menu options (menus, keys, FB, Inputs, Outputs,
( ) K06 etc.)
( ) K07 Move to the right on the LCD display, FB program, or Jump command
( ) K08 Move to the left on the LCD display, FB program, or Jump command
2-2
PneuAlpha2 Simple Application Function Block Programming 2
M08 ON when Stop mode turns to Run mode in the PneuAlpha2 Series. The ON sig-
nal acts as a pulse output and then turns OFF.
M09 OFF when Stop mode turns to Run mode in the PneuAlpha2 Series. The OFF
signal acts as a pulse output and then turns ON.
M10 Reserved
M11 Reserved
M12 ON when CD (DCD) signal is turned ON (receiving CD signal from the modem.)
M13 ON when it is possible to access the GSM network.
M14 ON when the PneuAlpha2 series controller is accessed via GSM
2-3
PneuAlpha2 Simple Application Function Block Programming 2
2.1.5 Outputs
Table 2.4: Outputs for the PneuAlpha2 Series Controller
Outputs Description
O01 - 09 Signal output
A01 - 04 AS-interface Output
EO1 - E04 Extension Output
ON: Disconnected to AS-interface network
N01
OFF: Connect to AS-interface network
ON: The back light is OFF in LCD.
N02*1
OFF: The back light is controlled by the Light Time setting in Menu.
ON: The back light is ON in LCD.
N03*1
OFF: The back light is controlled by the Light Time setting in Menu.
ON: The user screen is controlled by the setting of Display Manager with ECC-
N04 PNAL-PCS/WIN-E.
OFF: The user screen is controlled by user program.
Note: *1 When both N02 and N03 are ON and hence the back light is ON because N03 is
given the priority.
2-4
PneuAlpha2 Simple Application Function Block Programming 2
2-5
PneuAlpha2 Simple Application Function Block Programming 2
MEMO
2-6
PneuAlpha2 Simple Application System Menu 3
3. System Menu
The Edit Menu and the Function Block Edit Menu can be accessed when in either ProgEdit or
Monitor. These menus can be used to create and/or change programs steps or values.
Use the OK key to enter a programming option or to enter data into memory.
Set all the data on the screen before using the OK key to write the data to the system
memory. If there are multiple data screens in an option, enter the required data and accept
each screen with the OK key.
The ESC key will move the screen back to a higher menu option. It will cancel any data input
that has not been accepted with the OK key.
Note
Use the ESC key to exit the option to the higher menu; at times, it will be necessary to press
the ESC key a number of times to move to through multiple programming layers.
3-1
PneuAlpha2 Simple Application System Menu 3
OK
ESC
T o p Me n u
10 : 19 F r i Ru n / S t o p Run Mode
I : 2 5 9 Ru n S t o p R u n
1 5
O: 1 4 8 OK or ESC
E: 1 4
A: 23 Se t u p TS
Se t u p TS
EI :1 4
EO : 2 3 NoDa t a
1
P r o gEd i t 2
C l o c kSe t C l o c kSe t
C l o c kSe t
C l o c kSe t d d / mm / y y y y
Co r r e c t 30 / 11 / 2001
10 : 45 F r i
C l o c kSe t Co r r e c t
C l o c kSe t
Co r r e c t
s /d
LANGUAGE L ANGUAGE
En g l i s h
G e r ma n
F r ench
I t a l i an
Sp a n i s h
Sw e d i s h
3
Ot he r s 4
3-2
PneuAlpha2 Simple Application System Menu 3
3-3
PneuAlpha2 Simple Application System Menu 3
Ve r * . * *
S c a n T i me S c a n T i me
S c a n T i me Mo n i t o r Cu r . 0 ms
Re s e t Ma x . 1 2 ms
Mi n 0 ms
S c a n T i me Re s e t
Mo n i t o r S c a n T i me
Re s e t
OK or E SC
Se t u p
Pa s swo r d Pa s swo r d
D i s pPa s s Se t u p
D i s pPa s s
Leve l 1 D i s pPa s s
Leve l 2 Leve l 1
Leve l 3
Me n u K e y
Me n u K e y No Us e
ON + E SC
Ke y
S u mme r T i me
S u mme r T i me Ca n c e l
Ma n u a l O n
Da t a T y p e S u mme r T i me
UK T y p e 31 / 03
US T y p e ~30 / 10
EU T y p e + 6 0m i n
S e r i a l C om 5
6
Se t u p
L i g h t T i me L i g h t T i me
2m
P r o gC l e a r
Pr ogc l ea r
OK or E SC
P r ogT r an
3-4
PneuAlpha2 Simple Application System Menu 3
3-5
PneuAlpha2 Simple Application System Menu 3
3-6
PneuAlpha2 Simple Application System Menu 3
3-7
PneuAlpha2 Simple Application System Menu 3
3-8
PneuAlpha2 Simple Application System Menu 3
3-9
PneuAlpha2 Simple Application System Menu 3
3 - 10
PneuAlpha2 Simple Application System Menu 3
3 - 11
PneuAlpha2 Simple Application System Menu 3
3 - 12
PneuAlpha2 Simple Application System Menu 3
3.6.1 ProgEdit
Refer to the Direct programming chapter 4 for detailed combinations of key presses to be able
to program the PneuAlpha2 Series Controller.
3 - 13
PneuAlpha2 Simple Application System Menu 3
3.6.3 ClockSET
To set the Clock:
1 ) From the TopMenu, scroll to ClockSet and press the OK key.
2 ) From the options that appear, choose ClockSet and press the OK key.
3 ) Use the arrow keys to move an area that needs to be changed.
4 ) Adjust with the + or - keys.
5 ) Repeat steps 3-4 until ALL changes have been accomplished.
6 ) Press the OK key to accept all the changes.
7 ) Press the ESC key to return to the Top Menu having discarded the clockset options.
3.6.4 SummerTime
The Summertime menu will display six choices when entered.
Cancel - Turns off the Summertime clock setting.
Manual On - Moves the clock one hour ahead immediately and will remain ON until cancelled.
Date Type - Set the On date, Off date, and Time adjustment.
UK Type - Last Sunday of March to the last Sunday of October.
US Type - First Sunday of April to the last Sunday of October.
EU Type - Last Sunday of March to the last Sunday of October.
The time changes for the UK type take place at 1:00 AM in the Spring and 2:00 AM in the
Autumn. Time changes in the EU setting take place at 2:00 AM in the Spring and 3:00 AM in
the Autumn. The date settings are equivalent.
If the display time has been adjusted for the Summertime setting, an s will precede hour
number on the screen.
3 - 14
PneuAlpha2 Simple Application System Menu 3
3.6.5 Password
The password consists of four digits and will prohibit entry into the ProgEdit, Monitor, Disp
Pass and Serial Com modes only. All other menu options can be accessed when a Password
is used.
To Enter a Password:
1 ) Select Other Menu Option.
2 ) Select Password from the Other Menu Options
3 ) Use the + and - keys to enter the desired password.
4 ) Press the OK key to accept and activate the password.
5 ) A key symbol will now be displayed at the top of the PneuAlpha2 display.
To Cancel a Password:
1 ) Select the Other Menu Option.
2 ) Select Password from the Other Menu Options. Cancel Password should appear on
the top of the screen.
3 ) Use the + and - keys to enter the current password.
4 ) Press the OK key to accept and deactivate the password.
5 ) The key symbol will be removed from the PneuAlpha2 display.
Command - Enter the AT command for the modem to be connected to the controller.
Reference the Modem User manual for details on that units AT command. Choose the first
letter or symbol by using the ( ) and ( ) arrows. When the symbol is showing in the
command line, use the ( ) and ( ) arrows to move to adjoining spaces. Enter up to 64 letters/
symbols and accept the whole string with the OK key when finished inputting the data.
(There is no need to accept each letter with the OK key).
Delay - The Delay function sets the length of time the PneuAlpha2 will wait after entering the
Run mode before turning on the modem. Choose a value of 0 - 10 seconds using the + or -
keys. The modem connected to the Personal Computer with the VLS software must be set
ON prior to the PneuAlpha2 modem turning on.
The GSM function allows a SMS (Short Message Service) message to be sent to either a
mobile telephone or an email account. The SMS provides the remote user with the identical
LCD screens data. Refer to the PneuAlpha2 Communication Manual for detailed explana-
tion concerning GSM parameters.
3 - 15
PneuAlpha2 Simple Application System Menu 3
The OtherCom function provides the user with an on-line programming feature using
dedicated protocol. Refer to the PneuAlpha2 Communication Manual for detailed explana-
tion concerning Dedicated Protocol parameters.
To Verify a Program:
3 - 16
PneuAlpha2 Simple Application System Menu 3
3 - 17
PneuAlpha2 Simple Application System Menu 3
3 - 18
PneuAlpha2 Simple Application Direct Programming 4
4. Direct Programming
The PneuAlpha2 can be programmed using the front panel keys on the PneuAlpha2 series
controller. When the function block diagram is complete, the program can be logically entered
into the PneuAlpha2. The following sections will describe how to connect/disconnect function
blocks, set program parameters, add Function Blocks, and move around within the program.
The ProgEdit mode in the Stop Menu has full programming capability. The Monitor mode in the
Run Menu has the capability to manipulate Function Block values and settings but cannot edit,
change, or delete the existing program.
4.2.1 To connect the blocks from the left (signal provider) block to right (signal
receiver) block.
It is necessary to choose the block to provide the output (step 1), the block to accept the signal
(step 2), and the pin with which to accept the signal (step 3).
1 ) Step 1: Select the block providing the data to be output and move to the right until the
output pin is flashing. Press the + button to add a block.
2 ) Step 2: Choices will appear on the right side of the screen that include System Outputs (if
available), existing Function Blocks that have free input pins, and the option to add a new
function block (AddFB, see section 4.4). Scroll to the preferred option and select using the
OK key.
4-1
PneuAlpha2 Simple Application Direct Programming 4
3 ) Step 3: The block accepting the signal will display as many of its input pins as possible (at
times they will not all fit on-screen). Pins that have been used will show as filled
triangles; pins that are open will show as > signs. A Connect prompt will appear on-
screen, either above or below the left hand block. The current input choice will flash. Scroll
to the desired pin and press the OK key to accept. The process is complete.
4.2.2 To connect the blocks from the right (signal receiver) block to left (signal
provider) block.
It is necessary to choose the block input pin (Step 1), the signal provider (Step 2), and to
accept the connection (Step 3).
1 ) Step 1: Select the block that will be receiving the signal and move left until an input pin is
flashing. Scroll to the desired unused input pin (>). Press the + key to begin the
connection process.
2 ) Step 2: Because output pins may have multiple connections, all the Keys, Function Blocks,
System Inputs, Outputs will show on the left of the screen as well as an option to AddFB.
Scroll to the preferred option and Press the OK key.
3 ) Step 3: The chosen connection will be flashing on-screen along with the Connect prompt.
Press the OK key to accept.
Co n n e c t
P
In CN
4-2
PneuAlpha2 Simple Application Direct Programming 4
4.4.1 New FB
To use the New FB option, proceed to the Edit Menu (Chapter 3) using the ESC key. Scroll to
the New FB option and press the OK key. Scroll to the desired Function Block and press the
OK key to create a New FB. The block will appear on the Function Block Diagram board.
4.4.2 AddFB
When connecting a Function Block, scroll to the AddFB prompt and press the OK key. This
invokes the Function Block list. Scroll to the desired Function Block and choose by pressing
the OK key. The Function Block will be shown on the screen with the connecting block.
4.5.3 Delete FB
This menu option will Delete the current Function Block. After the Delete FB is chosen, confirm
the delete operation with OK or use the ESC key to cancel the function. All connections to
the Function Block will be removed with the block.
4-3
PneuAlpha2 Simple Application Direct Programming 4
4-4
PneuAlpha2 Simple Application Direct Programming 4
(1) It is possible to force ON/OFF, however, the status is decided by hardware control.
(2) It is possible to force ON/OFF, however, the status is decided by programming control.
(3) It is not possible to force ON/OFF.
4-5
PneuAlpha2 Simple Application Direct Programming 4
A solid rectangle will appear underneath the block number to signify that the block is ON. Input
pins will have a smaller solid block next to their arrow to show that they are activated. In the
block at right, the Delay output pins are ON, along with the input and output pins for the system
Output O01.
4-6
PneuAlpha2 Simple Application The Logic Function Blocks 5
5-1
PneuAlpha2 Simple Application The Logic Function Blocks 5
5-2
PneuAlpha2 Simple Application The Logic Function Blocks 5
5-3
PneuAlpha2 Simple Application The Logic Function Blocks 5
Input Output
On Off
Off On
5-4
PneuAlpha2 Simple Application The Logic Function Blocks 5
.
Table 5.6: NAND Logic gate
5-5
PneuAlpha2 Simple Application The Logic Function Blocks 5
5-6
PneuAlpha2 Simple Application Function Blocks 6
6. Function Blocks
The PneuAlpha2 series controller is fundamentally based on function block programming.
The blocks provide a wide range of possible operations and have been preprogrammed for
ease of use. Some Function Blocks have parameters that can be tailored to meet individual
requirements in the programs. Each function block will have a description of the Blocks
purpose, a diagram of how the Block will appear on-screen, and a description of the inputs,
outputs, and available options.
Table 6.1: Function Block List
Memory
FB Name FB Symbol Description of Function Block Use Section
6-1
PneuAlpha2 Simple Application Function Blocks 6
Memory
FB Name FB Symbol Description of Function Block Section
Use
T h e S c h m i t t Tr i g g e r F u n c t i o n B l o ck
compares an input value to preset high and
Schmitt low limits. The output is ON when the input
Trigger value reaches the high limit and then falls 19 Byte 6.17
[ST] below the lower limit. The function only
processes the data when the function block
is receiving an input signal.
6-2
PneuAlpha2 Simple Application Function Blocks 6
Memory
FB Name FB Symbol Description of Function Block Section
Use
The Hour Meter Function Block holds the
output status ON for a maximum of 32767
Hour hours, 32767 minutes and 59 seconds. If
Meter the input pin is turned OFF the elapsed 19 Byte 6.18
[HM] time will hold its value until either the clear
pin resets the time or the input pin is turned
ON again.
The Speed Detect Function Block is used to
count the incoming pulses max. 20Hz (with
Speed an extension module max. of 1kHz) for a
Detect set period of time. The upper and lower lim- 25 Byte 6.19
[SPD] its can be set from -32768 to +32767 and
the Period intervals set range is 1 to 32767
in 10ms increments.
The Pulse Width Modulation Function Block
changes the output status according to a
set period of time with a minimum of 100ms
PWM and a maximum of 3276700ms in 16 Byte 6.20
[PWM] increments of 100ms. The percentage duty
for the function controls the amount of
elapsed time before the output status is
changed.
The Alternate Function Block is used to
reverse the ON and OFF state of the output
as and when the input pin receives a signal.
Retentive The output will be set ON when the input
Alternate pin goes high and remain ON until the input 13 Byte 6.21
[RAL] receives the second rising edge. When the
power is turned OFF the function block will
use the last alternation operation to control
the output.
6-3
PneuAlpha2 Simple Application Function Blocks 6
Memory
FB Name FB Symbol Description of Function Block Section
Use
6-4
PneuAlpha2 Simple Application Function Blocks 6
Memory
FB Name FB Symbol Description of Function Block Section
Use
The Connect function block is an internal
device used to show the memory used by
input bits, system bits, AS-interface bits,
Connect and the operation keys. No function block
appears on screen or shows as being used 10 Btye 6.34
[ _B ] in the Memory Configuration Usage dialog
box, the purpose is only to calculate the
memory that is used by the bits listed
above.
Note:
*1 Number of bytes used = 19 + 1 x (Characters in equation)
*2 Number of bytes used = 8 + 4 x (Number of time switches)
*3 Number of bytes used = 30 + 1 x (Characters in equation)
*4 Number of bytes used is decided by the displayed item.
6-5
PneuAlpha2 Simple Application Function Blocks 6
6.1 Denitions
DirectSet - Enter a value using the + and - keys.
Analog In - An analog input value from a System Input (A01, A02, A03,... A08).
FB Value - A value contained in a Function Block (T, t, N, n, Direct set, etc.)
Word Comparison - a 16 bit output value from a Function Block.
6.2 Abbreviations
Table 6.2: Abbreviated terms used in describing function block
Term Description
I Input pin for function block operation
1,2,3,4 Numbered Input pins for boolean logic type function blocks
O Output pin for function block operation
S Set pin for the function block
R Reset pin for the function block
C Clear pin for the function block
U Increments a positive count to the Up/Down Counter Function Block
D Increments a negative count to the Up/Down Counter Function Block
P Preset signal input pin for the Up/Down Function Block
N The count value set by the user, range: 0 - 32767
The actual count value. This value can be set to a one time offset value,
n range: 0 - 32767
T For Shift function block only. Shift input pin
T User specified Set Time Value, range: 0 - 3276.7sec
t The elapsed time since the function set ON, range: 0 - 32767sec
Note: The following function block information, details specific explanation concerning front
panel programming using the PneuAlpha2 Series Controller. However, it is assumed the user
has read and understood Direct Programming Chapter 4. Thus, is capable of connecting
function blocks together using the dedicated front panel keys. Hence, each function block
provides step by step instructions for direct input having ignored the initial key presses detailed
in Chapter 4.
6-6
PneuAlpha2 Simple Application Function Blocks 6
1 ) Boolean Operation
6-7
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Boolean Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Select Setup FB using the and keys and press the OK key. The boolean function
block edit screen is displayed as shown.
4 ) Enter the boolean expression via the , , and keys. A boolean expression is
displayed as shown.
6-8
PneuAlpha2 Simple Application Function Blocks 6
2) Decides the status of the output depending which input pin has
priority.
Output ON OFF
6-9
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Set/Reset Function Block directly from the PneuAlpha2 Series Controller
1 ) Allocate the set and reset pins for the function block.
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Select Setup FB using the and keys and press the OK key. The Set/Reset priority
screen is displayed as shown.
4 ) Select the Set or Reset priority using the and keys and press the OK key to return
to the function block edit screen.
6 - 10
PneuAlpha2 Simple Application Function Blocks 6
1) From ON to OFF
Output
2) From OFF to ON
6 - 11
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Pulse Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Select Setup FB using the and keys and press the OK key. Select using the
and keys the initiation type for the pulse operation.
6 - 12
PneuAlpha2 Simple Application Function Blocks 6
2) The clear selection resets the output regardless of the input given.
1 ) Alternate Operation
6 - 13
PneuAlpha2 Simple Application Function Blocks 6
1) The lag time setting for energising the output from a given input
signal can be given a controlled delay time; The starting value has a
range from 0s to 32767s
2) The lag time setting for denergising the output from a given input
signal can be given a controlled delay time; The starting value has a
range from 0s to 32767s
Output 3) If the clear signal of the input pin C is turned on while the delay
function block is in operation consequentially the current value of the
ON delay timer and OFF delay timer resets to 0. Thus, the output is
turned OFF.
1 ) Delayed Operation
6 - 14
PneuAlpha2 Simple Application Function Blocks 6
2 ) ON delay timer
Setup of the Delay Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK key to set the Time unit for the delayed output.
4 ) Press the OK key having selected the value for the delayed time unit and return to the
function block edit screen. Using the and keys highlight the Setup FB and press the
OK key. The screen displayed is shown.
5 ) Select the On or Off Delay using the and Keys and press the OK key. The Delay
time can be entered using the + or - keys.
6 ) Press the OK key to accept the time figures and subsequently press the ESC key to
return to the function block edit screen.
6 - 15
PneuAlpha2 Simple Application Function Blocks 6
FB The One Shot time T and t can be set using the chosen time units.
2) The output is turned ON during the single shot time duration as and
when the input pin receives a signal.
Output
3) The output is cleared as and when the clear pin receives a signal.
2 ) Input priority
6 - 16
PneuAlpha2 Simple Application Function Blocks 6
Setup of the One Shot Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK key to set the Time unit for the delayed output.
4 ) Press the OK key having selected the value for the one shot time unit and return to the
function block edit screen. Using the and keys highlight the Setup FB and press the
OK key. The screen displayed is shown.
5 ) Select the One Shot or Priority option using the and Keys and press the OK key.
The One Shot time can be entered using the + or - keys.
7 ) Press the OK key to accept the time figures and subsequently press the ESC key to
return to the function block edit screen.
6 - 17
PneuAlpha2 Simple Application Function Blocks 6
2) The applicable range for the turning the output OFF is 0s to 32767s
FB Time intervals are 10ms, 100ms or 1s (*Note)
3) Blinking operation
a) Cycles count (frequency assigned operation) maximum
number of cycles to be set is 32767
b) Time count maximum 32767
c) Continuous control
The control operations provides an ON/OFF state for the output.
1) The output state directly reflects the ON and OFF condition of the
input signal at the input pin.
6 - 18
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Flicker Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK key to set the Time unit for the delayed output.
4 ) Press the OK key having selected the value for the flicker time unit and return to the func-
tion block edit screen. Using the and keys highlight the Setup FB and press the OK
key. The screen displayed is shown.
5 ) Select the On Time, Off Time or Period option using the and Keys and press the
OK key. The On Time can be entered using the + or - keys.
6 - 19
PneuAlpha2 Simple Application Function Blocks 6
8 ) Using the and keys highlight the Time option and press the OK key. The Time can
be entered using the + or - keys.
10 )Press the OK key to accept the time values and subsequently press the ESC key to
return to the function block edit screen.
6 - 20
PneuAlpha2 Simple Application Function Blocks 6
3) The largest schedule number is given priority when more than one
time switch function block occurs on the same day.
After choosing the type of time switch, a screen will appear with a time switch number flashing
in the top right corner. This screen is used to select the time switch to edit by using the + or -
keys. The only time switch available to begin is TS #01. Press the OK key to display the
option screen shown at right.
EditData - Edit the data for the time switch number shown in the top line.
NewData - Add a new time switch. Time switch numbers will increment from the highest
current number.
DelData - Deletes a time switch. Higher numbered time switches will decrement.
Choose EditData and enter data as described in the following sections:
6 - 21
PneuAlpha2 Simple Application Function Blocks 6
The example shows a time switch that will turn ON on August 3rd, 2002 at 9:00 AM (Note -
9:00 PM is designated on the 24 hour clock as 21:00). The day of the week is automatically
updated when the date is changed.
A Monthly mode is also available to the user for direct per month setting. The user can set an
ON or OFF condition for a specified date of the month. The time switch can also be
programmed to perform on a yearly basis. Reduce the year to below 1998; the numbers
signifying the year will display as "*" and the day of the week message will appear as Yearly.
The operation will perform each year on the specified date.
The example screen shown at the right shows that the Output will turn ON at the following
times:
The first week of the month on Monday, Wednesday, and Saturday at 11:20 AM.
The third week of the month on Monday, Wednesday, and Saturday at 11:20 AM.
The fourth week of the month on Monday, Wednesday, and Saturday at 11:20 AM.
6 - 22
PneuAlpha2 Simple Application Function Blocks 6
Choose the EditData option to view the selected time switch data.
Update data as required and accept with the OK key.
6 - 23
PneuAlpha2 Simple Application Function Blocks 6
Output 3) One incremental count is only registered if the input pin locates a
rising edge.
Setup of the Counter Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown
3 ) Press the OK Key and enter the counter function block settings using the +, -, and
keys.
4 ) Press the OK Key and return to the function block edit screen.
6 - 24
PneuAlpha2 Simple Application Function Blocks 6
Output 4) The ON status of the output is set from the current value equaling
or exceeding the set value.
5) The current value becomes the set value if the preset pin P
receives a signal; the status of the output becomes ON.
1 ) Counter Operation of input pin U, input pin D, current value and output
6 - 25
PneuAlpha2 Simple Application Function Blocks 6
2 ) Counter Operation of input pin U, input pin D, input C, input pit P, current value and output
Setup of the Up/Down Counter Function Block directly from the PneuAlpha2 Series
Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the Up/Down counter function block settings using the +, -,
and keys. The Direct Set of the count s ettings can be entered.
4 ) Press the OK Key and an Analog In function block value can be entered.
5 ) Press the OK key and using the ESC key return to the function block edit screen.
6 - 26
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Compare Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys.
4 ) Pressing the OK key invokes the menu thats lists the function block input data type.
6 - 27
PneuAlpha2 Simple Application Function Blocks 6
6 ) Or press the ESC key to return to the function block data input type menu, select the
Analog In selection and press the OK key
7 ) Or press the ESC key to return to the function block data input type menu, select the FB
Value selection and press the OK key.
8 ) Using either the OK key or the ESC key depending on the acceptance of the setting.
Press the OK key when the Condition is highlighted. Thus, selecting the correct compar-
ator from the range.
9 ) Having set the V1, condition and V2 simultaneously use the ESC key to return to the
function block edit screen.
6 - 28
PneuAlpha2 Simple Application Function Blocks 6
1) Data output:
6 - 29
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Offset Gain Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys. The
parameters A, B, X, C, Low limit and High limit have to be specified for the linear
expression to operate correctly..
4 ) Using the and arrows highlight A and press the OK key. A Direct Set using the +
and - keys can be entered, subsequently press the OK key to accept the Direct Set
value. (Repeat operation for B)
5 ) Highlight X using the and keys and press the OK key to set the Analog In channel.
6 ) The Analog In channel can be selected using the + and - keys, subsequently press the
OK key to accept the channel.
7 ) Highlight C using the and keys and press the OK key to set the constant value.
8 ) A Direct Set using the + and - keys can be entered, subsequently press the OK key to
accept the Direct Set value.
6 - 30
PneuAlpha2 Simple Application Function Blocks 6
9 ) Using the and arrows highlight the high and low limit values.
10 )Press the OK and a Directset of the Low limit can be entered using the + and - keys.
11 )Press the OK key to accept the value and use the and arrows to highlight the high
limit value. Press the OK key and a directset value can be entered using the + and -
keys.
6 - 31
PneuAlpha2 Simple Application Function Blocks 6
The following Data items can be viewed using the display function
block:
5) Date : mm/dd/yyyy
6) Time : hh:mm
Character strings that run over the available number of spaces on a line will show on the next
line down. Function Block values, analog values, date, and time will not be displayed on the
next line. Function Block and analog values will be automatically updated on the screen as
they change.
When entering character strings, choose the desired character with the or keys. Move to
the left or right with the arrow keys. Accept the data with the OK key after all the data has
been entered.
6 - 32
PneuAlpha2 Simple Application Function Blocks 6
To edit the time or date, press OK key when the appropriate data is flashing. Edit as required
and accept with the OK key. To edit the function block values, proceed to the value to be
adjusted as described above. Use the + and - keys to adjust the value onscreen and in
memory. To exit to the Top Menu, press the ESC and OK keys simultaneously. The Display
edit mode can be removed from the program by entering the - key in the function block setup
when the e is flashing. The e will disappear when the - key is pressed.
Setup of the Display Function Block directly from the PneuAlpha2 Series Controller
1 ) Allocate the input or word pin to be used for the function block.
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys. The
position element and type of data is required.
4 ) Press the OK key having highlighted Pos( 1,1) and a X and Y interger can be entered
using the + and - keys. The X and Y values represent the location coordinates for the
displayed data. Press the OK key to accept the coordinate values..
5 ) Using the and arrows highlight NoData. Press the OK key when ready.
6 - 33
PneuAlpha2 Simple Application Function Blocks 6
6 ) Highlight the Strings option using the and arrows and press the OK key to accept.
Either a Flicker or Scroll option can be selected to represent the string. If neither is elected
then a fixed position is indirectly chosen..
7 ) Press the OK key when either the Flicker or Scroll option is required. Set the Length (L)
and the Time (T) of the string using the + and - keys.
8 ) Press the OK key to enter the character string for the Display Function Block. A
combination of and and the and arrows is needed to enter the entire string.
Press the OK key to accept. .
10 )Press the OK key with A01 channel is flashing and either a value or graph can be viewed
for incoming analog data. Press the OK key for value and return to the previous screen ,
otherwise, highlight graph using the and and similarly press the OK key to set the
graphical parameters.
11 )The graph option allows graphical representation of data in the form of a horizontal
bargraph, therefore, three parameters need to be entered to define the limitations. The
Length (LEN) value of the bargraph can be entered using the + and - keys. Use the
and to hightlight the MAX and MIN options accordingly. The Maximum (MAX) and Mini-
mum (MIN) values can be entered using the + and - keys. Refer to Table 6.15 for range
settings for each parameter.
12 )If a Function Block Value is required to be displayed press the OK when FB Value is
highlighted in step 5.
6 - 34
PneuAlpha2 Simple Application Function Blocks 6
13 )If a Time Switch is required to be displayed press the OK when TS Data is highlighted in
step 5.
14 )If Date is required to be displayed press the OK when Date is highlighted in step 5.
15 )If a Time is required to be displayed press the OK when Time is highlighted in step 5.
16 )Press the ESC key and return to the FBd for further programming.
6 - 35
PneuAlpha2 Simple Application Function Blocks 6
Set Priority - The Output turns ON when the Input Value is equal to or between the High and
Low Limits.
Reset Priority - The Output turns ON when the Input Value is outside the High and Low
Limits.
1) ON in the zone
The value from the input pin is compared with the preset high and low
values and sets the output ON when the zonal compare condition is
satisfied.
Output Otherwise the output is OFF.
6 - 36
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Zone Compare Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys.
7 ) Press the OK key and data from another function block can be entered.
8 ) Having set the L and H condition using the same procedure and specified the Set or Reset
while in zone compare area use the ESC key to return to the function block edit screen.
6 - 37
PneuAlpha2 Simple Application Function Blocks 6
When the High Limit value is less than the Low Limit value, the Output ON/OFF pattern is
reversed. When the Input Value is greater than or equal to the Low Limit Value, the Output
turns OFF. When the Input Value is equal to or less than the High Limit value, the Output
comes ON. The input pin must be ON for the Function Block to register a new value from a
Function Block or Analog Input. Therefore, the input pin must be ON for the status of the
Output to change. The input pin does not have to be ON for the Output to be ON.
6 - 38
PneuAlpha2 Simple Application Function Blocks 6
Note: *1 For Analog or FB value inputs the lower and higher limits are not equal.
6 - 39
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Schmitt Trigger Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys.
4 ) Press the OK key with the InputVal highlighted and the user can enter a the appropriate
Input Val data from either a DirectSet, Analog In or other FB Values.
5 ) The Low and High limit can be given Input Val data from either a DirectSet, Analog In or
other FB Values. Press the ESC key to return the edit screen for the function block and
the user can change the low or high limits either by DirectSet, Analog In or FB Value.
6 - 40
PneuAlpha2 Simple Application Function Blocks 6
Output 3) The current time value is reset if the clear pin receives a signal.
6 - 41
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Hour Meter Function Block directly from the PneuAlpha2 Series Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK key to set the Time unit for the delayed output.
4 ) Press the OK key having selected the correct time unit and return to the function block
edit screen. Using the and keys highlight the Setup FB and press the OK key.
5 ) Press the OK key with Hour highlighted and using the , , + and - Keys enter the total
hour time for the specified block.
6 ) Press the OK key with Minute highlighted and using the , , + and - Keys enter the
total minute time for the specified block.
6 - 42
PneuAlpha2 Simple Application Function Blocks 6
1) Speed and output values will not be cleared unless the clear pin
receives a signal to reset the counter.
Note: The Speed Detect function (SPD) block can use only 1 high speed frequency
(Max.1kHz) in any one program. Subsequent SPD function blocks can only use a
maximum of 20Hz for high speeding counting.
6 - 43
PneuAlpha2 Simple Application Function Blocks 6
6 - 44
PneuAlpha2 Simple Application Function Blocks 6
6 - 45
PneuAlpha2 Simple Application Function Blocks 6
6 - 46
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Speed Detect Function Block directly from the PneuAlpha2 Series Controller
3 ) Press the OK Key and enter the function block settings using the and keys.
4 ) Press the OK key with Period highlighted and the user can enter a T and t value using the
, , + and - keys.
5 ) Press the OK key to return to the function block settings screen. Highlight the
Speed(L,H) option using the and keys. The limits can be set by highlighting L or H
and pressing the OK key. A Directset value, Analog In or FB value can be entered.
6 ) Press the ESC key until the user returns to the function block diagram.
6 - 47
PneuAlpha2 Simple Application Function Blocks 6
2) The width of the pulse is dominated by the duty and value of the
period.
1) The bit output pin is set on for the length of the duty specified.
Output
2) The following items are available for other function blocks:
a) Set Period
b) Current Period
Note: The ON/OFF time cannot be less than one scan time for the controller; otherwise, the
PWM Function Block will not perform its assigned task for the time specified. Users can
monitor the scan time from the PneuAlpha2 Series Controller. Scan time is dependent on the
user-program; therefore, caution is needed as and when time units are selected.
6 - 48
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Pulse Width Modulation Function Block directly from the PneuAlpha2 Series
Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the Up and Down keys.
4 ) Press the OK key with Period highlighted and the user can enter a T and t value using the
, , + and - keys.
5 ) Press the OK key to return to the function block settings screen. Highlight the Duty option
using the 0 and keys. The Duty can be entered by pressing the OK key. A Directset
value, Analog In or FB value can be entered.
Press the ESC key until the user returns to the function block diagram.
6 - 49
PneuAlpha2 Simple Application Function Blocks 6
1) Reverse the ON/OFF state of the output whenever the input sig-
nals ON/OFF operation to the input pin is turned ON (ON to OFF or
Output OFF to ON)
2) The clear selection resets the output regardless of the input given.
6 - 50
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Addition Function Block directly from the PneuAlpha2 Series Controller
1 ) Allocate the input pin to be used for the function block.
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys. The
Addition operation Y=A+B must be specified.
4 ) Using the and keys highlight Constant A and press the OK key to enter either a
Directset, Analog In or FB Value.
5 ) Repeat step 4 for Constant B and return to the FBd using the ESC key.
6 - 51
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Subtraction Function Block directly from the PneuAlpha2 Series Controller
1 ) Allocate the input pin to be used for the function block.
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys. The
Subtraction operation y=A-B must be specified.
4 ) Using the and keys highlight Constant A and press the OK key to enter either a
Directset, Analog In or FB Value.
5 ) Repeat step 4 for Constant B and return to the FBd using the ESC key.
6 - 52
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Multiplication Function Block directly from the PneuAlpha2 Series Controller
1 ) Allocate the input pin to be used for the function block.
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys. The
Multiplication operation y=AB must be specified.
4 ) Using the and keys highlight Constant A and press the OK key to enter either a
Directset, Analog In or FB Value.
B 0 0 1 :M U L
D i re c tS e t
A n a lo g In
F B V a lu e
5 ) Repeat step 4 for Constant B and return to the FBd using the ESC key.
6 - 53
PneuAlpha2 Simple Application Function Blocks 6
- Quotient (Q) > 32767: Output pin is turned ON and the quotient Q
will be set to 32767.
Setup of the Division Function Block directly from the PneuAlpha2 Series Controller
1 ) Allocate the input pin to be used for the function block.
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK Key and enter the function block settings using the and keys. The
Division operation Q=A/B must be specified.
4 ) Using the and keys highlight Constant A and press the OK key to enter either a
Directset, Analog In or FB Value.
5 ) Repeat step 4 for Constant B and return to the FBd using the ESC key.
6 - 54
PneuAlpha2 Simple Application Function Blocks 6
2) Bit Output
Output - Operation result Y<-32768: Output pin is turned ON and the
Quotient (Q) will be set to -32768.
- Operation result Y>32767: Output pin is turned ON and the Quo-
tient (Q) will be set to 32767.
- The divisor is 0: Output pin is turned ON and the Quotient (Q) will
be reset to 0
Term Description
Y Operation result
A, B, C and D Input value
+ Calculation sign for addition
- Calculation sign for subtraction
Calculation sign for multiplication
/ Calculation sign to request the Quotient
% Calculation sign to request the reminder
6 - 55
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Calculation Function Block directly from the PneuAlpha2 Series Controller
1 ) Allocate the input pin to be used for the function block.
3 ) Press the OK Key and enter the function block settings using the and keys. The
Calculate operation [y= ] must be specified.
4 ) While the cursor is flashing, use the and keys to select the appropriate character or
constant for your intended calculation. The following items are offered: A, B, C, D, +, -, *, /,
%, ( or )
5 ) DirectSet values, Analog In or FB Value can all be entered for each constant.
6 - 56
PneuAlpha2 Simple Application Function Blocks 6
2) If the Set signal is set ON, the Output signal will be set ON.
Output
3) If the Reset signal is set ON, the Output signal will be reset to OFF.
4) Once both the Set and Reset signals have been set ON
simultaneously, the Set operation will take precedence over the Reset
operation (Set operation has high priority),i.e. Set > Reset > Shift.
1 ) Shift Operation
6 - 57
PneuAlpha2 Simple Application Function Blocks 6
6 - 58
PneuAlpha2 Simple Application Function Blocks 6
5) After the third retry the output status will switch to ON and an error
message generated through the word pin of the function block.
Output 2) If more than one SMS function block exists on the program, a FIFO
(First In First Out) sequence is performed.
6 - 59
PneuAlpha2 Simple Application Function Blocks 6
1 ) GMS Operation
Communication failure will tell the SMS function block to retry on three occasions in a period of
two minutes.
6 - 60
PneuAlpha2 Simple Application Function Blocks 6
The GSM Function block will send the SMS packet when the input pin is activated. To input or
edit the GSM/SMS parameters, double click on the GSM/SMS icon to open the Short Message
Service dialog box in ECC-PNAL-PCS/WIN-E. When two or more Function Blocks are trying to
send a message at the same time, the one to connect first will send its SMS message
including three retries if necessary. The other GSM/SMS FB(s) will be placed in Wait status.
All the FBs will send their messages in turn.
*1 - The most common Wait status conditions are when 1) another GSM FB is transmitting a
message, 2) the GSM modem has not been initialised, or 3) Remote Access by the VLS
software is taking place. After the Output is turned OFF, the Word output status will also be
reset to 0.
Note: The Word Value will be displayed in hexadecimal format but the Table is given in binary
form. If b2 is On, for example, the Output Word will display a value of 00x4 (hex). It is possible
that more than one bit will be ON simultaneously.
6 - 61
PneuAlpha2 Simple Application Function Blocks 6
6.28.6 Setting
This box will open the SMS Setting Dialog box. The information for the destination locations is
entered in the SMS Setting dialog box but the final destination is chosen in the Destination
area below.
6.28.7 Destination
The Destination telephone numbers and e-mail Gateway parameters are shown. Choose the
desired destination phone number or Gateway setting for the specific GSM/SMS Function
Block. The choice of a mobile phone number will complete the selection process. If the
Gateway setting is chosen, the destination e-mail address must be entered in the E-mail box.
Every GSM/SMS FB can have a different e-mail address. Press the OK button to accept the
settings.
6 - 62
PneuAlpha2 Simple Application Function Blocks 6
6.28.11 Destination
Click the Mobile Phone circle to input data for a mobile phone. Use the Name # as an
optional memo area. Enter the Destination phone number in the Phone Number # box.
Please verify with the Service Provider whether the International code is needed at the
beginning of the phone number. Click the Gateway circle to input data in order to send an e-
mail. Use the Name # as an optional memo area. Enter the e-mail access code from the
Service Provider in the Phone Number # box.
These destination numbers will be valid for all SMS function blocks. E-mails can be
sent to as many addresses as the PneuAlpha2 memory allows. SMS messages can be
sent to a maximum of three telephone numbers.
6 - 63
PneuAlpha2 Simple Application Function Blocks 6
The CME and CMS Error boxes give information to the functioning of Mobile Equipment (ME),
please refer to the GSM modem manual for more details.
The numerous parameters and options for using the GSM modem can
be set using the front panel keys although this procedure is
significantly more difficult than using the ECC-PNAL-PCS/WIN-E
software.
To begin the process from the Top Menu, scroll down to Others/Serial
Com/GSM and view the options shown at right.
6 - 64
PneuAlpha2 Simple Application Function Blocks 6
Data Length
Select a Data length send parameter of 7 or 8 bits.
Parity
Select from three options for Parity - None, Odd or Even.
Stop Bits
Choose the number of stop bits - 1 bit or 2 bits.
Baud Rate
Select the baud rate - 9600 or 19200 bps.
Default
The controller can be returned to the default communication settings -
DataLength = 8 bits; Parity = None; Stop Bits = 1; and Baud Rate = 9600 bps - by pressing the
OK when the pointer is on the Default option.
Command Setting
Choose Command to enter the AT command. Details for the AT
command should be included in the literature for the modem. Enter the
string by choosing the characters with the and arrows. When a
desired letter is shown onscreen, move to the right by pressing the
key. The character will remain in the previous cursor space. Do not press the OK key until the
command has been entered in its entirety. Move to the left for editing purposes with the
key.
Delay Time
The Delay Time Setting will delay the transmission of the initialization
command while the modem completes its power up. Use the + key to
increment the value and the - to decrement the value within the range
of 0 - 10 seconds. Enter the value by pressing the OK key.
6 - 65
PneuAlpha2 Simple Application Function Blocks 6
Three destination mobile telephone numbers can be entered, one in each DA address.
Alternately, two mobile phone numbers and one e-mail gateway access code can be entered.
Only one e-mail access code needs to be entered and then multiple e-mail addresses can be
input, one each per GSM/SMS Function Block.
6 - 66
PneuAlpha2 Simple Application Function Blocks 6
Validity Period
The Validity Period is a request to the SMS Service Provider to keep
the message on their Server for a length of time. Each Service
Provider may have their own policies on the allowable time messages
can be kept. Please check with your local Service Provider to obtain
these details. Use the + and - keys to change the value within the range of 5 minutes to 63
weeks.
GSM Status
Check the status of the GSM communication in the following
categories.
Check the Status of the GSM modem settings and SMS message
transmissions through the table below.
Note: *1 This bit is not linked to the Remote Access Setting which only enables remote
access. This bit checks if Remote Access is currently in progress.
6 - 67
PneuAlpha2 Simple Application Function Blocks 6
CME Error
This CME Error status gives information to the functioning of Mobile
Equipment (ME), please refer to the GSM modem manual for more
details.
Table 3.2: Mobile Equipment Error Codes
Value Description Value Description
-1 No Error 17 SIM PIN2 Required
0 Phone Failure 18 SIM PUK2 Required
1 No Connection to Phone 20 Memory Full
2 Phone-Adaptor Link Reserved 21 Invalid Index
3 Operation Not Allowed 22 Not Found
4 Operation Not Supported 23 Memory Full
5 PH-SIM PIN Required 24 Text String Too Long
10 SIM Failure 25 Invalid Characters in Text String
11 SIM PIN Required 26 Dial String Too Long
12 SIM PUK Required 27 Invalid Characters in Dial String
13 SIM Failure 30 No Network Service
14 SIM Busy 31 Network Timeout
15 SIM Wrong 100 Unknown
16 Incorrect Password ...256 All other values below 256 are reserved.
CMS Error
This value gives error information relevant to the Mobile Equipment
(ME) or Network, please refer to the GSM modem manual for more
details.
128 - 256 GSM 03.40 Subclause 9.2.3.22 317 SIM PIN2 Required
values
300 ME Failure 318 SIM PUK2 Required
301 SMS Service of ME reserved 320 Memory Failure
302 Operation Not Allowed 321 Invalid Memory Index
303 Operation Not Supported 322 Memory Full
304 Invalid PDU Mode Parameter 330 SMSC Address Unknown
305 Invalid Text Mode Parameter 331 No Network Service
310 SIM not Inserted 332 Network Timeout
311 SIM PIN Required 340 No +CNMA acknowledgment expected
312 PH-SIM PIN Required 500 Unknown Error
Unused Values in the range from 256 to 511
313 SIM Failure ... 511 are Reserved.
314 SIM Busy 512 (+) Manufacturer Specific
6 - 68
PneuAlpha2 Simple Application Function Blocks 6
6 - 69
PneuAlpha2 Simple Application Function Blocks 6
3) The clear signal input reset the output, random one shot value and
current time.
5) If the Upper threshold is less then than the lower threshold, the
random one shot time is set in the range 0 to upper threshold or lower
threshold to 32767.
Setup of the Random One Shot Function Block directly from the PneuAlpha2 series Controller
1 ) Allocate the input pin to be used for the function block.
6 - 70
PneuAlpha2 Simple Application Function Blocks 6
3 ) Press the OK key to set the Time unit for the random delayed output.
Choose either a 10ms, 100ms or 1s time interval using the and keys to highlight the
option and press the OK key when ready.
4 ) Return to the function block edit screen. Using the and keys highlight the Setup FB
and press the OK key.
5 ) A RandomVal in conjunction with the specified time units allocated earlier can be entered
from pressing the OK key having highlighted the RandomVal option using the and
keys. Press the key hence highlighting the 0s time value and use the + or - keys to
enter a time value. Press the OK key to accept and return to the function block setting
screen.
6 ) Highlight the Limit:L,H option and press the OK key. A high and low limit can be set for
the Random One Shot function block. Using the , , + and - keys enter values for the
high and low limits in accordance with the time intervals specified earlier.
7 ) Press the OK key to accept the High and Low limit subsequently use the ESC key to
return to the FBd
6 - 71
PneuAlpha2 Simple Application Function Blocks 6
5) When the Clear signal is set ON, the current Delay Time, current
One Shot Time will be cleared. The Output will reset OFF.
The following items are available for another function block:
1) Word Output
a) Delay
Output b) Current Delay
c) One Shot
d) Current One Shot
Note: The set time cannot be less than one scan time for the controller; otherwise, the Delayed
One Shot Function Block will not perform its assigned task for the time specified. Users can
monitor the scan time from the PneuAlpha2 Series Controller. Scan time is dependent on the
user- program; therefore, caution is needed as and when time units are selected.
6 - 72
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Delayed One Shot Function Block directly from the PneuAlpha2 Series
Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK key to set the Time unit for the random delayed output. Choose either a
10ms, 100ms or 1s time interval using the and keys to highlight the option and press
the OK key when ready.
4 ) Return to the function block edit screen. Using the Up and Down keys to highlight the
Setup FB and press the OK key.
6 - 73
PneuAlpha2 Simple Application Function Blocks 6
5 ) Highlight DelayTime from the list of options and press the OK key. The Delay Time can
be entered using the , , + and - keys.
6 ) Highlight OneShot from the list of options and press the OK key to enter times. The One
Shot Time can be entered using the , , + and - keys.
7 ) Highlight Condition from the list of options and press the OK key to enter either a
RiseEdge or a FallEdge for the Delayed One Shot Operation.
8 ) Press the OK key to accept and use the ESC key to return to the FBd.
6 - 74
PneuAlpha2 Simple Application Function Blocks 6
6 - 75
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Delayed Alternate Function Block directly from the PneuAlpha2 Series
Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the OK key to set the Time unit for the delayed alternate output. Choose either a
10ms, 100ms or 1s time interval using the and keys to highlight the option and press
the OK key when ready.
4 ) Return to the function block edit screen. Using the and keys highlight the Setup FB
and press the OK key.
5 ) Press the OK to accept subsequently use the ESC key to return to the FBd.
6 - 76
PneuAlpha2 Simple Application Function Blocks 6
6 - 77
PneuAlpha2 Simple Application Function Blocks 6
Setup of the Retentive Set/Reset Function Block directly from the PneuAlpha2 Series
Controller
2 ) Press the OK key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) The function block operates on a Set or Reset priority. Select the priority using the and
keys and subsequently press the OK key.
4 ) Press the OK key and use the ESC key to return to the FBd.
6 - 78
PneuAlpha2 Simple Application Function Blocks 6
6 - 79
PneuAlpha2 Simple Application Function Blocks 6
6 - 80
PneuAlpha2 Simple Application Function Blocks 6
2) Click the Insert CDP button to Insert CDP function block for the control user screen
function
6 - 81
PneuAlpha2 Simple Application Function Blocks 6
3) Choose the CDP (Control Display Function) icon to add a DP (Display function block) for
each user screen..
4) Click the Add DP button to add DP function block(s) for the CDP function block. It is
possible to add a maximum of 10 DPs into 1 CDP.
6 - 82
PneuAlpha2 Simple Application Function Blocks 6
5) Choose the Display icon for indication BF (Function Block) or Analog value, and click
Connect button.
When not displaying them, please go to step 7)..
6) Click the Connect button to display the FB value or the Analog Input value
- Free: Displays the Text, Date or Time. (Default setting)
- FB Word Output: Displays FB value. Choose function blocks from list.
- Analog Input: Displays Analog Input value. Choose Analog Input port.
When completing connection, click the "OK" button.
6 - 83
PneuAlpha2 Simple Application Function Blocks 6
7) Double-click the Display icon or click the Open button to set parameters. Further
information about parameters of the Display function block can be found in the
programming manual and Help on the ECC-PNAL-PCS/WIN-E.
On completion of the parameter settings, click the OK button.
Choosing Free on step 6).
6 - 84
PneuAlpha2 Simple Application Function Blocks 6
6 - 85
PneuAlpha2 Simple Application Function Blocks 6
8) Double-click the CDP icon or click the Open button to set parameter.
9) Select the signal for changing user screens from the pull-down menu options.
6 - 86
PneuAlpha2 Simple Application Function Blocks 6
10)Select the next displayed user screen from the pull-down menu options.
When completing the control key setting, click the "OK" button.
6 - 87
PneuAlpha2 Simple Application Function Blocks 6
MEMO
6 - 88
PneuAlpha2 Simple Application Lets Make a Program 7
For the program below, none of the above options need be set. Use the ProgClear to erase
the current memory contents with OK. To confirm the memory erase, press OK" again.
The input pins are shown on the left side of the FB and the output pins are shown on the
right side of the blocks. Note that each input pin can receive only one signal but the output
pins can provide signals to multiple sources.
7-1
PneuAlpha2 Simple Application Lets Make a Program 7
If during the course of the programming you wish to begin again, use the ESC key to
enter the Edit Menu. Use the Exit option to go back to the TopMenu. Erase the memory
using ProgClear and the user can begin again.
7.3.1 Adding Function Blocks by the Left to Right method (Section 4.2.1)
The first block that is shown will be the Input Block I01 with the Input number 01 flashing.
Press the + or - keys to scroll through the available programming blocks including Out-
puts, M bits, Keys, and the Inputs. Return to I01. Press the ( ) arrow key. The output pin
should now be flashing.
Press + to attach a function block to Input I01. The options available to connect to the
Input block will be shown on the right hand side of the screen. Use the ( ) and ( ) arrows
to move to the option to select, AddFB. Enter OK.
The FB select menu containing all 37 Function Blocks (including logic blocks) will appear
(picture). Again, use the ( ) and ( ) arrows to scroll to the desired Function Block, in this
case the One Shot (OS) Function Block. Use the OK button to accept.
The OS block has two input pins, the Input Pin on top and the Clear Pin beneath. Use the
( ) and ( ) arrows to choose the desired pin, in this case the Input pin. Confirm using the
OK button.
Use the ( ) arrow twice to move right until the OS output pin is flashing (picture). Enter the
+ key to add a block. There is no need to enter the AddFB mode because O01 will appear
on the list of blocks to add. Use the ( ) and ( ) arrows to scroll to O01, accept with the
OK key, and then confirm with the OK key.
7-2
PneuAlpha2 Simple Application Lets Make a Program 7
Move to the right one space so that the output pin is flashing. Connect I02 to the OR block,
(the same procedure as connecting I01 to the One Shot Block). The input pins for the OR
Block are equivalent so that any input pin can be chosen. [The key sequence for the OR
Block addition is OK, scroll to AddFB, OK, scroll to OR, OK, OK].
Move right until the OR output pin is flashing. Connect Output O03 in the same manner
that O01 was added. [The key sequence will be OK, scroll to O03, OK, OK].
With the OR output pin still flashing (see diagram at right), press the + key again. The
output pin of the OR block can be connected to another location.
Scroll to B01OS and press OK. The OR block and the OS block can now be connected
through the Clear pin (picture). Since the OS Input pin on top has already been filled, there
can be no further connection to that pin.
Press OK to accept the connection to the C, or Clear pin. They are now connected
together.
Connect to the OR block [( ), +, scroll to B02OR (it should not be necessary to move in
this case), OK, OK].
7-3
PneuAlpha2 Simple Application Lets Make a Program 7
7.3.5 Connect the Function Blocks from Right to Left (Section 4.2.2)
Move to the left until one of the two input pins is flashing. The top pin is the Set pin which
will be connected to the OS block. The Reset pin on bottom will be connected to the OR
block. Move to the Set pin and press the + key; the available blocks to add will be shown
on the left of the screen. Scroll down through the choices until B01OS is shown (picture).
Use the OK to choose the block, then the OK key again to confirm the choice.
Use the ( ) arrow to move down to the Reset pin. Connect the OR block using the same
procedure. [+, scroll ( ) to B02OR, OK, OK]
Move to the SR output pin and connect Output O02 using the Left to Right method of con-
necting blocks. [( ), ( ), +, scroll to O02, OK, OK].
Move back to the left one space. The following diagram should now be showing on the
LCD.
7-4
PneuAlpha2 Simple Application Lets Make a Program 7
This is the only option in the SR Function Block. Use the ESC key to return to the Func-
tion Block Diagram board.
The OR Block, like all the Logic Blocks, does not have any parameters that can or need to
be set.
Proceed to the One Shot Function Block. Use either the Jump command, trace the path
through the Set pin, or simply press the + key to scroll through the Function Blocks.
Enter the Setup FB option. (When the One Shot Function Block number (01) is flashing,
press the OK key twice).
The One Shot Function Block allows the for three different time increment settings: 10ms,
100ms or 1s.
Press the OK key and select the Setup FB option subsequently press the OK to enter
function block settings. There are two option screens to be set. Enter the OneShot option
using the OK button
The One Shot screen has two timers that can be set. The T timer is the Set Time for the
One Shot block Output signal. The t timer is the elapsed time or actual time the OneShot
has been ON. If a value is input for t, the first time the One Shot block is activated it will
begin timing from the input value.
7-5
PneuAlpha2 Simple Application Lets Make a Program 7
Use the + button to enter the T timer of 20 seconds. Move down to the t timer and enter
the value of 5.0 seconds. The OK button will accept the data for the entire screen. If the
OK button is pressed before all the data on the screen is input, re-enter the screen and
input the data. Data can be changed or edited in the same manner.
Move down to the Priority screen. The Priority can be set for either Time or Input. Move to
the Time input and accept with the OK key. All the screen data has been set. Return to the
FBD board by using the ESC key.
7-6
PneuAlpha2 Simple Application Appendix 8
8. Appendix
8-1
PneuAlpha2 Simple Application Appendix 8
M08 ON when Stop mode turns to Run mode in the PneuAlpha2 Series. The ON
signal acts as a pulse output and then turns OFF.
M09 OFF when Stop mode turns to Run mode in the PneuAlpha2 Series. The OFF
signal acts as a pulse output and then turns ON.
M10 Reserved
M11 Reserved
M12 ON when CD (DCD) signal is turned ON (receiving CD signal from the modem.)
M13 ON when it is possible to access the GSD network.
8-2
PneuAlpha2 Simple Application Appendix 8
8-3
PneuAlpha2 Simple Application Appendix 8
8-4
PneuAlpha2 Simple Application Appendix 8
Memory
FB Name FB Symbol Description of Function Block Section
Use
Th e Z o n e C o m p a r e F u n c t i o n B l o c k
Zone identifies whether the input value lies within
Compare a specified upper limited and lower limited 20 Byte 6.16
[ZC] zonal area and if so changes the status of
the output accordingly.
8-5
PneuAlpha2 Simple Application Appendix 8
Memory
FB Name FB Symbol Description of Function Block Section
Use
The Hour Meter Function Block holds the
output status ON for a maximum of 32767
Hour hours, 32767 minutes and 59 seconds. If
Meter the input pin is turned OFF the elapsed time 19 Byte 6.18
[HM] will hold its value until either the clear pin
resets the time or the input pin is turned ON
again.
The Speed Detect Function Block is used
to count the incoming pulses max. 20Hz
Speed (with an extension module max. of 1kHz)
Detect for a set period of time. The upper and 25 Byte 6.19
[SPD] lower limits can be set from -32768 to
+32767 and the Period intervals set range
is 1 to 32767 in 10ms increments.
The Pulse Width Modulation Function Block
changes the output status according to a
set period of time with a minimum of 100ms
PWM and a maximum of 3276700ms in 16 Byte 6.20
[PWM] increments of 100ms. The percentage duty
for the function controls the amount of
elapsed time before the output status is
changed.
The Alternate Function Block is used to
reverse the ON and OFF state of the output
as and when the input pin receives a signal.
Retentive The output will be set ON when the input
Alternate pin goes high and remain ON until the input 13 Byte 6.21
[RAL] receives the second rising edge. When the
power is turned OFF the function block will
use the last alternation operation to control
the output.
8-6
PneuAlpha2 Simple Application Appendix 8
Memory
FB Name FB Symbol Description of Function Block Section
Use
8-7
PneuAlpha2 Simple Application Appendix 8
Memory
FB Name FB Symbol Description of Function Block Section
Use
The Connect function block is an internal
device used to show the memory used by
input bits, system bits, AS-interface bits,
000 and the operation keys. No function block
Connect I O appears on screen or shows as being used 10 Btye 6.34
[ _B ]
_B in the Memory Configuration Usage dialog
box, the purpose is only to calculate the
memor y that is used by the bits listed
above.
Note:
1 ) Number of bytes used = 19 + 1 (Characters in equation)
2 ) Number of bytes used = 8 + 4 (Number of time switches)
3 ) Number of bytes used = 30 + 1 (Characters in equation)
4 ) Number of bytes used is decided by the displayed item.
8-8
PneuAlpha2 Simple Application
Under no circumstances will SMC Pneumatics be liable or responsible for any con-
sequential damage that may arise as a result of the installation or use of this equip-
ment.
All examples and diagrams shown in this manual are intended only as an aid to
understanding the text, not to guarantee operation. SMC Pneumatics will accept no
responsibility for actual use of the product based on these illustrative examples.
Owing to the very great variety in possible application of this equipment, you must
satisfy yourself as to its suitability for your specific application.
SMC Pneumatics (UK) Limitted, Vincent Avenue, Crownhill, Milton Keynes, Bucks. MK8 0AN