Table of Contents

Advertisement

Quick Links

A
A
D
D
D
E
D
E
U
S
U
S
ISSUE 2
VERSION 2
2
S
-
M
O
2
S
-
M
O
I
N
-
M
O
I
N
-
M
O
S
K
-
M
O
S
K
-
M
O
E
R
S
H
A
E
R
S
H
A
D
E
M
D
E
M
D
E
M
-
2
D
E
M
-
2
D
E
M
-
D
E
M
-
N
D
B
O
O
N
D
B
O
O
2
2
K
K

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric A2S-MODEM

  • Page 1 ISSUE 2 VERSION 2...
  • Page 2: Version

    Mitsubishi Electric Europe BV absolves itself of all responsibilities for damage and injuries that may occur during installation or use of this equipment. Mitsubishi Electric Europe BV absolves itself of all responsibilities for any type of modification made to the equipment.
  • Page 3: Table Of Contents

    Contents FORWARD .............................I INTRODUCTION..........................1 SECTION 1 - MODEM STANDARDS AND COMPATIBILITY ............ 2 1.1 C ..........................2 OMPATIBILITY 1.2 W .................2 HAT YOU SHOULD HAVE IN YOUR PACKAGE 1.3 W ..........................2 HAT TO DO NEXT SECTION 2 – GETTING STARTED ....................3 2.1 I &...
  • Page 4 3.6.1 Setting the Start Address of WAT Information ..............21 Example 3-8 Setting WAT addresses ....................21 3.6.2 Information in the WAT Header ...................22 Example 3-9 WAT settings in the PLC (Write Remote command).............23 Example 3-10 WAT settings in the PLC (Read Remote command) .............23 3.7 WAT S ...............24 ETTINGS AND...
  • Page 5: Introduction

    INTRODUCTION Your new modem is one of the most technologically advanced available. It combines high-speed data, fax, voice and ASVD (Automatic Simultaneous Voice and Data) functions in a single unit. The modem has been designed to complement the Mitsubishi FX and A ranges of PLC’s, and provides a number of unique telemetry features for handling data transfers between PLC’s.
  • Page 6: Section 1 - Modem Standards And Compatibility

    The modem has been designed to operate in all European Countries and complies with standard TBR21. 1.2 What you should have in your package A2S-MODEM One A2S-MODEM module One PC Utilities Software Diskette * One Telephone Cable (BT – UK only) One 24 Volt dc connector...
  • Page 7: Section 2 - Getting Started

    Secure the module with the retained mounting screw at the top. NOTE: Installing the A2S-MODEM on the backplane does not connect to the Bus or take power or occupy I/O addresses. To avoid loosing any I/O addresses, assign “S0”, under Parameters in the PLC software, for that slot.
  • Page 8: Connection To Fx2N-232-Bd

    2.2.1 continued NOTE 1: Modems cannot be connected directly to the CPU programming port. NOTE 2: Set the Link module to protocol 1, Write during run, 9600 baud, 8 data bits, No parity, 1 Stop bit and Sum Check ON. Eg. MODE=1, SW04,05,07,08 &12 = ON, all other switches OFF.
  • Page 9: Connection To Fx-232Aw / Fx0N-232Adp

    2.2.4 Connection to FX-232AW / FX0N-232ADP logi MITSUBISHI MODEM-R2A-CAB mode FX1S/FX1N/FX2N + FX2N-CNV-BD + FX0N-232-ADP MITSUBISHI FX + FX-232AW Connect the 9-pin to 25-pin cable, type MODEM-R2A-CAB, between the Data RS232 port on the front of the MODEM and the RS232C Connector on the FX232AW / FX0N-232ADP module.
  • Page 10: Wiring

    2.2.6 Wiring 24V dc Supply A2S and DIN Versions Wire 24 dc from a suitable supply, usually from terminals on a nearby module to the miniature screw terminal plug provided. Check the specification for the 24V supply before making connection. However, reversing the polarity of the dc will cause no harm.
  • Page 11: Section 3 - Using The Enhanced Functions

    Section 3 – Using the Enhanced Functions In order to configure your modem and use its enhanced functions it must be connected to the serial port of a PC running terminal software such as Terminal, HMI Tools \Modem, Hyper-Terminal or ProComm Plus. This section describes how this is done. 3.1 Setting the Modem with Terminal Software The modem is pre-set to communicate at 9600 Baud with 8 data bits, 1 stop bit and No parity.
  • Page 12: Automatic Simultaneous Voice And Data

    3.2 Automatic Simultaneous Voice and Data To use the ASVD function, simply plug a suitable handset or headset into the front panel socket marked with a handset symbol. Voice and data communication will be made automatically during the period that the modem is connected. 3.2.1 Using Simultaneous Voice and Data with Other Modems Not all modems available support simultaneous voice and data functions.
  • Page 13: Online Maintenance Using Mitsubishi Plc Programming Software

    3.3 Online Maintenance Using Mitsubishi PLC Programming Software One of the most commonly used features of the modem is to contact a remote PLC and then use programming software to interrogate operation. To do this requires a two-stage operation. Modem- A2S DATA RS232 VOIC E...
  • Page 14: Communicating With Mitsubishi Plc's

    3.3.3 Communicating with Mitsubishi PLC’s Using the A2S/DIN/DESK Modems you will be able to transfer data between a PC/Laptop and a PLC, seamlessly without making any changes to the default settings in the HMI or Programming software. The modem can be connected directly to the PLC via a suitable RS-232 interface or through an HMI port in the “Transparent”...
  • Page 15: Transferring Files From/To The Hmi

    Secondly, load the HMI programming software and adjust the speed ‘Settings’ to 2400 baud in the ‘Transfer \ Project’ window before starting the transfer. NOTE: After each successful transfer the call must be terminated and redialled at 9600 baud before normal transparent mode to the PLC can be resumed. CAUTIONARY NOTE: At the time of writing.
  • Page 16: Example 3-3 Transparent Settings

    AT%ADP=T,<Baud rate,No. Data bits,Parity,No. Stop bits><enter> Example 3-3 Transparent settings AT%ADP=T,9600,7,E,1 AT%ADP=T,19200,8,O,2 You can check your setting by typing: AT%ADP?<enter> Example response, Transparent – 19200,8,O,2 The local Modem must also be set to the Baud rate and format to match the remote Modem.
  • Page 17: Security

    3.4 Security Your modem has the powerful facility of a two level access code (password) facility we call “User” and “Administrator” levels. The codes will both protect your system from unauthorised connection/communication and allow the on-line configuration of the remote modem’s parameters. Once set, anyone dialling in must enter the correct User access code before data will be allowed to pass through to your system.
  • Page 18: Installing The Access Codes

    3.4.2 Installing the Access Codes To install or change an access code it will be necessary to connect a PC directly to the modem via the PC serial port and the RS232 data connector. Use the MODEM-PC9- CAB or suitable lead and run your terminal software. Installing for the first time The factory default setting is no user code set.
  • Page 19: Dial On Demand

    3.5 Dial On Demand The dial on demand facility enables an FX or AnS PLC to command the modem to dial pre-stored telephone numbers and automatically exchange data with a remote site. IMPORTANT NOTE: The facilities described in sections 3.5 and 3.6 will not operate from an An(S)/QAn(S) PLC when connected via an HMI.
  • Page 20: Example 3-4 Command Block Address Setting

    2) Locating the command registers The command registers may be located in any valid D-type register within the PLC. A contiguous block of 7 registers is required. The modem will need to know the start address of this block and this is done with the command: AT%ADR = xxxxxx Where xxxxxx is the address from 1 to 6 digits.
  • Page 21: Contents Of The Command Block

    3.5.3 Contents of the command block The contents of the command block within the PLC are shown in the following figures. For a sample program that uses the dial on demand facility see section 10 at the end of this manual. COMMAND BLOCK D(x) Status register...
  • Page 22 Dial Request Bit (bit 0) In order to trigger a dial on demand action, the PLC program needs only to set the Dial Request (RQ) bit in the first register of the command block. When the RQ bit is set the telephone and action data is retrieved by the modem in the same poll, so remember to set these values before the bit! Stopped Polling bit (bit 1) The Stopped Polling bit (STP) is set by the modem while it is performing a...
  • Page 23: Setting Telephone Numbers

    3.5.5 Setting telephone numbers When dial on demand is required, the modem uses the first telephone number value from the command block to determine the number to dial. If this value is in the range of 1 to 9 a speed-dial number is selected. If the value is in the range A to D (hex) then the modem will read a block of registers from the PLC, then dial the returned value.
  • Page 24: Setting Fixed Messages In The Modem

    By either swapping the value of the address in the command block, or by swapping the value at the directory address before making a dial request; a huge directory of telephone numbers becomes available, limited only by the amount of free data registers within the PLC. 3.5.6 Setting fixed messages in the modem Fixed (text) messages are stored within the modem, so must be pre-set by connecting the modem to a PC terminal, and using the command:...
  • Page 25: Wide Area Telemetry (Wat)

    3.6 Wide Area Telemetry (WAT) One of the most exciting features of your modem is its ability is not just to automatically dial on demand, but also exchange information with another, remote PLC. We refer to this process as Wide Area Telemetry (WAT) as it gives you the possibility of setting up a wide area network of PLC’s.
  • Page 26: Information In The Wat Header

    3.6.2 Information in the WAT Header The instructions read by the modem from the WAT header are in the form shown in the two figures below. It is the responsibility of the PLC program to transfer the correct information into these registers before requesting the transaction. WAT REGISTERS D(y) Number of data words to...
  • Page 27: Example 3-9 Wat Settings In The Plc (Write Remote Command)

    Detail of WAT header address’ #2 & 3. D(y+1) WAT Header Address #2 b0-7 Device prefix letter Bits 7 to 0 – The Device Prefix letter in ASCII Hexadecimal, eg. X,Y,M,B,D,W, etc. D(y+2) WAT Header Address #3 b0-15 Device Address Bits 15 to 0 –...
  • Page 28: Wat Settings And Procedures Before Operation

    3.7 WAT Settings and Procedures before operation Start 1.Reserve 7 (D) registers for the Command Block (see 3.5.3) 2.Reserve 3 (D) registers for the WAT header + 16 registers for the WAT data (see 3.6.2) Set-up the A2S Modem using the following commands: AT%ADP=<PLC type>...
  • Page 29: Section 4 - Troubleshooting

    Section 4 – Troubleshooting Your modem is designed to provide reliable and trouble free functionality. However, should you experience any difficulty, the information in this section may assist you in determining and resolving the source of the problem. If you cannot resolve your situation after reading this chapter, contact your dealer of the Technical Support Centre at the number provided on the last page of this manual.
  • Page 30: The Modem Stops Polling After First Poll

    4.4 The Modem Stops Polling After First Poll 1. Only applies to Dial On Demand polling 2. Check that the serial cable that you are using to connect to the PLC is right for the PLC. 3. If using a communications module, check that its settings are correct 4.
  • Page 31: Section 5 - At Command Set And S - Registers

    Section 5 – AT Command Set and S - Registers All commands below are preceded with AT. The commands are not case sensitive. 5.1 Standard Commands Command Function Re-execute command Go off-hook and attempt to answer an incoming call Select V.22 connection at 1200bps Select Bell 212A connection at 1200bps Return OK Message Dial modified by parameter n...
  • Page 32 Report basic call progress result codes and connection speeds i.e. OK, CONNECT, RING, NO CARRIER (also, for busy, if enabled, and dial tone not detected), NO ANSWER, CONNECT XXXX and ERROR. Report basic call progress result codes and connection speeds i.e. OK, CONNECT, RING, NO CARRIER (also, for busy, if enabled, and dial tone not detected), NO ANSWER, CONNECT XXXX and ERROR.
  • Page 33 &S0 DSR is always active &S1 DSR acts per V.25 &T0 Terminate any test in progress &T1 Initiate local analogue loop-back test &T2 Returns ERROR result code &T3 Initiate local digital loop-back test &T4 Allow remote digital loop-back test &T5 Disallow remote digital loop-back request &T6 Request an RDL without self-test...
  • Page 34: Ecc Commands

    -SDR=0 Disable distinctive ring -SDR=1 Enable distinctive ring type 1 -SDR=2 Enable distinctive ring type 2 -SDR=3 Enable distinctive ring type 1 and 2 -SDR=4 Enable distinctive ring type 3 -SDR=5 Enable distinctive ring type 1 and 3 -SDR=6 Enable distinctive ring type 2 and 3 -SDR=7 Enable distinctive ring type 1, 2 and 3 5.2 ECC Commands...
  • Page 35: Voice/Audio Commands

    +FDT= Data transmission +FDTC: Report the polled station capabilities +FET: Post page message response +FET=n Transmit page punctuation +FHNG Call termination with status Session termination +FLID= Local ID string +FLPL Document for polling +FMDL? Identify model +FMFR? Identify manufacturer +FPHCTO Phase C time-out +FPOLL Indicates polling request...
  • Page 36: S-Registers

    5.8 S-Registers Registry No. Function Number of rings to auto answer Ring counter Escape character Carriage return character Line feed character Back Space character Wait time for dial tone before blind dialling, or after ‘W’ modifier Wait time for carrier after dial, for silence, or for dial time after ‘W’ dial modifier Pause time for dial delay Carrier detect response time...
  • Page 37: Unique At Commands

    5.9 Unique AT Commands (Commands specific to the A2S/DIN-MODEM-2) %ACA= <old>, <new> Replace Administrator level Access Code %ACU= *, <new> Enable User level Access Code, set to <new> %ACU= <old>, * Disable user level access code %ACU= <old>, <new> Replace user level access code %ADO=0 Disable PLC polling %ADO=1...
  • Page 38: Section 6 - Support Service And Compliance Details

    Section 6 – Support Service and Compliance Details 6.1 Customer Support If after installing as per the instructions and trying the recommended troubleshooting techniques, you are still unable to resolve a problem, you should contact either (1) Your authorised distributor or (2) the Technical Support Centre at the number provided at the end of this manual.
  • Page 39: Section 7 - Technical Details

    Section 7 – Technical Details 7.1 Modem Serial Connections The table below shows the pin connections required for a 9-way RS232 connection to the modem. Pin Number Signal Signal Name Signal Direction Abbreviation Modem No Connection RD (RXD) Receive Data SD (TXD) Transmit Data DR (DTR)
  • Page 40: Fx-232Aw/Aj Communications Module

    7.2.2 FX-232AW/AJ Communications Module (MODEM-R2A-CAB) 25-way female to 9-way male D-Type connectors Com m s . M odu le M odem 7.2.3 PC Serial Port (9-way D-type) (MODEM-PC9-CAB) 9-way female to 9-way male D-type connectors M o d e m 7.2.4 MAC / E-Range HMI’s (MODEM-MAC-CAB) 9-way female to 9-way male D-Type connectors...
  • Page 41: Section 8 - Technical Specification

    Operating ambience No corrosive gasses or dust Cooling method Self cooling Power rating Input Voltage Input Current (32V) (12V) Equipment Mass A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 Dimensions Notes A2S-MODEM DIN-MODEM-2 mm plus 3mm for DIN clip DESK-MODEM-2 mm height includes feet Section 9 – Accessories Available...
  • Page 42: Section 10 - Plc Programming Example

    Section 10 – PLC Programming Example The following PLC program extract has been included to illustrate how the Wide Area Telemetry features may be used. PROGRAM EX. FOR THE WIDE AREA TRANSMISSION (%WAT) AnS PLC to FX. Power—up: Select Directory Telephone No. order, ie.
  • Page 43 This example WAT addresses D100 for A & D200 for B are set into the Modem with the AT%WATA & AT%WATB commands. Load WAT message "A" with header command and data. ie.remote Protocol 3, Write & 1 word (D100) to remote device Y (D101), address 0000—000F (D102) |M9038 16 +I I——+————————————————————————————————————————————————[MOV...
  • Page 44 Set the Directory head addresses in D1003—D1006, ie. A=D20—24, B=D30—34, C=D40—44 & D=D50—54. |M9038 64 +I I——+————————————————————————————————————————————————[MOV D1003]+ |PLC |POWER| |—UP ADDR +————————————————————————————————————————————————[MOV D1004]+ ADDR +————————————————————————————————————————————————[MOV D1005]+ ADDR +————————————————————————————————————————————————[MOV D1006]+ ADDR MONITORING THE STATUS REGISTER Continously monitor the Status register for the TC flag(bit 3), ERRor flag(bit 15), network error flags(bits 4—7) &...
  • Page 45 M101 K150 95 +I/I———I/I———I/I———————————————————————————————————————————————————(T1 |W/DOG STOP |RESET BIT1 RESET W/DOG | |PLS TIME 99 +I I———————————————————————————————————————————————————————————————(T2 |SCM |W/DOG RESET | TIME |M9036 T1 101 +I I———I/I—————————————————————————————————————————————————————————( )——+ |PLC 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).
  • Page 46 Hang—up by clearing the message register (D1002) and stopping any further dial requests (M12) until the Hang—up M32(X2) is released. |M32 122 +I I———I I———————————————————————————————————————————————————[SET AUTO HANG— | DIAL HOLD |M32 125 +I/I—————————————————————————————————————————————————————————[PLS RE— START | |M10 129 +I I—————————————————————————————————————————————————————————[RST |RE—...
  • Page 47 DATA TEST ROUTINES Toggle "write to remote" test pattern (D103) every time "TC" bit is set. |M103 155 +I I—————————————————————————————————————————————————————————[PLS DATA |BIT3 TOGLE | |M53 159 +I I———I/I——+——————————————————————————————————————————————————————( )——+ |DATA DATA | DATA |TOGLE SW. |PLS |M53 +I/I———I I——+ |DATA DATA |TOGLE SW.
  • Page 48 185 +I I———————————————————————————————————————————————————————————————( )——+ 187 +I I———————————————————————————————————————————————————————————————( )——+ 189 +I I———————————————————————————————————————————————————————————————( )——+ 191 +——————————————————————————————————————————————————————————————————[END ]+ +—————————————————————+—————————————————————+————————————————+——————————————+ | Proj:WATA1SFX | Syst:A2AS | Type:Ladder | Page: +—————————————————————+—————————————————————+————————————————+——————————————+...
  • Page 49 Mitsubishi Electric Europe, Automation Systems Division UK, Travellers Lane, 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...

This manual is also suitable for:

Desk-modem-2Din-modem-2

Table of Contents