background image

41

      |M1    M101  T2                                                    K150  |
   95 +I/I———I/I———I/I———————————————————————————————————————————————————(T1  )+
      |W/DOG STOP  SCM                                                   SCM   |
      |RESET BIT1  RESET                                                 W/DOG |
      |PLS         TIME                                                        |
      |                                                                        |
      |T1                                                                K10   |
   99 +I I———————————————————————————————————————————————————————————————(T2  )+
      |SCM                                                               SCM   |
      |W/DOG                                                             RESET |
      |                                                                  TIME  |
      |                                                                        |
      |M9036 T1                                                          Y50   |
  101 +I I———I/I—————————————————————————————————————————————————————————(  )——+
      |PLC   SCM                                                         MODEM |
      |RUN   W/DOG                                                       POWER |
      |                                                                        |
      |                                                                        |
     MONITORING MODE                                                           |
     If TC flag(M103) set then request a dial straight                         |
     away or wait 10secs, controlled by M31(X1).                               |
     When in "On—line Polling" mode the read or write                          |
     takes place without dialling,ie. Remote Monitoring                        |
     In this example, (M12) will stop further dialing                          |
     after Hang—up".                                                           |
      |M103  M115  M31                                                   K100  |
  104 +I I———I/I———I/I———————————————————————————————————————————————————(T0  )+
      |TC    ERROR                                                       RPT   |
      |BIT3  FLAG                                                        MONIT |
      |                                                                  RATE  |
      |                                                                        |
      |T0    M31   M12   M101                                                  |
  108 +I I———I/I——+I/I———I/I———————————————————————————————————————[PLS  M0   ]+
      |RPT        |HANG— STOP                                            AUTO  |
      |MONIT      |UP    BIT1                                            DIAL  |
      |RATE       |HOLD                                                  PLS   |
      |           |                                                            |
      |M103  M31  |                                                            |
      +I I———I I——+                                                            +
      |TC                                                                      |
      |BIT3                                                                    |
      |                                                                        |
      |                                                                        |
     Manual Request Dial, M30(X0)                                              |
      |M30                                                                     |
  118 +I I—————————————————————————————————————————————————————————[PLS  M20  ]+
      |                                                                  MAN.  |
      |                                                                  DIAL  |
      |                                                                  PLS   |
      |                                                                        |

   +—————————————————————+—————————————————————+————————————————+——————————————+
   | Proj:WATA1SFX       | Syst:A2AS           | Type:Ladder    | Page:  4     |
   +—————————————————————+—————————————————————+————————————————+——————————————+

Содержание A2S-MODEM

Страница 1: ...A A2 2S S M MO OD DE EM M D DI IN N M MO OD DE EM M 2 2 D DE ES SK K M MO OD DE EM M 2 2 U US SE ER RS S H HA AN ND DB BO OO OK K ISSUE 2 VERSION 2 ...

Страница 2: ...ovided without responsibility and Mitsubishi Electric Europe BV disclaims all liability arising from its use All examples in this manual are used solely to promote understanding of how the equipment works and its operation Mitsubishi Electric Europe BV take no responsibility if these examples are used in real applications Mitsubishi Electric Europe BV absolves itself of all responsibilities for da...

Страница 3: ... 2 AUTOMATIC SIMULTANEOUS VOICE AND DATA 8 3 2 1 Using Simultaneous Voice and Data with Other Modems 8 3 3 ONLINE MAINTENANCE USING MITSUBISHI PLC PROGRAMMING SOFTWARE 9 3 3 1 Making a Connection 9 Example 3 2 Dialling 9 3 3 2 Terminating a Call 9 3 3 3 Communicating with Mitsubishi PLC s 10 3 3 4 Communicating with E series and MAC HMI s 10 3 3 5 Transferring files from to the HMI 11 3 3 6 Commun...

Страница 4: ...UR DURING PROGRAMMING MONITORING 26 SECTION 5 AT COMMAND SET AND S REGISTERS 27 5 1 STANDARD COMMANDS 27 5 2 ECC COMMANDS 30 5 3 MNP 10 COMMANDS 30 5 4 W CLASS COMMANDS 30 5 5 FAX CLASS 1 30 5 6 FAX CLASS 2 30 5 7 VOICE AUDIO COMMANDS 31 5 8 S REGISTERS 32 5 9 UNIQUE AT COMMANDS 33 SECTION 6 SUPPORT SERVICE AND COMPLIANCE DETAILS 34 6 1 CUSTOMER SUPPORT 34 6 2 EUROPEAN COMPLIANCE INFORMATION 34 6 ...

Страница 5: ...que telemetry features for handling data transfers between PLC s The modem is capable of operating at data speeds of 33 6Kbps and has the ability to store telephone numbers fixed messages etc This manual is divided into eleven sections covering 1 Modem Standards and Compatibility 2 Getting Started 3 Enhanced Functions 4 Troubleshooting 5 AT Command Set 6 Support Service and Compliance details 7 Te...

Страница 6: ...ne Telephone Cable BT UK only One 24 Volt dc connector One Modem to C24 Data Cable MODEM R2 CAB DIN MODEM 2 One DIN MODEM 2 module One PC Utilities Software Diskette One Telephone Cable BT UK only DESK MODEM 2 One DESK MODEM 2 module One PC Utilities Software Diskette One Telephone Cable BT UK only One 12 Volt UK Mains adapter One PC to Modem RS232 9 way Cable MODEM PC9 CAB Includes manual in PDF ...

Страница 7: ... slot 2 1 3 Installation DIN Version i Locate the top of the DIN rail clip onto the DIN rail and push the module down until the clip is secure 2 1 4 Removal DIN Version i Lever the bottom of the module upwards until the clip releases and un hook from the top 2 2 Connection and Wiring 2 2 1 Connection to a Link module eg A1SJ71C24 R2 i Connect the 9 pin to 9 pin cable type MODEM R2 CAB between the ...

Страница 8: ...EM and the serial port at the top of the FX2N 232 BD plug in module ii Then follow the instructions in Section 2 2 1 ii to iv above 2 2 3 Connection to MAC 50 90 and E range of HMI s iii Connect a 9 pin male to 9 pin female cable type MODEM MAC CAB wired to the schematic shown in Section 7 between the Data RS232 port on the front of the MODEM and PRINTER serial port at the back of the MAC or E ran...

Страница 9: ...Section 2 2 1 ii to iv above 2 2 5 Connection to DESK Version i Connect the PC to Modem Data cable type MODEM PC9 CAB between the Data RS232 port at the rear of the MODEM and a spare communication port on your PC ii Then follow the instructions in Section 2 2 1 ii to iv above MITSUBISHI FX1S FX1N FX2N FX2N CNV BD FX0N 232 ADP mode RD CD CS 1 2 O VOI DA RS logi LI MODEM R2A CAB MITSUBISHI FX FX 232...

Страница 10: ...re making connection However reversing the polarity of the dc will cause no harm 12V dc Supply DESK Version i Plug the 12V dc power supply provided into a mains supply and connect the jack plug into the connector at the rear of the MODEM 2 3 Initial configuration i Set the Modem to the correct local protocol see 5 9 for a list of codes with the command AT ADP x where x protocol setting ii Read sec...

Страница 11: ...ommunicating with PC terminal software it can be configured using AT commands so called because they are all preceded with the letters AT A full list of these commands is given in section 5 The modem is supplied with all essential parameters for plug and play already set but if these are lost for any reason the device can be reprogrammed with the following command string AT F D0S0 1 W0 all 0 s are...

Страница 12: ...t all modems available support simultaneous voice and data functions First ensure that the other modem is capable of supporting this feature Refer to the other modem s handbook to see if it supports analogue or Audio Span voice and data NOTE It is highly recommended that the ASVD feature be always used when any on line changes are made to the PLC code A risk of damage to equipment connected to the...

Страница 13: ...T 0123456789 enter forces tone dialling default ATDP 0123456789 enter forces pulse dialling Secondly close the terminal application do not minimise The modem will hold the connection Then run your Mitsubishi programming software from Windows for example GPPWIN 3 3 2 Terminating a Call To terminate the connection exit the programming software and restart the terminal application Then select Hang up...

Страница 14: ...rovides the following features transfer rates of up to 38400 baud uses default software settings allows switching between HMI and PLC without having to redial NOTE 1 Prior to installation each modem must be set to a protocol matching the local device with the protocol command for example AT ADP F for FX series and A for A Q series via HMI refer to section 3 1 2 If HMI File transfers see section 3 ...

Страница 15: ...k Connect and wait for the Files to be displayed before selecting the files to receive or send To Hang up click on the Close button and the modems will return to their normal command mode state b Method 2 Dialling from another manufacturers make of modems connected at the PC end Firstly make sure that the RS232 port in the HMI is set to 9600 8 N 1 then dial as described in method 1 above NOTE The ...

Страница 16: ...transparent mode as above then after connecting quit the Terminal software and load and run the equipment software to transfer data Before you can hang up the A2S Modem the Terminal software must be set to the adjusted baud rate and format NOTE The Terminal must be returned to the default setting of 9600 8 N 1 before redialling each time 2 For another make of modem set the Terminal software to the...

Страница 17: ...ARRIER message will be displayed 2 User Access Code Disabled default No request for a code will be displayed and an open data connection to your system is made 3 Administrator Access Code Dial the modem in the normal way from a PC Terminal application and wait for the usual CONNECTED prompt to be returned If the User Access Code had been previously enabled you will be prompted with ENTER PASSWORD ...

Страница 18: ... 3 Disabling the user code To disable the user code enter in the new code field and the current code in the following command AT ACU current code Enter The modem will respond with OK when accepted or ERROR when current password is incorrect Current code may be either the user or administrator codes 4 Changing the administrator code To change the administrator code you will need to know the current...

Страница 19: ...be commanded to stay on line either to repeat the data transaction or wait on line until instructed to hang up by either end Dial on demand operates by configuring the modem to poll a block of PLC command registers which provide the modem with instructions explained in section 3 5 3 NOTE Throughout this section the Local system is the one making the call while the Remote system is the one being ca...

Страница 20: ... using the command AT ADN FF FF is the default setting 3 Starting the poll Polling is started by the command AT ADO 1 And stopped by the command AT ADO 0 Polling will start approximately 10 seconds after the next modem reset If the modem does not receive a response to its poll request polling will be temporarily suspended until the next reset If the modem is still connected to a PC terminal when i...

Страница 21: ...ssage register D x 3 D 0 1999 Directory A Telephone No head address D x 4 D 0 1999 Directory B Telephone No head address D x 5 D 0 1999 Directory C Telephone No head address D x 6 D 0 1999 Directory D Telephone No head address Where D x Head address of the Control Block as specified by the AT ADR command 3 5 4 Control and Status Register The first resister of the command block read back from the P...

Страница 22: ...s by triggering on the rising falling edge of the poll bit 4 Transmission Complete bit bit 3 The Transmission Complete bit TC is set by the modem when it has made a successful dial out connected and has performed all the transactions indicated in the message registers Used by the PLC as an indicator that the modem has dealt with the request and may be used to trigger a new set of transactions 5 Er...

Страница 23: ...o a PC terminal and using the command AT Zn telephone number Where n is the speed dial address in the range of 1 to 9 telephone number may be 15 characters long Example 3 5 Setting Speed Dial numbers AT Z3 01234567890 Tel No 01234 567890 set at address 3 When a value of 1 to 9 is found in the data returned from the PLC the corresponding number is looked up then dialled 2 Setting directory numbers ...

Страница 24: ...include all 4 numbers e g 12F0 not 12F send 2 messages from addresses 1 and 2 then Stay On Line F When a value of 1 to 9 is found in the returned data the corresponding message is looked up then sent to the remote site The modem will automatically hang up when a value of 0 zero is found or after all four messages have been actioned When the hexadecimal value E is found the modem stops processing m...

Страница 25: ...ds to know is the first address To program the start address in the modem use a PC terminal to communicate with it and type an AT command in the following format AT WATn 1234 Where n is the letter A to D and corresponds to the hexadecimal value set in the message register of the control block above 1234 is an example start address Example 3 8 Setting WAT addresses AT WATA 500 when hexadecimal A is...

Страница 26: ...te Head Address 0 1999 decimal Header 3 D y 3 1st Data Word Data 1 D y 4 2nd Data Word Data 2 D y x x Data Word where x 16 10 hex maximum Data x Where D y Head Address of the WAT Message data area specified with the AT WAT command The contents of Header 1 are further described below D y WAT Header Address 1 b0 3 Remote Protocol No b4 7 Remote Read Write bit b8 15 Number of words b0 b15 Where D y I...

Страница 27: ...10h words from D500 in an AnS PLC b15 b0 b0 7 Device prefix letter WAT Header Address 2 D y 1 MOV H0113 D0200 ASC Y D0201 MOV K0 D0202 MOV H5555 D0203 Set 1word Write FX protocol Set Device Y Set Device address 0 Set Data Y0 and all even numbers to Y26 will be switched ON odd numbers OFF b15 b0 WAT Header Address 3 D y 2 b0 15 Device Address MOV H1001 D0300 ASC D D0301 MOV K500 D0302 BMOV K0 D0303...

Страница 28: ...ddr AT WATA to D AT ADO 1 Yes No Speed Dial Set telephone numbers in the Set up a Directory in the A2S Modem with command PLC 5 registers per tele AT Z1 to 9 see 3 5 5 1 phone No see 3 5 5 2 Programme the PLC to transfer the WAT strategy eg Read or Write No words and the remote PLC Type see Examples 3 9 10 Set the Message register for the order in which the WAT addresses are to be transmitted see ...

Страница 29: ...o restore echo and ATQ0 to restore command reporting By default the modem will be set to echo off and reporting off 4 The modem will not respond to commands if Dial On Demand is enabled for the first ten seconds after power up 4 2 The Modem Dials but Does Not Connect 1 The best method of diagnosing this kind of problem is always to connect a suitable head or handset to the modem as it is dialling ...

Страница 30: ...lue has sufficient trailing 0 s i e 1000 not 1 4 If using speed dial numbers check that the number requested is set in the modem At Zn setting 4 6 Modem occasionally hangs up during WAT data exchange This is usually caused by an unacceptable number of data errors detected during a WAT operation 1 Check cable connections 2 The problem may be caused by poor Telephone Network connections for example ...

Страница 31: ...um I2 Report OK I3 Report firmware revision and interface type I4 Report response programmed by an OEM I5 Report the country code parameter I6 Report modem data pump model and code revision I7 Reports the DAA code L0 Set low speaker volume L1 Set low speaker volume L2 Set medium speaker volume L3 Set high speaker volume M0 Turn speaker volume off M1 Turn speaker on during handshaking and turn spea...

Страница 32: ...odem hangs up F0 Restore factory configuration 0 F1 Restore factory configuration 1 G0 Disable guard tone G1 Disable guard tone G2 Enable 1800Hz guard tone J0 Set S register response only for compatibility J1 Set S register response only for compatibility K0 Disable DTE DCE flow control K3 Enable RTS CTS DTE DCE flow control K4 Enable XON XOFF DTE DCE flow control K5 Enable transparent XON XOFF fl...

Страница 33: ...ols break handling during three states When modem receives a break from the DTE K0 2 4 Enter on line command mode no break sent to the remote modem K1 Clear buffer and send break to remote modem K3 Send break to remote modem immediately K5 Send break to remote modem in sequence with transmitted data When modem receives B in on line command state K0 1 Clear buffer and send break to remote modem K2 ...

Страница 34: ...ly SEC 0 Disable MNP 10 EC SEC 1 tx level Enable MNP 10 EC and set transmit level tx level 0 to 30 0dBm to 30dBm 5 4 W CLASS Commands B Display list of permanently blacklisted numbers D Display list of delayed numbers NCn Change country code to one of eight in NVRAM 5 5 FAX Class 1 FCLASS n Service class FAE n Data Fax auto answer FRH n Receive data with HDLC framing FRM n Receive data FRS n Recei...

Страница 35: ...Baud rate turn off auto Baud CLS Select data fax or voice MDL Identify model MFR Identify manufacturer REV Identify revision level SPK Speakerphone setting TL Audio output transmit level VBQ Query buffer size VBS Bits per sample VBT Beep tone timer VCI Identify compression method VGT Set playback volume in the command state VLS Voice line select VRA Ring back goes away originate VRN Ring back neve...

Страница 36: ...to sync bit mapped options S20 Auto sync HDLC address or BSC sync character S21 V 24 General bit mapped option status S22 Speaker Results bit mapped option status S23 General bit mapped option status S24 Sleep inactivity timer S25 Delay to DTR S26 RTS to CTS delay S27 S28 Bit mapped option status S29 Flash dial modifier time S30 Disconnect inactivity timer S31 Bit mapped option status S32 XON char...

Страница 37: ...pe HMI x F FX series via E type HMI x T bbbbb d p s Transparent mode where bbbbb Baud rate max 38800 d no of Data bits 7 8 9 p Parity N None E Even O Odd s no of Stop bits 1or 2 ADR xxxxxx Set PLC polling register address from x to xxxxxx F Returns the Modem to the default settings eg AT ADO 0 MSGn message set fixed message n to string message n 1 to 9 message up to 48 ASCII characters NET xxxxx S...

Страница 38: ...ected to one telephone line The REN value of each apparatus is added together and should not exceed 4 Unless otherwise marked a telephone can be assumed to have a REN of 1 6 4 Approved Usage This modem is only approved for the following facilities Storage of telephone numbers for retrieval by a predetermined code This modem is NOT suitable for use as an extension to a payphone This modem is not ap...

Страница 39: ...tion Modem 1 N C No Connection N A 2 RD RXD Receive Data 3 SD TXD Transmit Data 4 DR DTR Data Terminal Ready 5 SG GND Signal Ground 6 DR DSR Data Set Ready 7 RS RTS Request to Send 8 CS CTS Clear to Send 9 N C No Connection N A 7 2 Recommended Cable Connections 7 2 1 A1SJ71C24 R2 Communications Module MODEM R2 CAB 9 way male to 9 way male D Type connectors 3 2 5 7 8 6 1 4 Comms Module 3 2 5 7 8 6 ...

Страница 40: ...rt 9 way D type MODEM PC9 CAB 9 way female to 9 way male D type connectors 2 3 4 5 6 7 8 P C 2 3 4 5 6 7 8 M odem 7 2 4 MAC E Range HMI s MODEM MAC CAB 9 way female to 9 way male D Type connectors 2 3 5 M A C Unit 3 2 5 7 8 6 1 4 M odem 7 3 LED Functions LED Function LED Function RD Receiving Data SD Sending Data CD Carrier Detect TR Terminal Ready CS Clear to Send OH Off Hook ...

Страница 41: ...MODEM 2 Dimensions H W D Notes A2S MODEM 130 35 93 mm DIN MODEM 2 130 35 93 mm plus 3mm for DIN clip DESK MODEM 2 38 130 98 mm height includes feet Section 9 Accessories Available Part Number Description MODEM PC9 CAB 9 pin D Type M F cable for connecting to PC MODEM MAC CAB 9 pin D Type M F cable for connecting to MAC series MODEM R2A CAB 25 pin D Type to 9 pin D Type M F cable for connecting to ...

Страница 42: ...irectory Telephone No order ie A B 0 0 and Message Number order ie AB and stay on line Monitoring E Note D1020 is loaded with Messages for test purposes only M9038 H 0 I I MOV AB00 D1001 PLC TEL POWER NO UP REG H MOV ABE0 D1002 MESS AGE REG MOV D1002 D1020 MESS AGE REG Wide Area Transmis Date 22 07 99 Proj WATA1SFX sion WAT example program for the AnS Rev dat Syst A2AS PLC A2S vers 1 0 Rev no Type...

Страница 43: ...vice Y D101 address 0000 000F D102 M9038 H 16 I I MOV 113 D100 PLC MSSGE POWER A UP HEAD ASC Y D101 MSSGE A TYPE H MOV 0 D102 MSSGE A ADDR Load WAT message B with header command and data ie remote protocol 1 Read 16 10h words D200 from remote device D0 D201 D202 M9038 H 40 I I MOV 1003 D200 PLC MSSGE POWER B UP HEAD ASC D D201 MSSGE B TYPE H MOV 0 D202 MSSGE B ADDR Proj WATA1SFX Syst A2AS Type Lad...

Страница 44: ... TC flag bit 3 ERRor flag bit 15 network error flags bits 4 7 local comms errors bits 8 13 M9036 K4 85 I I MOV D1000 M100 PLC COMM DIAL RUN AND BIT0 REG SELF CHECK MONITOR SCM If the Polling bit M102 stops toggling and the Stop polling bit M101 is not set then the SCM watch dog timer T1 will time out after 15secs and power down reset the Modem for 1sec In this example PLC output Y50 switches power...

Страница 45: ...controlled by M31 X1 When in On line Polling mode the read or write takes place without dialling ie Remote Monitoring In this example M12 will stop further dialing after Hang up M103 M115 M31 K100 104 I I I I I I T0 TC ERROR RPT BIT3 FLAG MONIT RATE T0 M31 M12 M101 108 I I I I I I I I PLS M0 RPT HANG STOP AUTO MONIT UP BIT1 DIAL RATE HOLD PLS M103 M31 I I I I TC BIT3 Manual Request Dial M30 X0 M30...

Страница 46: ...PLS M10 RE START PLS M10 129 I I RST M12 RE HANG START UP PLS HOLD Request Dial Command ie Bit0 1 in D1000 and restore previous message command except during Hang up M20 M32 131 I I I I MOV D1020 D1002 MAN MESS DIAL AGE PLS REG M10 M32 H I I I I MOV 0 D1002 RE MESS START AGE PLS REG M0 H I I MOV 1 D1000 AUTO COMM DIAL AND PLS REG M9038 I I PLC POWER UP Proj WATA1SFX Syst A2AS Type Ladder Page 5 ...

Страница 47: ...TA TOGLE SW PLS M50 P H 165 I I MOV F D103 DATA MSSGE SW A DATA M50 P H 171 I I MOV F0 D103 DATA MSSGE SW A DATA Load Directory A header D20 with extension No 3 Note 5 registers are read from the Directory scratch pad D20 24 so 1 to 20 digits should be entered in hex terminated with F M9038 H 177 I I MOV 3F00 D20 PLC DIR A POWER SCRCH UP PAD X0 M30 183 I I CALL DIAL Proj WATA1SFX Syst A2AS Type La...

Страница 48: ...44 X1 M31 185 I I X2 M32 187 I I X3 M33 189 I I 191 END Proj WATA1SFX Syst A2AS Type Ladder Page 7 ...

Страница 49: ...Hatfield Hertfordshire AL10 8XB Tel 01707 276100 Fax 01707 278695 Mitsubishi Electric Europe Westgate Business Park Ballymount Dublin 24 Ireland Tel 01 4505007 Fax 01 4564422 Email automation meuk mee com Connect with our Web Site www mitsubishi co uk automation MAN MODEM 00722 ...

Отзывы: