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

A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

Embed Size (px)

Citation preview

Page 1: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

AA22SS--MMOODDEEMM

DDIINN--MMOODDEEMM--22

DDEESSKK--MMOODDEEMM--22

UUSSEERRSS HHAANNDDBBOOOOKK

ISSUE 2VERSION 2

Page 2: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

i

AA22SS,, DDIINN,, DDEESSKK--MMOODDEEMM--22FORWARD

This handbook is a programming and function description for the A2S, DIN andDESK-2 range of modems with system program version 1.2x.

© LogiLink Ltd.2000

Unless Mitsubishi Electric Europe BV has accepted a contractual obligation in respectof the permitted use of the information and data contained herein, such informationand data is provided without responsibility and Mitsubishi Electric Europe BVdisclaims all liability arising from its use.

All examples in this manual are used solely to promote understanding of how theequipment works and its operation. Mitsubishi Electric Europe BV take noresponsibility if these examples are used in real applications.

Mitsubishi Electric Europe BV absolves itself of all responsibilities for damage andinjuries that may occur during installation or use of this equipment.

Mitsubishi Electric Europe BV absolves itself of all responsibilities for any type ofmodification made to the equipment.

Page 3: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

ii

Contents

FORWARD ............................................................................................................................................. I

INTRODUCTION.................................................................................................................................. 1

SECTION 1 - MODEM STANDARDS AND COMPATIBILITY .................................................... 2

1.1 COMPATIBILITY ..............................................................................................................................21.2 WHAT YOU SHOULD HAVE IN YOUR PACKAGE.................................................................................21.3 WHAT TO DO NEXT..........................................................................................................................2

SECTION 2 – GETTING STARTED .................................................................................................. 3

2.1 INSTALLATION & REMOVAL ...........................................................................................................32.1.1 Installation – A2S Version......................................................................................................32.2.2 Removal – A2S Version ..........................................................................................................32.1.3 Installation – DIN Version .....................................................................................................32.1.4 Removal –DIN Version...........................................................................................................3

2.2 CONNECTION AND WIRING .............................................................................................................32.2.1 Connection to a Link module (eg. A1SJ71C24-R2)...............................................................32.2.2 Connection to FX2N-232-BD.................................................................................................42.2.3 Connection to MAC 50/90 and E range of HMI’s ..................................................................42.2.4 Connection to FX-232AW / FX0N-232ADP...........................................................................52.2.5 Connection to DESK Version .................................................................................................52.2.6 Wiring.....................................................................................................................................6

2.3 INITIAL CONFIGURATION.................................................................................................................6

SECTION 3 – USING THE ENHANCED FUNCTIONS .................................................................. 7

3.1 SETTING THE MODEM WITH TERMINAL SOFTWARE ........................................................................73.1.1 Connecting the Modem to a PC..............................................................................................73.1.2 Configuring the Modem..........................................................................................................7

Example 3-1 Protocol settings ...............................................................................................................73.2 AUTOMATIC SIMULTANEOUS VOICE AND DATA .............................................................................8

3.2.1 Using Simultaneous Voice and Data with Other Modems......................................................83.3 ONLINE MAINTENANCE USING MITSUBISHI PLC PROGRAMMING SOFTWARE................................9

3.3.1 Making a Connection .............................................................................................................9Example 3-2 Dialling ............................................................................................................................9

3.3.2 Terminating a Call .................................................................................................................93.3.3 Communicating with Mitsubishi PLC’s................................................................................103.3.4 Communicating with E series and MAC HMI’s ...................................................................103.3.5 Transferring files from/to the HMI.......................................................................................113.3.6 Communicating with other makes of PLC controllers..........................................................11

Example 3-3 Transparent settings........................................................................................................123.4 SECURITY......................................................................................................................................13

3.4.1 Normal Operation ................................................................................................................133.4.2 Installing the Access Codes ..................................................................................................14

3.5 DIAL ON DEMAND ........................................................................................................................153.5.1 Setting Dial on Demand Commands ....................................................................................15

Example 3-4 Command Block Address setting ...................................................................................163.5.2 Online Configuration ...........................................................................................................163.5.3 Contents of the command block............................................................................................173.5.4 Control and Status Register..................................................................................................173.5.5 Setting telephone numbers....................................................................................................19

Example 3-5 Setting Speed-Dial numbers ...........................................................................................19Example 3-6 Directory Dialling (PLC programming) .........................................................................19

3.5.6 Setting fixed messages in the modem....................................................................................20Example 3-7 Setting Messages from the PLC .....................................................................................20

3.6 WIDE AREA TELEMETRY (WAT)..................................................................................................21

Page 4: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

iii

3.6.1 Setting the Start Address of WAT Information .....................................................................21Example 3-8 Setting WAT addresses ..................................................................................................21

3.6.2 Information in the WAT Header ...........................................................................................22Example 3-9 WAT settings in the PLC (Write Remote command).....................................................23Example 3-10 WAT settings in the PLC (Read Remote command) .....................................................23

3.7 WAT SETTINGS AND PROCEDURES BEFORE OPERATION...............................................................24

SECTION 4 – TROUBLESHOOTING ............................................................................................. 25

4.1 THE MODEM DOES NOT RESPOND TO COMMANDS..........................................................................254.2 THE MODEM DIALS BUT DOES NOT CONNECT..............................................................................254.3 THE MODEM DOES NOT DIAL, REPORTING “NO DIALTONE” ...................................................254.4 THE MODEM STOPS POLLING AFTER FIRST POLL .........................................................................264.5 POLLING OCCURS, BUT WILL NOT DIAL ON DEMAND...................................................................264.6 MODEM OCCASIONALLY HANGS-UP DURING WAT DATA EXCHANGE. ..........................................264.7 OCCASIONAL “RE-TRIES” OCCUR DURING PROGRAMMING/MONITORING.....................................26

SECTION 5 – AT COMMAND SET AND S - REGISTERS........................................................... 27

5.1 STANDARD COMMANDS................................................................................................................275.2 ECC COMMANDS..........................................................................................................................305.3 MNP 10 COMMANDS....................................................................................................................305.4 W-CLASS COMMANDS................................................................................................................305.5 FAX CLASS 1 ...............................................................................................................................305.6 FAX CLASS 2 ...............................................................................................................................305.7 VOICE/AUDIO COMMANDS ...........................................................................................................315.8 S-REGISTERS.................................................................................................................................325.9 UNIQUE AT COMMANDS...............................................................................................................33

SECTION 6 – SUPPORT SERVICE AND COMPLIANCE DETAILS......................................... 34

6.1 CUSTOMER SUPPORT.....................................................................................................................346.2 EUROPEAN COMPLIANCE INFORMATION.......................................................................................346.3 RINGER EQUIVALENCE NUMBER...................................................................................................346.4 APPROVED USAGE ........................................................................................................................34

SECTION 7 – TECHNICAL DETAILS............................................................................................ 35

7.1 MODEM SERIAL CONNECTIONS.....................................................................................................357.2 RECOMMENDED CABLE CONNECTIONS.........................................................................................35

7.2.1 A1SJ71C24-R2 Communications Module ............................................................................357.2.2 FX-232AW/AJ Communications Module..............................................................................367.2.3 PC Serial Port (9-way D-type) .............................................................................................367.2.4 MAC / E-Range HMI’s .........................................................................................................36

7.3 LED FUNCTIONS...........................................................................................................................36

SECTION 8 – TECHNICAL SPECIFICATION.............................................................................. 37

8.1 RATED OPERATING LIMITS ...........................................................................................................37

SECTION 9 – ACCESSORIES AVAILABLE.................................................................................. 37

SECTION 10 – PLC PROGRAMMING EXAMPLE....................................................................... 38

Page 5: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

1

AA22SS,, DDIINN,, DDEESSKK--MMOODDEEMM--22INTRODUCTION

Your new modem is one of the most technologically advanced available. It combineshigh-speed data, fax, voice and ASVD (Automatic Simultaneous Voice and Data)functions in a single unit. The modem has been designed to complement theMitsubishi FX and A ranges of PLC’s, and provides a number of unique telemetryfeatures for handling data transfers between PLC’s.

The modem is capable of operating at data speeds of 33.6Kbps and has the ability tostore telephone numbers, fixed messages, etc.

This manual is divided into eleven sections covering (1) Modem Standards andCompatibility, (2) Getting Started, (3) Enhanced Functions, (4) Troubleshooting,(5) AT Command Set, (6) Support, Service and Compliance details, (7) TechnicalDetails, (8) Technical Specification, (9) Accessories, and (10) PLC ProgrammingExamples.

Please be sure to read section two carefully before installing your modem.

Page 6: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

2

Section 1 - Modem Standards and Compatibility

1.1 CompatibilityYour modem is compatible with the following communications standards:

! V.34 (33600bps)! V.32bis (14400bps)! V.32 (9600bps)! V.22bis (2400bps)! V.22 (1200bps)! Bell 212A (1200bps)! Bell 103 (300bps)! V.17 (14400bps FAX)! V.29 (9600bps FAX)

! V.27ter (4800bps FAX)! V.21 Channel 2 (300bps FAX)! V.42 (error correction)! MNP 2-4 (error correction)! V.42bis (data compression)! MNP 5 (data compression)! Class 1 Fax Command Set! Hayes AT Command Set

The modem has been designed to operate in all European Countries and complies withstandard TBR21.

1.2 What you should have in your package A2S-MODEM

One A2S-MODEM moduleOne PC Utilities Software Diskette *One Telephone Cable (BT – UK only)One 24 Volt dc connectorOne Modem to C24 Data Cable (MODEM-R2-CAB)

DIN-MODEM-2One DIN-MODEM-2 moduleOne PC Utilities Software Diskette *One Telephone Cable (BT – UK only)

DESK-MODEM-2One DESK-MODEM-2 moduleOne PC Utilities Software Diskette *One Telephone Cable (BT – UK only)One 12 Volt UK Mains adapterOne PC to Modem RS232 9 way Cable (MODEM-PC9-CAB)

* Includes manual in PDF format and Windows Terminal application

If any of the above items are missing please contact your supplier

1.3 What to do nextIf you do not wish to use any of the enhanced features available in your modem gostraight to section 2 (Getting Started).

If you wish to use some of the enhanced features; i.e. Access Code Protection, DialOn Demand and Wide Area Telemetry, also read section 3 (Using the EnhancedFunctions)

If you experience problems go to Section 4 (Troubleshooting).

Page 7: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

3

Section 2 – Getting Started

2.1 Installation & Removal

2.1.1 Installation – A2S Versioni) Locate in a vacant I/O position, preferably adjacent to the Comms Link

module (A1SJ71C24-R2/A1SJ71UC24-R2/A1SJ71QC24-R2).ii) Insert the module mounting-hook into the slot below the chosen I/O position

on the A1S Base and push the top of the module forward until fully located.iii) 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 ortake power or occupy I/O addresses. To avoid loosing any I/O addresses, assign “S0”,under Parameters in the PLC software, for that slot.

2.2.2 Removal – A2S Versioni) Unscrew mounting screw then tilt the module backwards against the

mounting hook until clear of the A1S Base connector.ii) Lift upwards and remove the module hook clear of the slot.

2.1.3 Installation – DIN Versioni) 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 Versioni) 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 theData RS232 port on the front of the DIN-MODEM-2 or A2S-MODEM andto the RS232 connector on the front of the A1SJ71C24-R2 link module.

ii) Connect the telephone lead provided by plugging in the RJ11 type plug intothe socket labelled LINE, making sure that the connector is properly latched.

iii) When simultaneous voice and data is required, connect a suitable handset orheadset by plugging into the socket labelled VOICE.

iv) Connect a 24V or 12V dc supply via the connector provided. The dcpolarity is not important as it is corrected within the MODEM.

AnS/QnS/A via C24 (R2)

RDSDCDTRCSOH

VOIC E

DATARS232

24V

OV

LIN E

Modem- A2S

MODEM-R2-

Page 8: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

4

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. After changing these switches turn the power to the PLC off

and back on alternatively reset the CPU.

2.2.2 Connection to FX2N-232-BD

i) Connect a 9-pin male to 9-pin female cable, type MODEM-FX2-CAB orMODEM-PC9-CAB, wired to the schematic shown in Section 7, betweenthe Data RS232 port on the front of the MODEM and the serial port at thetop 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 onthe front of the MODEM and PRINTER serial port at the back of the MACor E range terminal.

iv) Then follow the instructions in Section 2.2.1 ii) to iv) above

MITSUBISHI

FX1S/FX1N/FX2N + 232-BD

mode

RDCDCS

1

2O

VO

DARS

log

LI

MODEM-FX2-CAB

ORMODEM-PC9-CAB

AnS/QnS/A

MITSUBISHI

FX0S/FX1SFX0N/FX1N/FX2N

MITSUBISHI

FX

MAC 40+ CAB

MAC 40+ CAB

FX-20P-CAB

MODEM-MAC-CAB

RD S

CD T

CS O

VOICE

DATARS232

24V

OV

LINE

Modem-A2S

mod

RDCDCS

1

2O

V

DR

lo

LI

Page 9: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

5

2.2.4 Connection to FX-232AW / FX0N-232ADP

i) Connect the 9-pin to 25-pin cable, type MODEM-R2A-CAB, between theData RS232 port on the front of the MODEM and the RS232C Connectoron the FX232AW / FX0N-232ADP module.

ii) Then follow the instructions in 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, betweenthe Data RS232 port at the rear of the MODEM and a sparecommunication 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

RDCDCS

1

2O

VOI

DARS

logi

LI

MODEM-R2A-CAB

MITSUBISHI

FX + FX-232AW

RDSDCDTRCSOH

logilink336

MODEM-PC9-CAB

Page 10: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

6

2.2.6 Wiring24V dc Supply A2S and DIN Versions

i) Wire 24 dc from a suitable supply, usually from terminals on a nearbymodule to the miniature screw terminal plug provided.

ii) Check the specification for the 24V supply before making connection.However, reversing the polarity of the dc will cause no harm.

12V dc Supply DESK Versioni) 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 section 3.1 for more details.

Page 11: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

7

Section 3 – Using the Enhanced Functions

In order to configure your modem and use its enhanced functions it must be connectedto 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 andNo parity. Flow control or Hardware Handshake is OFF. The terminal software musttherefore be set to match these parameters in order to communicate at all.

eg. 9600,8,N,1

3.1.1 Connecting the Modem to a PC

To connect the modem to a PC, use a suitable RS232 modem cable (accessoryMODEM-PC9-CAB), wiring for such a cable is shown in section 7.2.3.

When the modem is connected, any characters typed at the terminal software will beechoed back by the modem.

When the modem is communicating with PC terminal software it can be configuredusing AT commands, so called because they are all preceded with the letters AT. Afull list of these commands is given in section 5. The modem is supplied with allessential parameters for plug and play already set, but if these are lost for any reasonthe device can be reprogrammed with the following command string:

AT&F&D0S0=1 &W0 (all 0’s are zeros)or

AT%F (version 1.20 or later)

3.1.2 Configuring the Modem

Before the modem can be connected to a PC/Laptop, PLC or an HMI it will benecessary to set the modem to the correct protocol. Just as the HMI, for example,requires to know what PLC it is connected to, the modem has special protocol settingsfor different configurations. Refer to section 5.9 for a list of protocol settings and usethe following command string,

AT%ADP=x (x = protocol setting)

Example 3-1 Protocol settingsAT%ADP=0 (or 1) Modem connected to a PC/Laptop (default)*AT%ADP=3 Modem connected to an FX PLCAT%ADP=A Modem connected to an AnS PLC via an E HMI

* Earlier versions before 1.20 were set to protocol 1.

Page 12: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

8

3.2 Automatic Simultaneous Voice and Data

To use the ASVD function, simply plug a suitable handset or headset into the frontpanel socket marked with a handset symbol. Voice and data communication will bemade 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. First ensurethat the other modem is capable of supporting this feature. Refer to the othermodem’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-linechanges are made to the PLC code. A risk of damage to equipment connected to thePLC or even injury may occur if alterations are made to the program or data withoutcontinuous voice contact with a local operator.

Page 13: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

9

3.3 Online Maintenance Using Mitsubishi PLC Programming Software

One of the most commonly used features of the modem is to contact a remote PLCand then use programming software to interrogate operation. To do this requires atwo-stage operation.

3.3.1 Making a Connection

Firstly, with the modem connected to your PC running terminal software, dial theremote modem. Entering the command ATD followed by the telephone number ofthe remote site is one way of doing this.

NOTE: Ensure the settings in the terminal software have been set to 9600,8,N,1.

Example 3-2 DiallingATD 0123456789 <enter> to dial a site on 0123456789ATDT 0123456789 <enter> forces tone dialling (default)ATDP 0123456789 <enter> forces pulse dialling

Secondly, close the terminal application (do not minimise). The modem will hold theconnection. Then run your Mitsubishi programming software from Windows, forexample, GPPWIN.

3.3.2 Terminating a Call

To terminate the connection, exit the programming software and restart the terminalapplication. Then select “Hang-up” or type:

+++ (3 pluses) followed by a pause of at least 1 second, or until the modem returns“OK”

Then type ATH <enter> to ‘hang up’, the modem will close the connection and go on-hook.

If the modem does not respond with OK after the three + symbols, try again.

RDSDCDTRCSOH

logilink336

RDSDCDTRCSOH

VOIC E

DATARS232

24VOV

LIN E

Modem- A2S

FX0S/FX1SFX0N/FX2N

MITSUBISHI

MITSUBISHI

FX

AnS/Qns/ A

mo

RDCDCS

12O

V

DR

lo

LI

Page 14: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

10

3.3.3 Communicating with Mitsubishi PLC’s

Using the A2S/DIN/DESK Modems you will be able to transfer data between aPC/Laptop and a PLC, seamlessly without making any changes to the default settingsin the HMI or Programming software. The modem can be connected directly to thePLC via a suitable RS-232 interface or through an HMI port in the “Transparent”mode, refer to section 2.

A simple test would be that if you are able to programme or monitor the PLC or HMIwhen directly connected using the appropriate cable, then the same settings will applyfor the A2S Modems. The intelligence within the modem automatically adjustsformats, even speeds to suit the individual PLC and HMI configuration. These uniquefeatures, for example, include the ability to recognise when the software is addressingthe HMI and allow “high speed” data transfers.

3.3.4 Communicating with E series and MAC HMI’s

There are two methods of communication between the HMI and PC using Modems.

a) Method 1 (preferred):Using two Mitsubishi A2S/DIN/DESK MODEMs at both ends.

This unique method provides 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 Afor A/Q series via HMI, refer to section 3.1.

2) If “HMI File transfers” (see section 3.3.5) are also required, when the HMI isconnected to an FX series PLC, the RS232 port in the HMI must be changed to9600,8,N,1. This can be altered via the HMI software in “Set-up/Peripherals” orvia the HMI Front Panel.

Firstly, make connection in the normal way, (see 3.3.1, above), then close theTerminal application (do not minimise).

Secondly, load the HMI programming software and select the speed “settings” to abaud rate up to 38400 then, with the “Automatic terminal RUN/PROG” selected,Transfer your Project in the normal way.

After each successful transfer the modems will automatically return to 9600 baud toallow normal transparent mode to take place.

b) Method 2:Dialling from another manufacturers make of modems connected at the PC end.

Firstly, select 2400 baud in the terminal software before making a connection thenclose the Terminal application (do not minimise).

Page 15: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

11

Secondly, load the HMI programming software and adjust the speed ‘Settings’ to2400 baud in the ‘Transfer \ Project’ window before starting the transfer.

NOTE: After each successful transfer the call must be terminated and redialled at9600 baud before normal transparent mode to the PLC can be resumed.

CAUTIONARY NOTE:At the time of writing. it is only possible to communicate with the E range and certainversions of the MAC range of HMI’s, using either method 1 or 2.

3.3.5 Transferring files from/to the HMI

It is also possible to download files held in the E HMI, for example, “Trends”,“Recipes” and “Alarm Lists”. To do this requires the HMI to be dialled from theWindows HMI Tools program “Filetran”.

Firstly, enter your telephone numbers in the Connections list by selecting ‘Edit’,under ‘Options\Comm Settings’. Then check that the communication is set to9600,8,N,1.

a) Method 1 (preferred):Using two Mitsubishi A2S/DIN/DESK MODEMs at both ends.

To dial your chosen telephone number click ‘Connect’ and wait for the Files to bedisplayed 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 asdescribed in method 1, above.

NOTE:The RS232 port in the HMI will need to be changed back to the FX or AnS formatevery time it is required to program a PLC through the transparent mode.

3.3.6 Communicating with other makes of PLC controllers

Because the purpose of the Modems’ on-board intelligence is to communicatespecifically with the Mitsubishi range of PLC’s there may be some difficulty intransferring data between other makes. Until a local protocol has been written for thedevice being connected, setting another code will confuse the modem and it willincorrectly convert the serial format.

To allow the A2S type modem to be used for non-Mitsubishi equipment, for exampleOn-line Maintenance operation, it will be necessary to set the remote A2S Modeminto the special transparent protocol, as follows:

Page 16: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

12

AT%ADP=T,<Baud rate,No. Data bits,Parity,No. Stop bits><enter>

Example 3-3 Transparent settingsAT%ADP=T,9600,7,E,1AT%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 remoteModem. Depending on the type of modems there are two different ways of achievingthis, as follows.

1) For the A2S MODEM set the transparent mode, as above, then after connectingquit 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 theadjusted baud rate and format.

NOTE: The Terminal must be returned to the default setting of 9600,8,N.1 beforeredialling, each time.

2) For another make of modem set the Terminal software to the new formatmatching the “Transparent” settings, then type AT<enter> to set the modem. Themodem should respond with “OK” to indicate synchronisation.

Then Dial or Hang-up the remote modem in the normal way, whilst retaining the newsettings.

Page 17: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

13

3.4 Security

Your modem has the powerful facility of a two level access code (password) facilitywe call “User” and “Administrator” levels. The codes will both protect your systemfrom unauthorised connection/communication and allow the on-line configuration ofthe remote modem’s parameters. Once set, anyone dialling in must enter the correctUser access code before data will be allowed to pass through to your system. Themodem will disconnect the line after the third ‘wrong code’.

3.4.1 Normal Operation

1) User Access Code Installed! Dial the modem in the normal way from a PC and after connection has

been established the modem will make the request ‘ENTERPASSWORD’.

! Enter your access code (up to 8 characters, UPPER CASE ONLY) plusa carriage return <enter>.

! If the correct code has been entered the modem will establish fullconnection, providing an open line to your system. If an incorrect codehas been entered the modem will repeat the ‘ENTER PASSWORD’prompt for a total of three attempts.

! Failure to enter the correct code on the third attempt will cause themodem to hang up and the ‘NO CARRIER’ 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’, as normal. Do not enter the“User” code.

! Enter the Administrator code (up to eight characters, UPPER CASEONLY) followed by <enter>. The default code is ADMIN.

! If the correct code has been entered, “OK” will be returned and youwill then be allowed to access the specialised modem settings of theremote modem. This is referred to as the “Online Configuration”mode, (see section 3.5.2).

! You only have one chance to type the correct code, unless you have the“User” code enabled, then there will be three chances.

! When you have completed any changes, type *** (three stars) and waituntil the remote modem responds with “OK”. The modem will theneffect any changes made and establish an open line to your system.

NOTE: To be able to use the password facility the user should use a terminalapplication, such as the Terminal programme, provided. Using software with built-inModem support may not provide password facility.

Page 18: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

14

3.4.2 Installing the Access Codes

To install or change an access code it will be necessary to connect a PC directly to themodem via the PC serial port and the RS232 data connector. Use the MODEM-PC9-CAB or suitable lead and run your terminal software.

1) Installing for the first time! The factory default setting is no user code set.! To install your user code for the first time use the following command:

AT%ACU = *,<new code> [Enter]! (Where the new code can be one to eight characters long)

2) Changing the user code! To change the user code you will require either the current user or

administrator codes and use the following command:AT%ACU = <current code>,<new code> [Enter]

! The modem will respond withOK (when accepted) orERROR (when current code is incorrect)

! Current code may be either the user or administrator codes.

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 withOK (when accepted) orERROR (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

administrator code (default = ADMIN) and use the following command:AT%ACA = <current admin code>,<new admin code > [Enter]

! The modem will respond withOK (when accepted) orERROR (when current admin code is incorrect)

! Current admin code must be the administrator code.

NOTE: The codes are not case sensitive as all codes are converted to upper case.Also, the administrator code cannot be disabled.

5) In case of problemsIn the unfortunate event that the password has been lost or the modem has beensabotaged, contact your supplier for assistance. It may be possible to return thepassword back to the original factory setting.

Page 19: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

15

3.5 Dial On Demand

The dial on demand facility enables an FX or AnS PLC to command the modem todial 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.

The pre-stored telephone numbers may be either speed dial numbers (stored in themodem) or located within PLC registers. How to set up the telephone numbers isexplained in section 3.5.5.

The data exchanged may be to either send fixed text messages stored within themodem or to read/write blocks of data from within the PLC. The process of setting upfixed text messages is explained in section 3.5.6, while data transfers are dealt with insection 3.6. Alternatively the modem can be commanded to stay on line either torepeat 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 insection 3.5.3.

NOTE: Throughout this section the Local system is the one making the call, while theRemote system is the one being called.

3.5.1 Setting Dial on Demand Commands

To set up Dial On Demand it will be necessary to connect a PC directly to the modemvia the PC serial port and the RS232 data connector. Use the MODEM-PC9-CAB orsuitable lead and run your terminal software.

1) Defining the local PLC typeBecause different PLC’s use different communications protocols it is necessary to setthe modem to the type of PLC that it is connected. This is done by entering a protocolcode with the command:

AT%ADP = xWhere x =0 No protocol/Desk (factory default version 1.20 or later)

All other protocols are listed in section 5.9.

Page 20: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

16

2) Locating the command registersThe command registers may be located in any valid D-type register within the PLC. Acontiguous block of 7 registers is required. The modem will need to know the startaddress of this block and this is done with the command: AT%ADR = xxxxxxWhere xxxxxx is the address from 1 to 6 digits.

Example 3-4 Command Block Address settingAT%ADR = 1000 Defines the command block at D1000

AT%ADR = 20 Defines a command block at D20

Also, the command block need not be within the same PLC connected to the modem.It may be in another PLC connected over a local network. The PLC network numbermay be defined using the command:

AT%ADN = FF FF is the default setting.

3) Starting the pollPolling is started by the command:

AT%ADO = 1And stopped by the command:

AT%ADO = 0Polling will start approximately 10 seconds after the next modem reset.

If the modem does not receive a response to its poll request, polling will betemporarily suspended until the next reset.

If the modem is still connected to a PC terminal when it starts to poll, then you shouldsee a formatted read request string appear. If you are able to interpret such strings,this can be used as a useful tool to check your settings are correct.

3.5.2 Online Configuration

Any of the parameters listed in the whole of section 3 may be modified in a remotemodem by calling it and entering the Administrator Access Code. For a fullexplanation of how to do this see section 3.4.1 3).

Page 21: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

17

3.5.3 Contents of the command block

The contents of the command block within the PLC are shown in the followingfigures.

For a sample program that uses the dial on demand facility see section 10 at the end ofthis manual.

COMMAND BLOCKMSB LSB

D(x) ERR

SYN

NRS

PLCComms

Error code

NAN

NDT

NCD

BSY

TC

PF

STP

RQ

Status register

D(x+1) Tel. No.#1 Tel. No. #2 Tel. No. #3 Tel. No. #4 Telephone Numberregister

D(x+2) Message#1

Message#2

Message#3

Message#4

Message register

D(x+3) [D]0~1999 Directory A TelephoneNo. head address

D(x+4) [D]0~1999 Directory B TelephoneNo. head address

D(x+5) [D]0~1999 Directory C TelephoneNo. head address

D(x+6) [D]0~1999 Directory D TelephoneNo. 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 PLC is dealt with on a bitby bit basis, the break down of which is detailed below.

D(x)

No Response b12

Syntax Error b13

Error Flag

PLC comms error code b11-8

b0 Dial Request

b1 Stopped Polling

b2 Polling Flag

b3 Transmission Complete

b4 Line Busy

b5 No Carrier

b6 No Dial Tone

b7 No Answer

Page 22: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

18

1) Dial Request Bit (bit 0)In order to trigger a dial on demand action, the PLC program needs only to setthe Dial Request (RQ) bit in the first register of the command block. Whenthe RQ bit is set the telephone and action data is retrieved by the modem in thesame poll, so remember to set these values before the bit!

2) Stopped Polling bit (bit 1)The Stopped Polling bit (STP) is set by the modem while it is performing adial out operation. It may be used in conjunction with the poll flag below toindicate that polling has been temporarily suspended.

3) Polling Flag bit (bit 2)The poll bit is toggled by the modem after every successful poll has beenmade. This feature may be used by the PLC (particularly one at a remote site)to determine if the modem has stopped polling it for some reason.

CAUTIONARY NOTE:The polling bit is set and reset by a word write command. The remaining bitsin the register are overwritten with the data they contained at the time of thepoll read request. Therefore, take care when setting the RQ bit; perhaps bytriggering 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 asuccessful dial out, connected, and has performed all the transactions indicatedin the message registers. Used by the PLC as an indicator that the modem hasdealt with the request, and may be used to trigger a new set of transactions.

5) Error bits (bits 15-7)The first address of the command block has a number of bits allocated forerror reporting by the modem. These bits are set by the modem in the event ofan error and presented to the PLC on an information only basis.

Bit 15 – General error – set when any error occurs

Bit 13 – Syntax error – set when either the local or remote PLC responds withthree consecutive NAK messages.

Bit 12 – No response – set when the remote PLC has not responded in threeseconds to a WAT request, in three consecutive attempts.

Bits 11 to 8 – PLC communication error – accompanies the syntax error flag,the least two significant characters returned by a NAK response are copiedhere. (AnS PLC only).

Bits 4 to 7 – dial errors – these flags are set when a dial attempt has failed forone of the following reasons: Line busy, no carrier, no dial tone, or no answer.

Page 23: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

19

3.5.5 Setting telephone numbers

When dial on demand is required, the modem uses the first telephone number valuefrom the command block to determine the number to dial. If this value is in the rangeof 1 to 9 a speed-dial number is selected. If the value is in the range A to D (hex) thenthe modem will read a block of registers from the PLC, then dial the returned value.

b15 b0D(x+1) Tel. No.#1 Tel. No. #2 Tel. No. #3 Tel. No. #4 Telephone No. address

Where (x+1) = Command Block address +11-9h for Speed Dial addressesA-Dh for Directory addresses 0h for NO telephone number

Telephone addresses are stored in HEX and must include all 4 numbers, e.g. 2300 not23, [call telephone number in speed-dial address 2, then 3 if 2 is busy, etc.]

1) Setting speed-dial numbers in the modemThese numbers are stored within the modem, so must be pre-set by connectingthe modem to 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 numbersAT&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 thecorresponding number is looked up then dialled.

2) Setting directory numbers in the PLCThe start addresses of the four possible PLC locations (A-D) are included inthe command block and returned with each poll request. A block of fiveregisters is read from the start address indicated in the command block. Eachregister holds up to four (hex) digits of the phone number, therefore thenumber can be twenty digits long.

Entering a value of F (hex) indicates the end of the telephone number.

Example 3-6 Directory Dialling (PLC programming) Command Block address D1000 and Directory Telephone No. in D405-409.

MOVP D405 D1003

MOVP HA000 D1001

MOVP K1 D1000

Set Directory A header address

Set Telephone address A

Set Dial Request bit 0=1

Page 24: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

20

By either swapping the value of the address in the command block, or byswapping the value at the directory address before making a dial request; ahuge directory of telephone numbers becomes available, limited only by theamount 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 connectingthe modem to a PC terminal, and using the command:

AT%MSGn = <message>Where n = the message address in the range 1 to 9<message> may be up to 48 characters long.

Example: AT%MSG2=Pumping Station No. 2 [stores message in address2]

b15 b0D(x+2) Msg. #1 Msg. #2 Msg. #3 Msg. #4 Message register

Where (x+2) = Command Block address +2

1-9h for Fixed Message addressesA-Dh for WAT Messages/Data addresses (see section 3.6 for more information) Eh for On-Line polling Fh for Stay On-Line 0h for end of messages, hang up

Message addresses are stored in HEX and must include all 4 numbers, e.g. 12F0 not12F. [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 islooked up then sent to the remote site.

The modem will automatically hang up when a value of 0 (zero) is found or after allfour messages have been actioned.

When the hexadecimal value E is found; the modem stops processing messages, setsthe Transmission Complete bit in the PLC command register, then resumes polling.However, the modem does not hang-up, terminating the call. This feature is usefulwhen more than four transactions are required, and is particularly useful when doingWide Area Telemetry.

When the hexadecimal value F is found; the modem stops processing messages, setsthe transmission complete flag, but does not resume polling. Again the modem doesnot hang-up, terminating the call. This feature is useful when an error has occurredthat requires operator intervention from a remote site.

Example 3-7 Setting Messages from the PLC

MOVP H12F0 D1002

MOVP HABE0 D1002

Set Fixed messages 1,2 andStay on-line.Set WAT A,B then On-linemonitoring.

Page 25: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

21

3.6 Wide Area Telemetry (WAT)

One of the most exciting features of your modem is its ability is not just toautomatically dial on demand, but also exchange information with another, remotePLC. We refer to this process as Wide Area Telemetry (WAT) as it gives you thepossibility of setting up a wide area network of PLC’s.

In the previous section (3.5) it was mentioned that placing the values A to D (hex)into one of the message slots of the command block would enable a WAT transaction.

3.6.1 Setting the Start Address of WAT Information

The information used to perform a WAT operation is stored in a WAT header; anycontiguous block of three D type registers within the PLC may be used. All themodem needs to know is the first address.

To program the start address in the modem, use a PC terminal to communicate with itand type an AT command in the following format:

AT%WATn = 1234Where n is the letter A to D and corresponds to the hexadecimal value set in themessage register of the control block above.1234 is an example start address

Example 3-8 Setting WAT addressesAT%WATA = 500 when hexadecimal A is found in the message register

the modem will read address D500 for instructions.

AT%WATD = 22 when hexadecimal D is found in the message registerthe modem will read address D22 for instructions.

RD SD

CD TR

CS OH

VOICE

DATARS232

24V

OV

LINE

Modem-A2S

mod

RDCDCS

1

2O

V

DR

lo

LI

MITSUBIS

FX0S/FX1S

FX0N/FX2N

MITSUBIS

FX

AnS, A

MITSUBIS

MITSUBIS

MITSUBIS

FX0S/FX1S

FX0N/FX2N

MITSUBIS

FX

AnS, A

MITSUBIS

MITSUBIS

mod

RDCDCS

1

2O

V

DR

lo

LI

RD SD

CD TR

CS OH

VOICE

DATARS232

24V

OV

LINE

Modem-A2S

Page 26: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

22

3.6.2 Information in the WAT Header

The instructions read by the modem from the WAT header are in the form shown inthe two figures below. It is the responsibility of the PLC program to transfer thecorrect information into these registers before requesting the transaction.

WAT REGISTERS MSB LSBD(y) Number of data words to

transfer (hex value)Read/Write

RemoteRemoteProtocol

Header #1

D(y+1) Remote Register/Device Prefix(One ASCII Number or letter)

Header #2

D(y+2) Remote 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 theAT%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

b0b15

Where D(y) Is the first WAT header address.

Bits 15 to 8 - The number of words to Transmit or Receive are limited to 16 (1 to 10h)

Bits 7 to 4 - Read/Write Remote, 0 = Read from Remote and 1 = Write to Remote.

Bits 3 to 0 - Remote Protocol Number refers to the remote PLC type, e.g. 1 = AnS PLC,3 = FX PLC.

Page 27: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

23

Detail of WAT header address’ #2 & 3.

Bits 7 to 0 – The Device Prefix letter in ASCII Hexadecimal, eg. X,Y,M,B,D,W, etc.

Bits 15 to 0 – Device address in Decimal, Hexadecimal or Octal, eg. 1000, 3F, etc.

Example 3-9 WAT settings in the PLC (Write Remote command)

WAT Header address = D200, Writing 1 word to outputs Y0 to Y17 on an FX PLC.

Example 3-10 WAT settings in the PLC (Read Remote

WAT Header address = D300, Read 16 (10h) words fro

b15 b0

b0-7 Device prefix letter

WAT Header Address #2D(y+1)

MOV H0113 D0200

ASC Y D0201

MOV K0 D0202

MOV H5555 D0203

b15 b0

WAT Header Address #3D(y+2)

b0-15 Device Address

MOV H1001 D0300

ASC D D0301

MOV K500 D0302

BMOV K0 D0303 K16

Set 1word,Write, FX protocol

Set Device = Y

Set Device address = 0

Set Data (Y0 and all even numbers toY26 will be switched ON, oddnumbers OFF)

command)

m D500 in an AnS PLC.

Set 10h words, Read, AnS protocol

Set Device = D

Set Device address = 500

Clear 16 registers from D303 (notobligatory). Data from D500 to 515 inthe remote AnS PLC will be readdirectly into registers D303 to 318.

Page 28: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

24

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 thefollowing commands:

AT%ADP=<PLC type>AT%ADR=<command block Addr.>AT%WATA to DAT%ADO=1

Yes NoSpeed Dial

Set telephone numbers in the Set-up a Directory in theA2S 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 WATstrategy, eg. Read or Write, No. words and

the remote PLC Type (see Examples 3-9 & 10).

Set the Message register for the order in whichthe WAT addresses are to be transmitted

(see Example 3-7)

Set the Telephone register

Set the “Dial Request” bit to start operation.

End

Page 29: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

25

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 indetermining and resolving the source of the problem. If you cannot resolve yoursituation after reading this chapter, contact your dealer of the Technical SupportCentre at the number provided on the last page of this manual.

4.1 The modem does not respond to commands1. Ensure that the PC is not configured to a conflicting COM port and/or IRQ

setting. Your modem cannot be connected to a COM port currently in use byanother device in your system (e.g. mouse). Similarly IRQ settings must notoverlap.

2. Make sure that the communication software is configured with the correct COMand IRQ settings (i.e. the same as the modem). Your communication softwarewill not be able to send or receive data if it is not configured to match the COMsettings of the modem

3. Check that the modem is not configured to echo off or command reporting off.This can be done by typing the commands ATE1 to restore echo and ATQ0 torestore command reporting. By default, the modem will be set to echo off andreporting off.

4. The modem will not respond to commands if Dial On Demand is enabled, for thefirst ten seconds after power up.

4.2 The Modem Dials but Does Not Connect1. 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.2. Check that you are dialling the right number.3. Check that the remote modem has the correct line cable connected.4. If the remote site keeps ringing without picking up, it may either be unplugged or

it has not been programmed to auto-answer. Setting the modem with thecommand ATS0=1 instructs auto answer after 1 ring.

5. Check that the line connected to the remote modem is not part of a digital mini-exchange, this type of system requires an analogue (2-wire) adapter.

4.3 The Modem Does Not Dial, Reporting “NO DIALTONE”Problems of this type are almost always due to the telephone cable/connection.1. Check that the telephone cable is connected correctly to the modem and phone

socket.2. Check that the cable used is the correct type for the country you are in, the one

supplied is only suitable for connection in the UK. Line connections are deliveredon pins 3 & 4 of the line socket.

Page 30: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

26

4.4 The Modem Stops Polling After First Poll1. Only applies to Dial On Demand polling2. 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 correct4. If connected to an HMI terminal, check that its communications settings are

correct

4.5 Polling Occurs, but will not Dial On Demand1. Check that the register address polled is correct, AT%ADR setting.2. Check that the PLC program is setting the RQ bit.3. Check that there is at least one value in the telephone register of the command

block, and that it the value 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 aWAT operation.1. Check cable connections.2. The problem may be caused by poor Telephone Network connections, for

example, Exchange faults or old lines.3. Try reducing the Baud rate between the A2s Modems on the Network by

changing the AT%NET setting from the default 28800 rate.

4.7 Occasional “Re-tries” occur during Programming/Monitoring.This is probably due to poor Telephone Network connections.1. Try another Line or redial.2. If you are dialling from a Mitsubishi A2S/DESK Modem try reducing the Baud

rate, using the AT%NET command.

Page 31: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

27

Section 5 – AT Command Set and S - RegistersAll commands below are preceded with AT. The commands are not case sensitive.

5.1 Standard CommandsCommand FunctionA/ Re-execute commandA Go off-hook and attempt to answer an incoming callB0 Select V.22 connection at 1200bpsB1 Select Bell 212A connection at 1200bpsC1 Return OK MessageDn Dial modified by parameter nE0 Turn off command echo to terminalE1 Turn on command echo to terminalF0 Select auto-detect mode (equivalent to N1)F1 Select V.21 or Bell 103 line modulationF2 ReservedF3 Select V.23 line modulationF4 Select V.22 or Bell 212A 1200bps line modulation / speedF5 Select V.22bis line modulationF6 Select V.32bis or V32 4800bps line modulation / speedF7 Select V.32bis 7200bps line modulation / speedF8 Select V.32bis or V.32 9600bps line modulation / speedF9 Select V.32bis 12000bps line modulation / speedF10 Select V.32bis 14400bps line modulation / speedH0 Initiate hang-up sequenceH1 If on-hook go off-hook and enter command modeI0 Report product codeI1 Report pre-computed checksumI2 Report OKI3 Report firmware revision and interface typeI4 Report response programmed by an OEMI5 Report the country code parameterI6 Report modem data pump model and code revisionI7 Reports the DAA codeL0 Set low speaker volumeL1 Set low speaker volumeL2 Set medium speaker volumeL3 Set high speaker volumeM0 Turn speaker volume offM1 Turn speaker on during handshaking and turn speaker offM2 Turn speaker on during handshaking and while receiving carrierM3 Turn speaker off during dialling and receiving carrier and on during answeringN0 Turn off auto-mode detectionN1 Turn on auto-mode detectionO0 Go on-lineO1 Go on-line and initiate a retrain sequenceP Dial modifier, force pulse diallingQ0 Allow result codes to DTEQ1 Inhibit result codes to DTESn Select S-Register n=v Set the value of S-Register to value v? Return the current value of parameterT Dial modifier, force DTMF diallingV0 Report short form (terse) result codesV1 Report long form (verbose) result codesW0 Report DTE speed in EC modeW1 Report line speed. EC protocol and DTE speedW2 Report DCE speed in EC modeX0 Report basic call progress result codes i.e. OK, CONNECT, RING, NO CARRIER

(also for busy if enabled, and dial tone not detected), NO ANSWER and ERROR.

Page 32: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

28

X1 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), NOANSWER, CONNECT XXXX and ERROR.

X2 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), NOANSWER, CONNECT XXXX and ERROR.

X3 Report basic call progress report codes and connection speeds i.e. OK, CONNECT,RING, NO CARRIER, NO ANSWER, CONNECT XXXX, BUSY, and ERROR.

X4 Report all call progress codes and connection speeds i.e. OK, CONNECT, RING, NOCARRIER, NO ANSWER, CONNECT XXXX, NO DIAL TONE and ERROR.

Y0 Disable long space disconnect before on-hookY1 Enable long space disconnect before on-hookZ0 Restore stored profile 0 after warm resetZ1 Restore stored profile 1 after warm reset&C0 Force RLSD active regardless of the carrier state&C1 Allow RLSD to follow the carrier state&D0 Interpret DTR on " off transition per &Qn setting:

&Q0, &Q5, &Q6 the modem ignores DTR&Q1, &Q4 the modem hangs up&Q2, &Q3 the modem hangs up

&D1 Interpret DTR on " off transition per &Qn setting:&Q0, &Q1, &Q4, &Q5, &Q6 Asynchronous escape&Q2, &Q3 the modem hangs up

&D2 Interpret DTR on " off transition per &Qn setting:&Q0 through &Q6 the modem hangs up

&D3 Interpret DTR on " off transition per &Qn setting:&Q0, &Q1, &Q4, &Q5, &Q6 the modem performs soft reset&Q2, &q3 the modem 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 flow control&K6 Enable both RTS/CTS and XON/XOFF flow control&L0 Not Used&M0 Select direct asynchronous mode&M1 Select synchronous connect with asynchronous off line command mode*&M2 Select synchronous connect with asynchronous off line command mode and enable

DTR dialling of directory zero*&M3 Select synchronous connect with asynchronous off line command mode and enable

DTR to act as Talk/Data switch&P0 Set 10pps pulse dial with 39/61 make/break ratio&P1 Set 10pps pulse dial with 33/67 make/break ratio&P2 Set 20pps pulse dial with 39/61 make/break ratio&P3 Set 20pps pulse dial with 33/67 make/break ratio&Q0 Select direct asynchronous mode&Q1 Select synchronous connect with asynchronous off-line command mode*&Q2 Select synchronous connect with asynchronous off-line command mode and enable

DTR dialling of directory zero*&Q3 Select synchronous connect with asynchronous off-line command mode and enable

PTR to act as Talk/Data switch*&Q4 Select Hayes Auto Sync mode&Q5 Modem negotiates an error corrected link&Q6 Select asynchronous operation in normal mode&R0 CTS tracks RTS (asynchronous) or acts per V.25 (synchronous)&R1 CTS is always active

Page 33: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

29

&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&T7 Request an RDL with self-test&T8 Initiate local analogue loop-back with self-test&V Display current modem configurations&W0 Store the active profile in NVRAM profile 0&W1 Store the active profile in NVRAM profile 1&X0 Select internal timing for transmit clock&X1 Select external timing for the transmit clock&X2 Select slave receive timing for the transmit clock&Y0 Recall stored profile 0 upon power up&Y1 Recall stored profile 1 upon power up&Zn-x Store dial string x (to 34 chars) to location n (0-3)

%E0 Disable line quality monitor and auto-retrain%E1 Enable line quality monitor and auto retrain%E2 Enable line quality monitor and fall back / fall forward%L Return received signal level%Q Report the line signal quality%TTn PTT certification test signals

\Kn Controls 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.3 Send break to remote modem immediately\K4.5 Send break to remote modem in sequence with transmitted data

When modem receives break from the remote modem:\K0.1 Clear data buffers and send break to DTE\K2.3 Send break immediately to DTE\K4.5 Send a break with received data to the DTE\N0 Select normal speed buffered mode\N1 Select direct mode\N2 Select reliable link mode\N3 Select auto reliable mode\N4 Force LAPM mode\N5 Force MNP mode\V0 Connect messages are controlled by the command settings X, W, and S95\V1 Connect messages are displayed in the single line format

+MS Select modulation+H0 Disable RPI+H1 Enable RPI and set DTE speed to 9600bps+H2 Enable RPI and set DTE speed to 38400bps+H3 Enable RPI and set DTE speed to 57600bps+H11 Enable RPI+ mode

**0 Download to flash memory at last sensed speed**1 Download to flash memory at 38.4kbps**2 Download to flash memory at 57.6kbps

Page 34: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

30

-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%C0 Disable data compression%C1 Enable MNP 5 data compression%C2 Enable V.42bis data compression%C3 Enable both V.42bis and MNP 5 data compression

\A0 Set maximum block size in MNP to 64\A1 Set maximum block size in MNP to 128\A2 Set maximum block size in MNP to 192\A3 Set maximum block size in MNP to 256\Bn Send break of n x 100ms

5.3 MNP 10 Commands-K0 Disable MNP 10 extended services-K1 Enable MNP 10 extended services-K2 Enable MNP 10 extended services, detection only-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 Receive silence+FTH=n Transmit data with HDLC framing+FTM=n Transmit data+FTS=n Stop transmit and wait

5.6 FAX Class 2+FAA=n Adaptive answer+FAXERR Fax error value+FBOR Phase C data bit order+FBUF? Buffer size (read only)+FCFR Indicate confirmation to receive+FCON Facsimile connection response+FCIG Set the polled station identification+FCIG: Report the polled station identification+FCR Compatibility to receive+FCSI: Report the called station ID+FDCC= DCE capabilities parameters+FDCS: Report current session+FDIS: Report remote capabilities+FDIS= Current sessions parameters+FDR Begin of continue phase C receive data

Page 35: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

31

+FDT= Data transmission+FDTC: Report the polled station capabilities+FET: Post page message response+FET=n Transmit page punctuation+FHNG Call termination with status+FK 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+FPTS Page transfer status+FREV? Report identity revision+FSPL Enable polling+FTSI: Report the transmit station ID

5.7 Voice/Audio Commands#BDR Select 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 never came timer (originate)#VRX Voice receive mode#VSK Buffer skid setting#VSP Silence detection period (voice receive)#VSR Sampling rate selection#VSS Silence detection tuner (voice receive)#VTD DTMF/tine reporting#VTM Enable timing mark placement#VTS Generate tone signals#VTX Voice transmit mode

Page 36: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

32

5.8 S-Registers

Registry No. Function

S0 Number of rings to auto answerS1 Ring counterS2 Escape characterS3 Carriage return characterS4 Line feed characterS5 Back Space characterS6 Wait time for dial tone before blind dialling, or after ‘W’ modifierS7 Wait time for carrier after dial, for silence, or for dial time after ‘W’ dial

modifierS8 Pause time for dial delayS9 Carrier detect response timeS10 Lost carrier to hang up delayS11 DTMF tone durationS12 Escape prompt delayS13 ReservedS14 General bit mapped option statusS15 ReservedS16 General bit mapped test option statusS17 ReservedS18 Test timerS19 Auto sync bit mapped optionsS20 Auto sync HDLC address or BSC sync characterS21 V.24 / General bit mapped option statusS22 Speaker / Results bit mapped option statusS23 General bit mapped option statusS24 Sleep inactivity timerS25 Delay to DTRS26 RTS to CTS delayS27 & S28 Bit mapped option statusS29 Flash dial modifier timeS30 Disconnect inactivity timerS31 Bit mapped option statusS32 XON characterS33 XOFF characterS34 & S35 ReservedS36 LAPM failure controlS37 Desired line connection speedS38 Delay before forced hang-upS39 Flow control bit mapped option statusS40 & S41 General bit mapped option statusS46 Data compression controlS48 V.42 negotiation actionS82 Break handling optionsS86 Call failure reason codeS91 PSTN Transmit attenuation levelS92 Fax transmit attenuation levelS95 Extended result code

Page 37: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

33

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 Enable PLC polling%ADN= nn Set PLC network number to poll%ADP= x Set local PLC protocol

x = 1 An(S) PLC through C24 comms modulex = 2 AnA(S)/QA(S) PLC via C24 comms modulex = 3 FX/FX0/FX2N PLCx = A A/Q series via E type HMIx = F FX series via E type HMIx = 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 Set the Telephone network Baud Rate to 2400,4800, 9600, 19200 & 28800 (default)

%VER Report current A2S software revision%WATn = xxxxxx Set PLC register for telemetry header n to value x to

xxxxxxn = A to D

&V1 Report current A2S enhanced operating parameters

Reset the Modem after setting this command.

Page 38: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

34

Section 6 – Support Service and Compliance Details

6.1 Customer Support

If after installing as per the instructions and trying the recommended troubleshootingtechniques, you are still unable to resolve a problem, you should contact either (1)Your authorised distributor or (2) the Technical Support Centre at the numberprovided at the end of this manual.

6.2 European Compliance Information

This modem has been approved for pan-European use by KCS as compliant withtelecommunications standard TBR21.

6.3 Ringer Equivalence Number

The ringer equivalence of this modem is 1.REN is a guide to the maximum number of apparatus that can be simultaneouslyconnected to one telephone line. The REN value of each apparatus is added togetherand should not exceed 4. Unless otherwise marked, a telephone can be assumed tohave a REN of 1.

6.4 Approved UsageThis 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 payphoneThis modem is not approved for connection to UK private speech band services orleased lines.Any other usage will invalidate the approval of your modem, if as a result, it thenceases to conform to the standards against which approval was granted.The approval of this modem is invalidated if the apparatus is subject to modificationin any material way not authorised by KCS or if it is used with, or connected to,external software that has not been formally accepted by KCS.

Page 39: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

35

Section 7 – Technical Details

7.1 Modem Serial Connections

The table below shows the pin connections required for a 9-way RS232 connection tothe modem.

Pin Number SignalAbbreviation

Signal Name Signal DirectionModem

1 N/C No Connection N/A2 RD (RXD) Receive Data3 SD (TXD) Transmit Data4 DR (DTR) Data Terminal Ready5 SG (GND) Signal Ground6 DR (DSR) Data Set Ready7 RS (RTS) Request to Send8 CS (CTS) Clear to Send9 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. Modu le

3 2 5 7 8 6 1 4

Modem

Page 40: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

36

7.2.2 FX-232AW/AJ Communications Module(MODEM-R2A-CAB)25-way female to 9-way male D-Type connectors

3 2 7 4 5 6 8

20

Com m s . M odu le

2 3 5 7 8 6 1 4

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

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 FunctionRD Receiving Data SD Sending DataCD Carrier Detect TR Terminal ReadyCS Clear to Send OH Off Hook

Page 41: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

37

Section 8 – Technical Specification

8.1 Rated Operating Limits

Parameter Min Max Unit NotesOperating ambienttemperature

032

55131

°C°F

Storage ambienttemperature

-204

75167

°C°F

Operating ambienthumidity

10 90 %RH Non-condensing

Storage ambient humidity 10 90 %RH Non-condensingOperating ambience - - - No corrosive gasses or dustCooling method - - - Self coolingPower rating 1.9 W DCInput Voltage 12 32 V DCInput Current 56

(32V)152(12V)

mA DC

Equipment Mass 66 g A2S-MODEM77 g DIN-MODEM-2

DESK-MODEM-2Dimensions H W D Notes

A2S-MODEM 130 35 93 mmDIN-MODEM-2 130 35 93 mm plus 3mm for DIN clipDESK-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 forconnecting to A series and FX via FX232AW module

MODEM-R2-CAB 9-pin D-Type M-M cable for connecting to A seriesthrough a C24 module.

MODEM-PS12 12V power supply – supplied with DESK version only

A2S-HEADSET Telephone headset to use with any A2S modems

A2S-HANDSET-E Telephone Handset to use with any A2S modems

Page 42: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

38

Section 10 – PLC Programming Example

The following PLC program extract has been included to illustrate how the Wide AreaTelemetry features may be used.

PROGRAM EX. FOR THE WIDE AREA TRANSMISSION (%WAT) | AnS PLC to FX. | | Power—up: Select Directory 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:Ladder | | +—————————————————————+————————————————+——————————————+ | | Draw.no: | Sign: cjh | Page: 1 | +—————————————————————+—————————————————————+————————————————+——————————————+

Page 43: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

39

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 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:Ladder | Page: 2 | +—————————————————————+—————————————————————+————————————————+——————————————+

Page 44: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

40

Set the Directory head addresses in D1003—D1006, | ie. A=D20—24, B=D30—34, C=D40—44 & D=D50—54. | |M9038 H | 64 +I I——+————————————————————————————————————————————————[MOV 20 D1003]+ |PLC | DIR | |POWER| A | |—UP | ADDR | | | | | | H | | +————————————————————————————————————————————————[MOV 30 D1004]+ | | DIR | | | B | | | ADDR | | | | | | H | | +————————————————————————————————————————————————[MOV 40 D1005]+ | | DIR | | | C | | | ADDR | | | | | | H | | +————————————————————————————————————————————————[MOV 50 D1006]+ | DIR | | D | | 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) & 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 to | the Modem. | |M102 | 91 +I I—————————————————————————————————————————————————————————[PLS M1 ]+ |POL W/DOG | |BIT2 RESET | | PLS | | |

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

Page 45: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

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 | +—————————————————————+—————————————————————+————————————————+——————————————+

Page 46: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

42

Hang—up by clearing the message register (D1002) | and stopping any further dial requests (M12) until | the Hang—up M32(X2) is released. | |M32 M0 | 122 +I I———I I———————————————————————————————————————————————————[SET M12 ]+ | AUTO HANG— | | DIAL UP | | PLS HOLD | | | |M32 | 125 +I/I—————————————————————————————————————————————————————————[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 | +—————————————————————+—————————————————————+————————————————+——————————————+

Page 47: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

43

DATA TEST ROUTINES | Toggle "write to remote" test pattern (D103) | every time "TC" bit is set. | |M103 | 155 +I I—————————————————————————————————————————————————————————[PLS M53 ]+ |TC DATA | |BIT3 TOGLE | | PLS | | | |M53 M50 M50 | 159 +I I———I/I——+——————————————————————————————————————————————————————( )——+ |DATA DATA | DATA | |TOGLE SW. | SW. | |PLS | | | | | |M53 M50 | | +I/I———I I——+ + |DATA DATA | |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:Ladder | Page: 6 | +—————————————————————+—————————————————————+————————————————+——————————————+

Page 48: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

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 | +—————————————————————+—————————————————————+————————————————+——————————————+

Page 49: A2S-MODEM DIN-MODEM-2 DESK-MODEM-2 - RS …docs-europe.electrocomponents.com/webdocs/01ed/... · a2s-modem din-modem-2 desk-modem-2 users handbook issue 2 version 2. i a2s, din, desk-modem-2

45

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: [email protected] with our Web Site – www.mitsubishi.co.uk/automation

MAN-MODEM-00722