Benutzeranleitung / Produktwartung JY992D97701 des Produzenten Mitsubishi Electronics
Zur Seite of 136
COMMUNICATION MANUAL α 2 SIMPLE APPLICATION CONTROL LER.
α 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.
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.
α 2 Simple Application Controllers ii.
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.
α 2 Simple Application Controllers iv.
α 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 .
α 2 Simple Application Controllers vi.
α 2 Simple Application Controllers vii T able of Conten ts Guide line of Saf et y ........ ..... ....... ....... ........ ....... ....... ....... ....... ........ ....... .v 1. Communication Capabilities ....... .................................... .
α 2 Simple Application Controllers viii 3. Remote Access .. .................................... .................................... ...........3-1 3.1 GS M Re mote Acce ss ........ .... ....... ....... ...... ....... ...... ....... .... ....... ...
α 2 Simple Application Controllers ix 7. The Command String ..... .................................... ................................... 7-1 7.1 Fo rmat “A ” ..... ....... ...... ....... .... ....... ....... ...... ....... ...... ....... .... .
α 2 Simple Application Controllers x MEMO.
α 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.
α 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 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 .
α 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- t.
α 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.
α 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.
α 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 .
α 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.
α 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.
α 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 .
α 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.
α 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.
α 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.
α 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 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 .
α 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.
α 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.
α 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 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.
α 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.
α 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.
α 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 i.
α 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 .
α 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.
α 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.
α 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 .
α 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 .
α 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 **.
α 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 .
α 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.
α 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 .
α 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.
α 2 Simple Application Controllers SMS /SMR/ CD F unct ions a nd th e Mo dem Set ting 2 2 - 25.
α 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 .
α 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.
α 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).
α 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.
α 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.
α 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 .
α 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 .
α 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 .
α 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.
α 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 .
α 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 .
α 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.
α 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 .
α 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 C.
α 2 Simple Application Controllers Remote Access 3 3 - 10 MEMO.
α 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 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 .
α 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 .
α 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.
α 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 Simple Application Controllers SMS Messaging Diagnostics 4 4 - 6 MEMO.
α 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.
α 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 .
α 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 .
α 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.
α 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 .
α 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.
α 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 .
α 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.
α 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 .
α 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.
α 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 .
α 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.
α 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 .
α 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.
α 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 .
α 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.
α 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 .
α 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.
α 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.
α 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.
α 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.
α 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.
α 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 .
α 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 .
α 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.
α 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.
α 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 .
α 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.
α 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 .
α 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 .
α 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 .
α 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 .
α 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.
α 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.
α 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.
α 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.
α 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.
α 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 .
α 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.
α 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.
α 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.
α 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.
α 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.
α 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.
α 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 .
α 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.
α 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.
α 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 .
α 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 .
α 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.
α 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.
α 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.
α 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.
α 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.
α 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.
α 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.
α 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.
α 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.
α 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.
α 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.
α 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 .
α 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.
α 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(&am.
α 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 rxd.
α 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.
α 2 Simple Application Controllers The C omma nd Str ing 7 7 - 50 MEMO.
α 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.
α 2 Simple Application Controllers Dedicated Protocol Err or Diagnostics 8 8 - 2 MEMO.
.
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.
Ein wichtiger Punkt beim Kauf des Geräts Mitsubishi Electronics JY992D97701 (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Mitsubishi Electronics JY992D97701 noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Mitsubishi Electronics JY992D97701 - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Mitsubishi Electronics JY992D97701 reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Mitsubishi Electronics JY992D97701 erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Mitsubishi Electronics JY992D97701 besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Mitsubishi Electronics JY992D97701 verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Mitsubishi Electronics JY992D97701. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Mitsubishi Electronics JY992D97701 gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.