Mitsubishi Electronics JY992D97701 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Mitsubishi Electronics JY992D97701. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Mitsubishi Electronics JY992D97701 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Mitsubishi Electronics JY992D97701 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Mitsubishi Electronics JY992D97701 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Mitsubishi Electronics JY992D97701
- nom du fabricant et année de fabrication Mitsubishi Electronics JY992D97701
- instructions d'utilisation, de réglage et d’entretien de l'équipement Mitsubishi Electronics JY992D97701
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Mitsubishi Electronics JY992D97701 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Mitsubishi Electronics JY992D97701 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Mitsubishi Electronics en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Mitsubishi Electronics JY992D97701, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Mitsubishi Electronics JY992D97701, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Mitsubishi Electronics JY992D97701. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    COMMUNICATION MANUAL α 2 SIMPLE APPLICATION CONTROL LER[...]

  • Page 2

    α 2 Simple Application Controllers For e w or d • This man ual cont ains te xt, diagr ams and e xplanations which wi ll guide the r eader in the correct progr amming and oper ation of the α 2 series contr oller . • Bef ore attempting to install or use the α 2 Series Controller this man ual shoul d be read and understood. • If in doubt at a[...]

  • Page 3

    i α 2 SIMPLE APPLICA TION CONTR OLLERS COMMUNICA TION MANU A L Manual numb er : JY992D9 7701 Manual revision : F Date : 3/20 08 α 2 Simple Application Controllers[...]

  • Page 4

    α 2 Simple Application Controllers ii[...]

  • Page 5

    F A X BAC K Mitsubis hi has a world wide reputation f or its eff or ts in cont inuall y de v eloping and pushing bac k the front iers of industrial automati on. What is someti mes ov er look ed by t he user is the car e and attent ion to detai l that is t aken wi th the document ation. Ho we ve r , to contin ue this process of improvement, the co m[...]

  • Page 6

    α 2 Simple Application Controllers iv[...]

  • Page 7

    α 2 Simple Application Controllers v Guidelines f or the safety of the user and pr otection of α 2 Simple Application Contro ller s This manual provides inf or mation f or the setup an d use of α 2 Simple Application Controllers that are being used in data communic ation applic ations . The manua l has been written to be used b y trained and com[...]

  • Page 8

    α 2 Simple Application Controllers vi[...]

  • Page 9

    α 2 Simple Application Controllers vii T able of Conten ts Guide line of Saf et y ........ ..... ....... ....... ........ ....... ....... ....... ....... ........ ....... .v 1. Communication Capabilities ....... .................................... ....................... 1-1 1.1 Sy stem C onfigu rati ons ...... ....... ...... ..... ...... .......[...]

  • Page 10

    α 2 Simple Application Controllers viii 3. Remote Access .. .................................... .................................... ...........3-1 3.1 GS M Re mote Acce ss ........ .... ....... ....... ...... ....... ...... ....... .... ....... ....... ...... ....... ....... 3 -1 3.1.1 Set Paramete rs from th e VLS softwar e ....................[...]

  • Page 11

    α 2 Simple Application Controllers ix 7. The Command String ..... .................................... ................................... 7-1 7.1 Fo rmat “A ” ..... ....... ...... ....... .... ....... ....... ...... ....... ...... ....... .... ....... ....... ...... ....... ....... 7-2 7.2 Fo rmat “B ” Mess age ... ....... ....... ...... [...]

  • Page 12

    α 2 Simple Application Controllers x MEMO[...]

  • Page 13

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 1 1. Comm unication C apabilities The α 2 Simple Application Controller has a wide range of communicatio n capabilities that include remote progr amming, sending SMS me ssage s to mobile tel ephones or e-mail accounts , and readi ng/writing data using a dedicated prot ocol. Thes[...]

  • Page 14

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 2 1.1 System Configura tions There are f our methods of modem communicati on av ailab le in the α 2 (AL2-14MR-*, AL2-24MR-*) Series Controllers 1 ) Send an SMS pack et to a Mobile phone . 2 ) Send an SMS pac ke t (inside an e-mail) to an e- mail account. 3 ) Remote access via GS[...]

  • Page 15

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 3 1.1.1 Send an SMS Messa ge to a Mob ile Phone The contents of the di spla y screen will be sent as an SMS pac k et to a mobile telephone . 1.1.2 Receive the Shor t M essage from a PC and phone The GSM sh or t message (SM) can be sent f rom a Mobil e phone , a Nor mal Phone (wit[...]

  • Page 16

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 4 1.1.3 Detect The Phone Ringing In case a GSM modem or a n analog modem that s uppor ts Calling Line Iden tificat ion Presenta- tion (CLI P) is called, the n umber of t he calling par tner is se nt by t he modem by the A T notifica - tion " +CLIP" attache d to the RING[...]

  • Page 17

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 5 1.1. 4 Send an E-ma il Messag e The SMS pac k et can be place d inside an e-mail as te xt. The e-mail address is e ntered into α 2 system parameters through the VLS softw are or the controller main menu. Ref er to chapter 2 to 4 f or fur ther detail ed inf ormation. The SMS pa[...]

  • Page 18

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 6 1.1.5 Pr ogram/monitor from re mote PC us ing a GS M Mod em Use the VLS so ftw are to monit or and set pa rame ters and bit d e vices or to upload/ downl oad progr ams. 1.1.6 Pr ogram/Monitor from remote PC using a standard Modem Use the VLS so ftw are to monit or and set pa ra[...]

  • Page 19

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 7 1.1.7 RS - 232 C Straight Ca ble The cab le pinout and conne ctor inf or mation is giv en below . AL2- GS M - C AB Si de (9 -p in D -S u b fe m a l e ) 1 2 3 9 8 7 6 5 4 20 22 1 2 3 8 7 6 5 4 M odem Si de ( 25-pi n D - Sub m a l e)[...]

  • Page 20

    α 2 Simple Application Controllers Communicatio n Capabilities 1 1 - 8 1.2 Dedicated Pr otocol Comm unication The α 2 (AL2-14MR-*, AL2-24MR-*) Series Co ntrol ler can transf er data T o/F rom a personal computer , HMI, or ot her peripheral eq uipment via Dedicated Prot ocol. Prog rams f or Dedicat ed Protocol can be written in C++. Visual Basic, [...]

  • Page 21

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 1 2. SMS/SMR/CD Func tions and th e Modem Setting SMS me ssages can be sent to mobile ph ones and e- mail accoun ts via a GSM mod em if cer tain parameter s in the α 2 controll er are correctly configure d. The output of SMR changes , when the command te x[...]

  • Page 22

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 2 2.1.1 GSM & Serial Comm unication Dialog Bo x The GSM and Se rial Communication Dialog Box is used to set the equipment and communi cation type f or the controller . Ref er to the AL-PCS/ WIN-E Softwar e Manual f or fur ther inf or mation concerning V[...]

  • Page 23

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 3 2.1.2 The “Initialize Modem...” Setting When the “Initiali ze Modem...” bu tton is clic k ed, the “Initi aliz e Controller Modem” dialog bo x is displa yed. This bo x is used to enter the A T command for the modem and the “P ower On Dela y?[...]

  • Page 24

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 4 GSM Preconfigure d Modems Please ref er to the T able 2.1 f or inf orm ation on the pre-configured modems av ailable in AL- PCS/WIN-E f or GSM modems. A T Command Profil e for GSM Modems Please re f er to the T able belo w for inf or mation on the A T com[...]

  • Page 25

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 5 Note: The Siemens M20 T GSM modem has been used as the def ault modem f or the α 2 Ser ies Controller , howe v er , if the user has installed a GSM modem of their choice with a diff erent A T command th en addit ional A T commands can be inclu ded. Hav i[...]

  • Page 26

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 6 2.2 The GSM/SMS Function Block The GSM/SMS Function b loc k is the trigger to send SMS messages. T o enter or edit the GSM/ SMS parameters, doub le clic k on the icon to open the Shor t M essage Ser vice dialog bo x described in Section 2.2.2. When two or[...]

  • Page 27

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 7 After the Inpu t Pin is tur ned OFF , the W o rd Output will also be reset to 0 when the communi cation is complete . Note: The W ord V alue will displa y a he xadeci mal n umber . Conv er t the he xadecimal numb er to binary f or m to chec k the v alues [...]

  • Page 28

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 8 C) Set ting This bo x will open t he SMS Setting Dialog bo x described in Section 2.2. 2. The SMS message destinat ions are input in th e SMS Setting dialog bo x. D) SMS Service Cent er This bo x shows inf or mation regarding acc ess to the SMS Provi der [...]

  • Page 29

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 9 A) SMS Service Cent er - Mobil e Enter the n umber giv en by the SMS Pr ovider f or M obile ac cess. It is possible tha t the sa me number will be used f or G ate wa y access. Please v erify with the Ser vi ce Provider whether the International code i s n[...]

  • Page 30

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 10 2.3 The SMR Fun ction Block The GSM shor t message (SM) can be sent from a cell phone , a nor mal phone (with SM func- tionalit y) or PC to a GSM modem that is connected t o an α 2 controller . α 2 control ler dete cts the deli v er y of SM b y the mod[...]

  • Page 31

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 11 2.3.1 The Shor t Messag e Receiving (SMR) The Shor t Message Ser vice dialog box is used f or a parameter setup when rec eiving a shor t message. A) Comment This edit box is used to enter a comm ent that will be display ed abov e the SMR icon and only wh[...]

  • Page 32

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 12 T able 2.4: Phone number s and Outputs E) - Acknowled ge If this chec k bo x is chec ked, then an Ackno wledge fla g will be set. Repor t shor t message handling Ac kno wledge messages FB numbe r Caller's phone number FB Ou tput +49 21 02 12 34 56 7[...]

  • Page 33

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 13 - Reten tive Chec k the "Ret entiv e" checkbo x is sto re the out put v alue e v en after a P ower c ut. - Maint enanc e If this chec k bo x is check ed the maintenance mode will be initiat ed. F) Short M essa ge Ag e This v alue defi nes the d[...]

  • Page 34

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 14 2.4 The CD Fu nction Block In case a GSM modem or an a nalog modem that suppor ts Calling Line Identif ication Presentati on (CLIP) is cal led, the number of the calling par tner is sent b y the modem b y the A T notifi cation " +CLIP" attached[...]

  • Page 35

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 15 2.4.1 C all Dete ct (CD) The Call Detect dialo g bo x is used f or a Phone Number and Number of rings setup .. A) Comment This edit bo x is used to enter a comment that will be displa y ed abov e the CD icon and only when the "Displa y Comment"[...]

  • Page 36

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 16 T able 2.5: Phone numbers and Outputs E) Maintenan ce If this chec k box is chec ked main tenance mode will be selected. F) Retent ive Chec k the "Ret entiv e" checkbo x is store the output v alue e ven aft er a P ower cut. G) Number of RING be[...]

  • Page 37

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 17 2.5 Set GSM Modem P arameter s fr om the Fr ont P anel K e ys The setti ngs required to send SMS pack ets via a GSM modem or to set up the α 2 c ontroller for remote acc ess can be a ccomplish ed with the front panel ke ys. T o begin the pr ocess from t[...]

  • Page 38

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 18 2.5.2 The GSM Init Command (GSM Initialization Comma nd) The GSM modem m ust ha v e an in itializ ation command string. Aft er choosing the “GSM Ini t” option, the Command and Dela y Time settings will appear . Comm and Sett ing Choo se “Comma nd?[...]

  • Page 39

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 19 2.5.4 S et SMS The SMS menu is use d to set th e telepho ne numbers f or the Se r vice Provider , the destination numbers f or mobile phones, the access code f or e-mail messages, and the V alidity P er iod of the messages . SMS Pr ovi der Mobile Access [...]

  • Page 40

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 20 2.5.5 G SM Status Chec k the status of the GSM communi cation in the f ollow ing categories . Status The status is given in hexadecimal numbers, conv er t to binar y numb ers to ch ec k again st the Stat us T able sh o wn in Secti on **. Err or codes are[...]

  • Page 41

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 21 2.6 Character s in GSM Pr otocol The f ollowing tab le gives the charac ters a v ailab le f or GSM/SMS communication as define d b y GSM standard 03. 38. The code n umbers are f or ref erence only and do no t need to be e ntered by the User . The α 2 co[...]

  • Page 42

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 22 2.6.2 French GSM Character s The f ollowing tab le sho ws the unsuppor ted F rench char acters in the GSM protoco l and ho w those char acters will appear in a GSM messag e. How e v er these char acters ar e suppor ted V er . 3.00 or l ater of α 2. 2.6.[...]

  • Page 43

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 23 2.7 AL-PCS/WIN-E Pr ogram Exa mple 2.7.1 SMS Function Bloc k Example T able 2.10: GSM Function Bl ock Note: *1 If a number of SMS Functi on Bloc ks hav e been used in one progr am the user must ta ke care when calculating the message sending order . The [...]

  • Page 44

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 24 Timing ch ar t f or th e SMS functi on bl oc k VLS progr am e xample f or the SMS function b lock FB Function Bloc k SMS Shor t M essage Ser vice T able 2.11: Abbreviat ed terms SMS Message Output pin * SMS Message Input pin SMS Message * * 1 scan time T[...]

  • Page 45

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 25[...]

  • Page 46

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 26 2.7.2 SMR Function Block Example T able 2.12: SMR Function Bl ock Function Set Ite m Descrip tion E Bit inp ut pin for the funct ion bloc k operat ion FB 1) Cmnd Str ing(Cmmand S tri ng) In case of Word output mode, onl y one co mmand t e x t can be s et[...]

  • Page 47

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 27 T able 2.13: Abbreviat ed terms T able 2.14: Phone number s and Outputs R Reset pi n f or the func tion bloc k Output The SM R FB can be operated in one of two different mode s. 1) Bit out put. a) The outp ut is se t ON, when th e s witch ON command is f[...]

  • Page 48

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 28 Report shor t message handling T able 2.15:Ac kno wledge messages Applicati on Example: Switch an irrigat ion system by SM A system f or plant irrigation can be sw itched ON and OFF by shor t message (B10). The star t of irrigation ca n be dela y ed. The[...]

  • Page 49

    α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 29 2.7.3 CD Function Bloc k Example T able 2.16: CD Function Bloc k T able 2.17: Abbreviat ed terms T able 2.18: Phone number s and Outputs Function Set Ite m Descrip tion E Bit inp ut pin for the funct ion bloc k operat ion FB 1) Re tent ion If this flag i[...]

  • Page 50

    α 2 Simple Application Controllers S MS/S MR/C D Func tion s an d the M odem Sett ing 2 2 - 30 Applicati on Example: Open r oller shutter b y phone call A roller sh utter gates the entr ance to a company f ield. Normally pedestrians only can pass t his gate. F our emplo yees need to pass the gate wit h a company car . These employ ees can open the[...]

  • Page 51

    α 2 Simple Application Controllers Remote Access 3 3 - 1 3. Remote Access The setti ngs required to send SMS pac kets via a GSM modem or to set up th e α 2 controller f or remote access can be accomplished wit h the front panel k eys . It is possib le to perf or m remote operat ions with a standard modem b ut it is not possi bl e to send SMS pack[...]

  • Page 52

    α 2 Simple Application Controllers Remote Access 3 3 - 2 3.1.2 GSM & Serial Comm unication Dialog Bo x The “GSM and Ser ial Commu nication” dialo g bo x is used to set the eq uipmen t and communi cation type f or the controller . A shor t e xplanation of each par ameter is giv en belo w . In order t o obtain remote ac cess using a GSM mod [...]

  • Page 53

    α 2 Simple Application Controllers Remote Access 3 3 - 3 3.1.3 GSM Modem Settings The nume rous parameters and options f or using the GSM modem can be set using the front panel ke ys although this proc edure is signif icantly more diff icult than using the AL-PCS/ WIN-E softwa re . T o begin the pr ocess from the T op Menu, sc roll down t o “Oth[...]

  • Page 54

    α 2 Simple Application Controllers Remote Access 3 3 - 4 3.1.5 Command Setting Choo se “Comma nd” t o enter the A T command. Detai ls f or t he A T command shoul d be included in the liter ature of t he modem. Enter th e string b y choosing the charact ers with the “ ” and “ ” arro ws. When a desir ed lett er is sho wn onscr een, mo ve[...]

  • Page 55

    α 2 Simple Application Controllers Remote Access 3 3 - 5 3.2 Standar d Modem Remote Access Cer tain para meters in the α 2 cont roller and standard modems mus t be set i n order to per f or m Remote Acces s fro m an e xternal PC . These par ameters can be set quic kly and eas ily in the VLS softw are or with slig htly more eff or t from the front[...]

  • Page 56

    α 2 Simple Application Controllers Remote Access 3 3 - 6 3.3.1 GSM & Serial Comm unication Dialog Bo x The “GSM and Ser ial Commu nication” dialo g bo x is used to set the eq uipmen t and communi cation type f or the controller . A shor t e xplanation of each par ameter is giv en belo w . In order to pe rf or m Remo te Acces s using a St a[...]

  • Page 57

    α 2 Simple Application Controllers Remote Access 3 3 - 7 3.3.2 Standar d Modem Settings A stan dard mode m can set up from the front panel ke ys bu t mus t be acc essed f rom the VLS soft ware packa ge. Once the Modem option i s entered, only tw o settings ar e required - the A T command and th e pow er On Dela y setting. This i s enough inf or ma[...]

  • Page 58

    α 2 Simple Application Controllers Remote Access 3 3 - 8 3.3.5 Standar d Preconfigured Modems Please refer to the T ab le below f or inf or mation on the Preconfigured m odems av a ilab le in the α 2 control ler f or standard modems . A T Command Profil e for Standard Modems Please re f er to the T able belo w for inf or mation on the A T command[...]

  • Page 59

    α 2 Simple Application Controllers Remote Access 3 3 - 9 Note: The 3COM (SP560-V), OMRON (ME3314) and AIW A (PV -AF3360) standard modem s ha v e been used as the def ault modem f or the α 2 Series Control ler , ho we ver , if the us er has i nstalled a standard modem of their choice with a diff erent A T command then additional A T com mands can [...]

  • Page 60

    α 2 Simple Application Controllers Remote Access 3 3 - 10 MEMO[...]

  • Page 61

    α 2 Simple Application Controllers SMS Messaging Diagnostics 4 4 - 1 4. SMS Messa ging Diagnostics The α 2 controll er has a number of Diagnostic messages i n both the contro ller and the VLS sof tware. 4.1 Check points f or Mobi le Phone Communication Pr oblems 4.2 Check points for E-mail Communication Pr oblems T able 4.1: Check P oints f or a [...]

  • Page 62

    α 2 Simple Application Controllers SMS Messaging Diagnostics 4 4 - 2 4.3 GSM Status Chec k the status of the GSM communi cation in the f ollow ing categories . 4.3.1 G SM Status Check the Status of the GSM modem settings and SMS message tra nsmissions t hrough the tab le belo w . Note: *1 - This bit is not li nked to the Remote Acces s Setting whi[...]

  • Page 63

    α 2 Simple Application Controllers SMS Messaging Diagnostics 4 4 - 3 4.3.2 CM E Err or This CME Error status gives inf or mation to the functioning of Mo bile Equipment (ME), please ref er to the GS M modem manual f or m ore details . T able 4.4: Mobile Equipment Err or Codes Va l u e Descriptio n Va l u e Description -1 No Error 17 SIM P IN2 Requ[...]

  • Page 64

    α 2 Simple Application Controllers SMS Messaging Diagnostics 4 4 - 4 4.3.3 CM S Err or This v alue giv es error inf or mation re le v ant to th e Mobile Equi pment (ME) or Netw ork, please ref er to the GSM modem manual f or more details . 4.3.4 Signal Strength (Sigstreng) Chec k the signal str ength of the GSM modem signal. Gener ally good operat[...]

  • Page 65

    α 2 Simple Application Controllers SMS Messaging Diagnostics 4 4 - 5 Note 1 ) Dur ing GSM communicat ion, the RS-232C pins 4 and 7 must be set high otherwise no data will transf erred an d the GSM modem will appear to hang or e xper ience a state o f suspension. 2 ) The α 2 Series Controller and GSM modem m ust be po wered ON simul taneously . 3 [...]

  • Page 66

    α 2 Simple Application Controllers SMS Messaging Diagnostics 4 4 - 6 MEMO[...]

  • Page 67

    α 2 Simple Application Controllers Computer Link - Ded icated Protocol 5 5 - 1 5. Computer Link - D edicated Pr otocol The α 2 Series Controller c an transf er data T o/F rom a personal computer , HMI, or other peripheral equ ipment via Dedicated Prot ocol. The structure of the α 2 (AL2-14MR-*, AL2- 24MR-*) Ser ies comp uter link protocol is b a[...]

  • Page 68

    α 2 Simple Application Controllers Computer Link - Ded icated Protocol 5 5 - 2 The computer writes data to the α 2 (AL2-14MR-* , AL2-24MR-*) Series Controller The 8-bit binar y computer lin k stri ng is sent fr om per ipheral eq uipment to the α 2 Series Controller using a combinati on of a AL2-GSM-CAB and user-made cross-cab le . The T ransmit [...]

  • Page 69

    α 2 Simple Application Controllers Computer Link - Ded icated Protocol 5 5 - 3 5.2 Configuration D iagram The P er ipher al equipment act s as the Master in all conf igura tions, hence, messages are ne ve r initia ted from the α 2 Series Controller . This configurat ion in v olv es a personal computer acting as the Mas ter and the α 2 Ser ies Co[...]

  • Page 70

    α 2 Simple Application Controllers Computer Link - Ded icated Protocol 5 5 - 4 5.3 Ho w to read Dedicated Pr otocol F or mat A fo r computer li nk is used f or checking t he communication line between th e computer and the α 2 Ser ies Controller . Thus, the read/write f orm at f or the str ucture of the string is identic al. Ref er to sect ion 7.[...]

  • Page 71

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 1 6. AL-PCS/WIN-E Setting s f o r Dedicated Protocol The person al compute r and α 2 Se ries Co ntroller acts as a ma ster slav e relationship accordingly . Th eref ore, all com munication star ts from the com puter side (master) and cannot be star ted fro m t[...]

  • Page 72

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 2 3 ) C hoose “Other”. Thus , enabling dedi cated protocol comm unication bet ween the compute r and the α 2 Series Controller . Clic k the “OK” b utton t o accept. A) O ther - This setting is used f or Dedicated Protocol commu nication. B) Data Fo rma[...]

  • Page 73

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 3 4 ) F rom the Option menu sele ct the “Dedic ated Communicati on.” option. 5 ) The Dedicated Communi cation dialog box will appear . A) Stati on Number Set the Stat ion Number of the control ler from 0 to 15 . The def ault stat ion is 0. Commu nication is[...]

  • Page 74

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 4 B) Comm unication Memory The Comm unica tion Memory option all ocates a section o f the us er-prog r am memor y f or Communicat ion Bit De vices or Comm unication W ord Devi ces. A maximum of 100 Functio n Bloc k Bit Devices and 100 Function Block W ords can [...]

  • Page 75

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 5 D) Comm unication Funct ion Bloc k W ord Device T o se t a Comm unica tion W ord De vice choo se a n umber i n the ri ght hand “Commu nicat ion W ord De vice” b lock, then highligh t the Function Bloc k in the “FB W ord Output parameter to be specified?[...]

  • Page 76

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 6 6.2 Function Blocks FB Name FB Symbol Description of Function Block Wo r d D e v i c e Bit Device Boolean [BL] The Boolean Function Block uses Boolean algebr a to cont rol the ON/ OFF state of an output. An operational e xpr ession consists of either the AND [...]

  • Page 77

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 7 Time Switc h m [TSm] The Time Switch ma intenance Function Block uses a predefin ed time sch edule to contro l the ON an d OFF statu s of the output. The function b lock can be setup from th e T opM enu “P arameter” v ia the fr ont panel keys . *1  Cou[...]

  • Page 78

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 8 Hour Mete r [HM] The Ho ur Meter Function Block holds the output statu s ON f or a maximum of 3 2767 hours, 59 minutes and 59 sec onds. If the input pin is tur ned OFF the elapsed time will hold i ts v alue until either the c lear pin resets the time or th e [...]

  • Page 79

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 9 Divi sion [DIV] The DIV Fu nction Bloc k is used to di vide two input values . Quoti ent Rem ainde r  Calcula- tion [CAL] The CAL Func tion Block is used to perfor m a calculation from the combination of diff eren t Arith metic fun ction blocks . Re sul t [...]

  • Page 80

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 10 Note: 1 ) Communication W ord De vices wil l only app ear if ne w setting s are created using AL-PCS/ WIN-E. Ne w settings cannot be crea ted usi ng dedicated Protocol, hence, onl y modification of tim e s witch settin gs is pos sible. Del a y ed One Sho t [[...]

  • Page 81

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 11 6.3 Settings f or Dedicated Pr otocol - Fr ont P anel K e ys The α 2 Controller m ust be set up to use the Dedica ted Protocol. The set tings can be perf or med from the front panel ke ys or downloaded from the VLS software . The VLS settings are the simple[...]

  • Page 82

    α 2 Simple Application Controllers AL-PCS/WIN-E S ettings for Dedicated Pr otocol 6 6 - 12 6.3. 8 Defaul t The def ault val ues are DataLength = 8 bits; P ar ity = None; Stop Bit = 1 bit; and Baud Rate = 9600 bps . 6.3.9 Sta tion Number Set the Stat ion Number of the cont roller fr om 0 to 15. The def ault station is 0. Communication is possib le [...]

  • Page 83

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 1 7. The Command String The f ollo wing chapter e xplains the structure of both types of dedicated protocol f or mat f or the α 2 Ser ies Cont roller . The 8-bit binary protocol is a v ailab le in tw o diff erent f or mats: 1 ) F or mat A 2 ) F or mat B The Ded icate d Prot ocol is ba[...]

  • Page 84

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 2 Section 7.1 and 7. 2 describe protocol el ements used with F or mat A and B . Ref er to section 7. 3 f or detailed e xplanatio n concer ning al l dedicated protoc ol elements wit hin both types of f or mats. Ref er to s ection 7.6 f or detailed i nf or matio n concerning α 2 Series [...]

  • Page 85

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 3 7.2 Format “B” Message T able 7.2: Format B message structure Contr ol Pr otocol READ T ransmi t Receive WRITE/(R UN/ST OP) OPERA TION T ransmi t Receive FORMA T B Comp uter α 2 Controlle r S T X Command No. comm bytes Format No. Station No. Device No. (HB) No. of devices Device[...]

  • Page 86

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 4 Note: 1 ) F or mat B WRI TE/(R UN/ST OP) oper ation can pr oduce an err or code e ve n though a standard compl ete flag h as been sent. If the T ransmit message contains the cor rect synt ax then a complete flag wil l be sent, how e v er , if the reply data is corrupt then a NAK mess[...]

  • Page 87

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 5 7.3 Contr ol Pr otocol elements The f ollowing secti on will e xplain the control el ements used in the α 2 Series Dedicated prot ocol T ransmit /Recei v e messa ge. Ref er to sect ion 7. 6 f or detailed inf or mation concerning the comman ds a v ailab le with this prot ocol. The α[...]

  • Page 88

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 6 7.3.1 Control Codes The Control codes are listed below: 7.3.2 No. of Comm unicat ion Bytes The number of comm unication b ytes is used to chec k the v alidly of t he message synt ax. When using F or mat A the number of communication b ytes f or the T ransmit message star ts from the [...]

  • Page 89

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 7 Read message command - When using F or mat B the number of communi cation b ytes st ar ts from the F or mat No . and f inishes wit h the Higher Byte of the De vic e No . Write message command - When using F or mat B the n umber of commun ication b ytes star ts from the F or mat No . [...]

  • Page 90

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 8 7.3.4 Sta tion Number The person al computer and α 2 (AL2-14MR-*, AL 2-24MR-*) S eries C ontroller foll ow as a master/sl av e relationship . All communi cation is initiat ed from the pe rsonal computer . The stati on number set in the contro ller mu st match the s tation n umber in[...]

  • Page 91

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 9 7.3.6 Number of Devices The Nu mber of De vices is restric ted by total numbe r of Commun ication Byte s. The T ransmit/ Receiv e data message contains a maximum of 250 bytes. Thus, caution must be taken when reading BIT/W ORD data. Ref er to the Note below f or detailed caution inf [...]

  • Page 92

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 10 3 ) WRITE Message - BIT data The ma ximum number of BIT d e vices that c an be w ritten a t any one time is restr icted by the maximum n umber of comm unication b ytes (250 b ytes) contained in a single message. Each device is represented by the De vice co de, De vic e No , (LB), De[...]

  • Page 93

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 11 7.3.7 Device Code Each type of Bit or W ord De vice has a de vice code whi ch corresponds to a memor y loc ation in the α 2 series controller . Locations for the System Bits, Inputs , O utputs , K eys, Link Input, and Link Output ar e per manent b ut the Function Bl ock set tings ([...]

  • Page 94

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 12 7.3. 8 Device Number The De vice N umber is used in conjunction with the Devi ce Code. Once the De vice has specifi ed what the internal de vice represents, then the De vice Number is used t o select the appropr iate de vice from the range mentioned abov e. Each Device Num ber is co[...]

  • Page 95

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 13 7.3.10 S um Chec k The Sum Chec k is the f our digit He xadecimal tota l of the numbers betw een the F ormat No . and the ETX com mand. The S um Check numbers are Hexadecimal numbers with the L o wer byte written directly aft er the ETX command and the Higher byt e as the last tw o [...]

  • Page 96

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 14 7.3.11 E rr or Codes If ther e is a prob lem in the commun ication l ine or in the command string, the α 2 c ontroller will return an error message. The error message will f ollo w an NAK r eply as sh own bel ow . T able 7.10: Err or Codes f or Format “ A” T ransmissions Code E[...]

  • Page 97

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 15 7.4 Communication Timing Chart The commun ication time f or α 2 Ser ies dedicated protocol is repr esented by the diagr a m belo w . The c ommunic ation time i s ident ical f or Rea d and Write oper ations . Thus, only o ne diagr am has been used t o demonstr ate the possib le dela[...]

  • Page 98

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 16 7.5 Character Area Data T ransmission The Data T ransmission area is the impor tant segm ent of the message that the user must address corr ectly in or der to read/write the from/ to the α 2 Series Controll er . The procedure t o address all int er nal de vices is identical , Ref e[...]

  • Page 99

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 17 7.5. 2 Write D ata T ransm ission The WRITE Data T ransmissi on area is diff erent in reading BIT and W ORD inf or mation. The f ollowing ill ustrati on demonstr ates the f or mat structure f or wr iting BI T data. The de vice status is a single b yte . BIT Data F or mat B - WR ITE [...]

  • Page 100

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 18 The f ollow ing illust ration de monstr ates the f or mat st r ucture f or writing wo rd data. Writing w ord data requires the De vice Status to co ntain a lower and higher byte , therefore , the data tra nsmission area is e xtended by one b yte when writing to W ORD data W ORD Data[...]

  • Page 101

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 19 7.5.3 Tim e Switc h Dat a T ransmissi on The READ operation f or the Time Switch Settings is identical to the READ operation of a Communication W ord De vice. Ho we ver , due to the amount of data w ithin one time s witch setting , 4 bytes hav e been allocated. F or mat B - WRITE Me[...]

  • Page 102

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 20 7.6 Commands The f ollowing se ction will outl ine commands used to i mplement dedicated prot ocol with an α 2 Series Controller . *1. V er .2.20 or later *2. V er .3.00 or later T able 7.14: Dedicated pr otocol commands Command Descr iption Secti on 1) Com munication Line Check F [...]

  • Page 103

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 21 7.6.1 Comm unication Line Check 1 ) Command Specific ation F or mat A is sho wn. 2 ) Command Example Standard command f or communic ation line chec k. This def ault command string can be used at any time f or che c king if dedicated protocol is possible. If no respon se is replied f[...]

  • Page 104

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 22 7.6.2 R ead Command 1 ) Command Specific ation F or mat B is sho wn. 2 ) Command Example a ) Read Status of Output O01 in Station 00. The recei v ed message sho ws that the Status of Output O01 is OFF . 07 = 01 + (bytes) Computer α 2 Controll er 01 + 01 + 01 + 01 + 01 + 01 S T X Co[...]

  • Page 105

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 23 b ) Read the Status of the Dela y FB Word par ameters CWNo .5 and 6 as shown belo w . Ref er to section 6.1 f or more details concerning VLS settings f or dedicated protoc ol bit/ word s ettin gs. The f ollo wing comma nd string will use de vice code 69 (communication word CWNo . de[...]

  • Page 106

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 24 7.6.3 Writ e Command 1 ) Command Specific ation Fo r m a t B i s s h o w n 2 ) Command Example a ) T ur n Output O1 ON on Station 00 The receiv ed message shows that the T ransmit message to turn Output 01 ON or 01H in station 00H w as successful ly completed. Comp uter α 2 Control[...]

  • Page 107

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 25 b ) Wr ite a v alue of 4369 t o Count V alue of the Up/Do wn FB W ord parameter CWNo .3 as shown belo w . Ref er to section 6.1 f or more details concer ning VLS settings f or dedi- cated prot ocol bit/w ord sett ings. The receiv ed message shows th at VLS has completed the ch ange [...]

  • Page 108

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 26 7.6. 4 Remote RUN/ST O P Operati on 1 ) Command Example a ) R UN command f or dedicated protocol b ) ST OP command f or dedicated protocol Comp uter α 2 Controlle r S T X Command Format No. Station No. Complete flag A C K No. comm bytes 02H Sum check (HB) E T X Sum check (LB) 04H 4[...]

  • Page 109

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 27 7.6.5 Time S witch Settings 1 ) Command Specific ation a ) F or mat B - Time Switch WRITE command. Data tr ansmission ar ea Note: *1 Refer to t ab le 7.15 le vel R TC+0 settings . *2 Refer to t ab le 7.15 le vel R TC+1 settings . *3 Refer to t ab le 7.15 le vel R TC+2 settings . *4 [...]

  • Page 110

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 28 b ) F or mat B Time Switch READ command. Data T ransmission area Note: *1 Refer to t ab le 7.15 le vel R TC+0 settings . *2 Refer to t ab le 7.15 le vel R TC+1 settings . *3 Refer to t ab le 7.15 le vel R TC+2 settings . *4 Refer to t ab le 7.15 le vel R TC+3 settings . Co m p u t e[...]

  • Page 111

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 29 3 ) Command Example - W eekl y Time Settings The data in the Com mand code f or a W eekly Time Setting consists of 4 b ytes of data. T o determine th e he xadecimal num bers t o put i n the C ommand st ring, th e entry data ha s been set up per the T able belo w . The Hex adecimal n[...]

  • Page 112

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 30 Step 4 The Hourl y val ue is a fiv e digit binary val ue f or 10. 10 (dec) = 01010 bina r y . Step 5 The Minute v alue is a 6 digit val ue f or 0. 0 (dec) = 000000 binar y . Step 6 Finally , the On/Off v alue is 1 f or On and the tab le is complete. T o v alues to put into the Comm [...]

  • Page 113

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 31 F or mat B Command String f or the week ly Time Switch . WRITE Command Note: *1, *2, *3 and * 4 ref er to t he calculat ion perf or med in T able 7.16. Comp uter α 2 Controlle r S T X Command Format No. Station No. Complete flag A C K No. comm bytes Device No. (HB) No. of devices D[...]

  • Page 114

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 32 2 ) Command Example - Time Settings b y Date The data in the Com mand code f or a Date Time Setting consis ts of 4 b ytes of data. T o determine th e he xadecimal num bers t o put i n the C ommand st ring, th e entry data ha s been set up per the T able belo w . The Hex adecimal num[...]

  • Page 115

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 33 Example 2 - Date Setting Write a Da te Se tting to turn Off the Time Switc h set up as C W02 on F ebruar y 20 , 2002 at 12:00. Y ear V alue = 2002; Mont h V alue = 0 2; Da y V alue = 20; Hour V alue = 12; Mi n V alue = 0 ; On/Off V alue = 0ff . Installing the v alues from the T able[...]

  • Page 116

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 34 Example 3 - Monthl y Time Setti ng A Month ly set ting doe s not ha v e a co nstan t setti ng f or either the Month or the Y ear . These parameters will be ON cons tantly and must th eref ore be set to a d ef ault v alue. The V a lue f or the Y ear P arameter is 08 H and the v alue [...]

  • Page 117

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 35 Example 4 - Y early Settings The Y ear ly sett ing must be set to a Def ault sett ing of 08H because it is On cons tantly . Write a Y ear ly Settin g to turn On the Time Switch set up as CW04 on the 24th of Dec. of e very y ear at 18:15 PM. Y ear V alue = 8 (def ault); Month V alue [...]

  • Page 118

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 36 7.6.6 VLS Time Switch S ettings (Sample) The Time Switch Setting at rig ht is a sample of the dialog bo x in the VL S sof tware. This dialog bo x can be used to se t W ee kl y or D ai ly sett ings. This i s an e xampl e of setti ng a TimeSwitc h by date in t he VLS softw are . In th[...]

  • Page 119

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 37 F our Time Settings are shown in this p icture of a Time Switch. The typ es of The source code below is a sample written in Vi sual Basic and is pro vided as a testing aide f or α 2 Dedicated Pro tocol communi cation.[...]

  • Page 120

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 38 7.6.7 R TC Read Co mmand (V er . 2.20 or la ter) 1 ) Command Specific ation F ormat B is shown. *1 Statu s of time 0: Win ter tim e , 1: Sum mer time , 0xff : RTC time inv alid *2 DoW(Da y of the w eek) 0: Sunda y , 1: Monda y , 2: T uesda y , 3: W ednesda y , 4: Thur sda y , 5: F r[...]

  • Page 121

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 39 7.6. 8 R TC Writ e Command (V er . 2.20 or later ) 1 ) Command Specific ation F ormat B is shown. *1 ADJ(R TC clock adju st) The R TC cl ock adjust v alue is the ad justment of the R TC speed in ste ps of 0.25 s/d. -41...0... 83 (0xD7...00... 0x53) 2 ) Command Example 2004/05/30 10:[...]

  • Page 122

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 40 7.6.9 Displa y Read Command (V er .3.00 or later ) The α 2 Displa y Buff er can be re ad using t he Decicated Prot ocol command 30H. No Cyrillic Chara cter used f or Displa y Output 1 ) Command Specific ation F ormat B is shown. *1. The content of t he displa y buff er is fi lled i[...]

  • Page 123

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 41 2 ) Example Displa y e xample Command example A l p h a X L T h e S i m p l e A p p l i a t i o n C o n t r o l l e r c S T X Comp lete fl ag Fo rmat No. S tatio n No. S T X Fo rmat No. S tatio n No. No. comm bytes 03H Computer α 2 Controller S T X Co mmand Fo rmat No. S tatio n No[...]

  • Page 124

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 42 Cyrillic Charact er used for Display Output 1 ) Command Specific ation F ormat B is shown. *1. The content of t he displa y buff er is fi lled into the serial data stre am row , star ting from the top- left pos itio n. Read Out of Displa y Screen S T X Comp lete f lag Format No. Sta[...]

  • Page 125

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 43 2 ) Example Displa y e xample Command example S T X Co mplete fla g F orma t No. Sta tion No . S T X F orma t No. Sta tion No . No. comm bytes 03H Comput er α 2 Contr oller S T X C ommand F orma t No. Sta tion No . Sum check ( HB) E T X Sum check ( LB) No. comm bytes 03H 30H No. co[...]

  • Page 126

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 44 The Displa y Buffer Charac ter T able The foll owing tab le is the character which ca n be used by the displa y buff er comm and by the α 2. T able 7.25: Basic Latin Charact er Set T able 7.26: Lati n-1 Supplement T able 7.27: Basic Cyrill ic Character Set Sum check ( HB) E T X Sum[...]

  • Page 127

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 45 7.7 Sample Vi sual Basic pr ogram Note: The Visual Basic program is an e xa mple of a user interf ace to the dedicated protocol functio nality withi n the α 2 Controll er . The MSCOM setti ngs f or RTS a nd DTR must be enab led f or the fol lowing prog ram to operate properly . α [...]

  • Page 128

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 46 3. Open the Code Window in VB and inser t the f ollo w ing codeli nes. Option Explicit Priv ate timecnt As Integer Priv ate optidx As Integer Priv ate cmdstr() As Byte Priv ate cmdlen As Integer Priv ate resplen As Integer Priv ate Sub F or m_Load() tx tTxT e xt.T e xt = ""[...]

  • Page 129

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 47 Case 1 '"Reading V alues". cmdstr = Ch rB(&H 2) + ChrB (&H7) + Ch rB(&H 41) _ + Chr B(&H0 ) + ChrB(&H0) + ChrB(&H1) + ChrB(&H42) _ + Chr B(&H1 ) + ChrB(&H0) + ChrB(&H3) + ChrB(&H85) _ + Chr B(&H0 ) cmdl en = 12 respl en [...]

  • Page 130

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 48 Priv ate Sub ShowRxData(r xdata As V ari ant, rxdatalen As Integer) Di m DataStr As String Di m j As Integer Di m Re As String If rxdatalen > 0 Then F or j = 0 T o rxdatalen - 1 Re = rxdata (j) Data Str = D ataSt r + R ight$( "00" + Hex$(Re), 2) & " " Next[...]

  • Page 131

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 49 'W ait until the number of 'L enRxData' b yte were receiv ed or timeout. D o DoE vents Loop Until (MSComm1.InBuff erCount >= lenrxdat a) Or (timecnt >= 10) Call StopT imer If MSCom m1.P or tOpen = T rue Then lenrxdata = MSComm1.InBuf f erCount rxdata = MSComm1.I[...]

  • Page 132

    α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 50 MEMO[...]

  • Page 133

    α 2 Simple Application Controllers Dedicated Protocol Err or Diagnostics 8 8 - 1 8. Dedicated Protocol Err o r Dia gnostics The α 2 controll er has a number of Diagnostic messages i n both the contro ller and the VLS sof tware. 8.1 Check points f or Dedicated Protocol T able 8.1: Dedicated Prot ocol Har dware and Commu nication Chec ks Err or Che[...]

  • Page 134

    α 2 Simple Application Controllers Dedicated Protocol Err or Diagnostics 8 8 - 2 MEMO[...]

  • Page 135

    [...]

  • Page 136

    HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNO UCHI, CHIYODA-KU, T OKYO 100-8310, JAPAN HIMEJI WORKS : 840, CHIYODA CH O, HIMEJI, JAPAN JY992 D97701F (MEE) Effecti ve Mar. 200 8 Specif ications are su bject to change without noti ce.[...]