Mitsubishi Electronics JY992D97701 Bedienungsanleitung

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

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Mitsubishi Electronics JY992D97701 an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Mitsubishi Electronics JY992D97701, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Mitsubishi Electronics JY992D97701 die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Mitsubishi Electronics JY992D97701. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung Mitsubishi Electronics JY992D97701 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Mitsubishi Electronics JY992D97701
- Den Namen des Produzenten und das Produktionsjahr des Geräts Mitsubishi Electronics JY992D97701
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Mitsubishi Electronics JY992D97701
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Mitsubishi Electronics JY992D97701 zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Mitsubishi Electronics JY992D97701 und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Mitsubishi Electronics finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Mitsubishi Electronics JY992D97701 zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Mitsubishi Electronics JY992D97701, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Mitsubishi Electronics JY992D97701 widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 1

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 4

    α 2 Simple Application Controllers ii[...]

  • Seite 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[...]

  • Seite 6

    α 2 Simple Application Controllers iv[...]

  • Seite 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[...]

  • Seite 8

    α 2 Simple Application Controllers vi[...]

  • Seite 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 ...... ....... ...... ..... ...... .......[...]

  • Seite 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 ....................[...]

  • Seite 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 ... ....... ....... ...... [...]

  • Seite 12

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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)[...]

  • Seite 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, [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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?[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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"[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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?[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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.[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 45

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 60

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

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 66

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

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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.[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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?[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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 [[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 α[...]

  • Seite 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 [...]

  • Seite 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 . [...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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 ([...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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.[...]

  • Seite 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[...]

  • Seite 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:[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 . α [...]

  • Seite 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 = ""[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 132

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

  • Seite 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[...]

  • Seite 134

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

  • Seite 135

    [...]

  • Seite 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.[...]