Top Banner
SAIA PCD Process Control Devices Modem library for the SAIA PG4 English edition 26/744 E3
105

Process Control Devices for the SAIA - EWWH

Oct 15, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Process Control Devices for the SAIA - EWWH

SAIA PCDProcess Control Devices

Modem libraryfor the SAIA PG4

English edition 26/744 E3

Page 2: Process Control Devices for the SAIA - EWWH

SAIA-Burgess Electronics Ltd.

SAIA® Process Control Devices

Modem libraryfor the SAIA PG4

Version 2.0.70

SAIA-Burgess Electronics Ltd. 1999. All rights reserved.Edition 26/744 E3 - 07.99

Subject to technical changes

Page 3: Process Control Devices for the SAIA - EWWH

Modem Library Table of contents

26/744 E3 (MOD-00-E.DOC) SAIA-Burgess Electronics Ltd. Page 1

Table of contentsPage

1. Introduction

1.1 General Principle 1-11.2 Conditions of Use and Compatibility 1-3

1.2.1 References 1-41.2.2 Other devices and equipment 1-41.2.3 Restrictions on operation 1-5

1.3 Safety measures relative to the telephone network 1-6

2. Programming and Commissioning

2.1 Structure of a Modem Application with FUPLA 2-1

2.1.1 Calling a Master 2-12.1.2 Calling a Slave 2-12.1.3 Calling a Slave using Graftec/IL 2-12.1.4 Calling a Pager or a SMS service 2-1

2.2 Fast Commissioning 2-3

2.2.1 Preparation of answering station (Slave) 2-32.2.2 Preparation of calling station (Master) 2-42.2.3 Tests 2-6

2.3 Parameter Choice and Optimization 2-9

2.3.1 Parameters specific to modem 2-92.3.2 Parameters specific to the telephone exchange 2-102.3.3 Parameters for telephone connection 2-112.3.4 Answering station (Slave) 2-112.3.5 Parameters for transmitting data 2-122.3.6 Automatic recall mechanisms 2-122.3.7 Monitoring the activity timeout and maximum

activity time 2-132.3.8 Station identification 2-142.3.9 S-Bus timing 2-14

Page 4: Process Control Devices for the SAIA - EWWH

Table of contents Modem Library

Page 2 SAIA-Burgess Electronics Ltd. (MOD-00-E.DOC) 26/744 E3

Page

3. FBoxes

3.1 SASI Modem 3-1

3.1.1 Description 3-13.1.2 Inputs / Outputs / LED 3-13.1.3 Parameters of the adjust window 3-23.1.4 Description of error situations 3-11

3.2 SASI Diag 3-13

3.2.1 Description 3-133.2.2 Parameters of the adjust window 3-13

3.3 Incoming Call 3-14

3.3.1 Description 3-143.3.2 Inputs / Outputs / LED 3-143.3.3 Parameters of the adjust window 3-14

3.4 Call Slave 3-15

3.4.1 Description 3-153.4.2 Inputs / Outputs / LED 3-153.4.3 Parameters of the adjust window 3-16

3.5 Call Slave Diag 3-19

3.5.1 Description 3-193.5.2 Outputs 3-193.5.3 FBox fields 3-203.5.4 Working principle 3-203.5.5 Example of a simple Graftec program using

the Call Slave Diag FBox 3-21

3.6 Call Master 3-23

3.6.1 Description 3-233.6.2 Inputs / Outputs / LED 3-233.6.3 Parameters of the adjust window 3-24

Page 5: Process Control Devices for the SAIA - EWWH

Modem Library Table of contents

26/744 E3 (MOD-00-E.DOC) SAIA-Burgess Electronics Ltd. Page 3

Page

3.7 Call Master ID 3-27

3.7.1 Description 3-273.7.2 Inputs / Outputs / LED 3-273.7.3 Parameters of the adjust window 3-28

3.8 Call PGU 3-30

3.8.1 Description 3-303.8.2 Inputs / Outputs / LED 3-303.8.3 Parameters of the adjust window 3-31

3.9 Call Pager 3-35

3.9.1 Description 3-353.9.2 Inputs / Outputs / LED 3-353.9.3 Parameters of the adjust window 3-36

3.10 Call SMS 3-41

3.10.1 Description 3-413.10.2 Inputs / Outputs / LED 3-413.10.3 Parameters of the adjust window 3-42

3.11 Send Pager 3-46

3.11.1 Description 3-463.11.2 Parameters of the adjust window 3-46

3.12 Send SMS 3-47

3.12.1 Description 3-473.12.2 Parameters of the adjust window 3-47

Page 6: Process Control Devices for the SAIA - EWWH

Table of contents Modem Library

Page 4 SAIA-Burgess Electronics Ltd. (MOD-00-E.DOC) 26/744 E3

Page

4. Further Comments about FBoxes

4.1 General description for Send Pager and Send SMS 4-1

4.1.1 Description 4-14.1.2 Inputs / Outputs 4-14.1.3 Parameters of the adjust window 4-2

4.2 Pager and SMS Servers 4-34.3 Status and Errors for Pager and SMS 4-54.4 Comments regarding Reliability of Pager and

SMS Alarming 4-74.5 Text syntax for SEND FBoxes 4-8

4.5.1 Text syntax for protocol CH Dialog 4-84.5.2 Text syntax for other protocols 4-9

4.6 Use of Cal Input of SEND FBoxes 4-10

5. Diagrams

5.1 Modem Initialization 5-15.2 Call Slave / Master 5-25.3 Hangup and Init Sequence 5-35.4 Modem disconnected and reconnected 5-4

6. Examples

• MODM_LO.FUP for local station

• MODM_RE.FUP for remote station

• PAGER.FUP with message to a pager

• SMS.FUP with message to a handy

• CALL_PGU.FUP a PCD calling the PG4

Page 7: Process Control Devices for the SAIA - EWWH

Modem Library Table of contents

26/744 E3 (MOD-00-E.DOC) SAIA-Burgess Electronics Ltd. Page 5

Please note :

A number of detailed manuals are available to aid installation and opera-tion of the SAIA PCD. These are for use by technically qualified staff,who may also have successfully completed one of our "workshops".

To obtain the best performance from your SAIA PCD, closely follow theguidelines for assembly, wiring, programming and commissioning givenin these manuals. In this way, you will also become one of the many en-thusiastic SAIA PCD users.

If you have any technical suggestions or recommendations for improve-ments to the manuals, please let us know. A form is provided on the lastpage of this manual for your comments.

Summary

Hard wa rePCD4

Ha rdware PCD6

PCD4.H1. .

PCD4.H2..

PCD4.H3..

Reference Guide(PG3)

P C D 8 .P 1..

PCD7.D1..PCA2.D1..PCD7.D2..

In sta llationC om p one n tsfo r R S 4 85 -N etw ork s

FUPLA /KOPLAfunctionfamilies

PCD1/2 series PCD4 series PCD6 series

GeneralManuals

*)

*)

*)*) Adapter module 4'717'4828'0 allow s H modules to be used with the P CD 6.

U s er'sG uide

- PG4- Modem

- S-Bus- PROFIBUS- Remote I/O

PCD4.H4..

H ardw areP C D1P C D2S erie xx 7

PCD2.M220

PCD2.H110PCD2.H150PCD2.H210PCD2.H31x

Page 8: Process Control Devices for the SAIA - EWWH

Table of contents Modem Library

Page 6 SAIA-Burgess Electronics Ltd. (MOD-00-E.DOC) 26/744 E3

Reliability and safety of electronic controllers

SAIA-Burgess Electronics Ltd. is a company which devotes the greatestcare to the design, development and manufacture of its products:

• state-of-the-art technology

• compliance with standards

• ISO 9001 certification

• international approvals: e.g. Germanischer Lloyd, UL,Det Norske Veritas, CE mark ...

• choice of high-quality componentry

• quality control checks at various stages of production

• in-circuit tests

• run-in (burn-in at 85°C for 48h)

Despite every care, the excellent quality which results from this doeshave its limits. It is therefore necessary, for example, to reckon with thenatural failure of components. For this reason SAIA-Burgess ElectronicsLtd. provides a guarantee according to the "General terms and conditionsof supply".

The plant engineer must in turn also contribute his share to the reliableoperation of an installation. He is therefore responsible for ensuring thatcontroller use conforms to the technical data and that no excessivestresses are placed on it, e.g. with regard to temperature ranges, overvolt-ages and noise fields or mechanical stresses.

In addition, the plant engineer is also responsible for ensuring that afaulty product in no case leads to personal injury or even death, nor tothe damage or destruction of property. The relevant safety regulationsshould always be observed. Dangerous faults must be recognized by ad-ditional measures and any consequences prevented. For example, outputswhich are important for safety should lead back to inputs and be moni-tored from software. Consistent use should be made of the diagnosticelements of the PCD, such as the watchdog, exception organizationblocks (XOB) and test or diagnostic instructions.

If all these points are taken into consideration, the SAIA PCD will pro-vide you with a modern, safe programmable controller to control, regu-late and monitor your installation with reliability for many years.

Page 9: Process Control Devices for the SAIA - EWWH

Modem Library Introduction

26/744 E3 (MOD-01-E.DOC) SAIA-Burgess Electronics Ltd. Page 1-1

1. Introduction

1.1 General Principle

The Fupla modem library enables the rapid, user-friendly implementationof PCD applications using public telephone line modems (PLM). Analog,Digital (ISDN) or radio (GSM).

The current library allows the following types of connection :

Calling station Answering stationPCD (Master) PCD (Slave)PCD (Slave) Supervisor (Master)Supervisor PCD (Slave)Utility PG3 and PG4 PCD (Slave, PGU)PCD (Slave) Utility PG3 (Master), reduced protocolPCD (PGU) Utility PG3 or PG4PCD Telepage Swiss, Portugal and AustriaPCD SMS Service Center (Short Message

Service) with UCP and TAP protocols

PCD-PCD connections will be used when installations which occasion-ally have to exchange information are separated by great distances. Theuse of a modem allows this exchange of variables without having to linkthe stations with permanent connections. In this situation, the stationsmight equally be called by a supervisor or a utility. This function makesit possible to monitor PCD stations and check they are working properlyor to modify their parameters.

PCD-Supervisor connections are used when a PCD system has to reportcertain random events to a central supervisory station. The autonomywhich this gives to the PCD saves the supervisor from making repeatedcalls to query the PCD system. By authorizing the PCD to call the super-visor, telephone call charges are reduced to a minimum. The supervisor isstill able to call the PCD system.

Connections between a utility and PCD stations in PGU mode allowcompletely remote programming and debugging. In addition, the abilityto combine the functions of a calling and an answering station in PGUmode on the same system meets the most complex requirements.

Page 10: Process Control Devices for the SAIA - EWWH

Introduction Modem Library

Page 1-2 SAIA-Burgess Electronics Ltd. (MOD-01-E.DOC) 26/744 E3

The Pager and SMS applications allow to increase the installation reli-ability. Maintenance services can be operational 24 hours a day. In com-bination with an access by supervisor, the interventions can be limited tothe bare necessities and are very efficient.

For programmers with knowledge of the Instruction list command forS-Bus communication, this library can simplify the modem control.A link to the Graftec/IL program is ensured using the Call Slave DiagFbox.

Before carrying out any remote program maintenance one must be fullyaware of the risks which this entails. Careful analysis must be made ofany case where the telephone connection is suddenly interrupted. Down-loading an incorrect program may lead to a situation in which remote ac-cess is impossible. Intervention on site may be necessary to re-establishthe link.

In all cases it is necessary to be aware of the relatively low level of secu-rity obtained with switched telephone connections. A telephone networkmay be overloaded. A line may be busy, faulty, or subject to interference.

The user-friendly nature of the Fupla development tool and of this librarymeans that the user does not have to develop the details of modem op-eration, but can concentrate immediately on the structure of the applica-tion. Online displays in plain text concerning modem status, the essentialparameters and any errors, provide a guide to efficient commissioning.To customize each application, the user has a free choice of all the stan-dard Fupla functions to program triggers for calling and telegram trans-mission functions.

Page 11: Process Control Devices for the SAIA - EWWH

Modem Library Introduction

26/744 E3 (MOD-01-E.DOC) SAIA-Burgess Electronics Ltd. Page 1-3

1.2 Conditions of Use and Compatibility

It is important to stress that, in difficult situations, the operation of a mo-dem on a public telephone line can only work perfectly after severalstages of tests and adjustments. This requires a good command of com-munication techniques and in particular the following knowledge :

• command of PLM modem operation• knowledge of public telephone network operation• serial line communications technology• programming with PG4 Utility and Fupla• manual intervention with the PCD debugger• configuration of PCD stations for S-Bus with PLM (possibly, S-Bus-

Gateway)• communication with S-Bus, timing adjustment

Minimum utility and firmware versions required :

PG4 : Version 1.4 for modem library up to 1.5.Version 2.0 Beta for modem library from 2.0

Firmware : All versions supporting S-Bus, with break mechanism(SS0, SM0) or Data mode (SS2, SM2).

For all library functions except PGU Standby mode and S-Bus Datamode.

PCD1 : All versionsPCD2 : V 002, from February 1994PCD4.Mxx0 : V 004, from December 1993PCD4.Mxx5 : All versionsPCD6.M540 : V 003, from February 1994PCD6.M2 : V 008, from December 1993PCD6.M3 : V 001, from End 1997

Firmware versions with Modem+. For all library functions includingPGU Standby mode :

PCD1 : All versionsPCD2 : V 003, from June 1995PCD4.Mxx0 : V 005, from June 1995PCD4.Mxx5 : V 00B, from April 1995PCD6.M540 : V 004, from June 1995PCD6.M2 : V 009, from June 1995PCD6.M3 : V 001, from End 1997

Page 12: Process Control Devices for the SAIA - EWWH

Introduction Modem Library

Page 1-4 SAIA-Burgess Electronics Ltd. (MOD-01-E.DOC) 26/744 E3

Firmware versions for the S-Bus Data Mode :

PCD1 : V 002, end 1997PCD2 : V 005, end 1997PCD4.Mxx0 : Not supportedPCD4.Mxx5 : V 00DPCD6.M540 : Not supportedPCD6.M2 : Not supportedPCD6.M3 : V 001, end 1997

Important notes :

• For PCD1, S-Bus Master and Gateway are supported from versionV003

• On the PCD1, PCD2 and PCD4, interface no. 1 is provided for work-ing with a modem.

• On the PCD6, any of the RS 232 interfaces can be used.

1.2.1 References

For commissioning a modem, you should also refer to the followingdocuments :

• the user's guide for your modem• S-Bus manual• PG4 manual

For supervisor application :

• supervisor manual• S-Bus driver manual

For Pager and SMS application :

• user's guide of Pager device and Mobil telephone• country specific regulation for use of Pager and SMS services via

Modem

1.2.2 Other devices and equipment

Depending on difficulty, the following equipment may also be useful ornecessary :

• modem configuration program• S-Bus protocol analyser• RS232 serial interface analyser• manual intervention with the PCD debugger

Page 13: Process Control Devices for the SAIA - EWWH

Modem Library Introduction

26/744 E3 (MOD-01-E.DOC) SAIA-Burgess Electronics Ltd. Page 1-5

1.2.3 Restrictions on operation

The use of this library does not enable detailed modem control. It hasbeen designed to allow the rapid implementation of typical modem appli-cations. All the main parameters are adjustable and the structure of theapplication is set out graphically. This concept provides a good compro-mise between a degree of flexibility and rapid implementation.

The functionalities included in this library and the PCD firmware mecha-nisms have been designed to work with the greatest possible number ofmodems and also with 'low cost' modems. However, to limit difficultiesand unpleasant surprises, it is recommended that modem types whichhave been tested and approved by SAIA are used.

The library has been designed and tested to support typical types of con-nection. Other combinations are possible. These are mainly special caseswhich have not been tested and cannot be guaranteed to function. Im-provisation of this kind is the responsibility of the user.

Please consult the S-Bus manual and possibly contact your SAIA agentfor any critical points which might make a modem incompatible with theBreak and the parity mechanism of the S-Bus protocol :

• handling of break characters• handling of the DTR control line• use of register S25

The current version only supports the use of a single modem on onePCD.

When a line is busy with an incoming call, all outgoing calls are put onhold. The incoming call is not interrupted.

Page 14: Process Control Devices for the SAIA - EWWH

Introduction Modem Library

Page 1-6 SAIA-Burgess Electronics Ltd. (MOD-01-E.DOC) 26/744 E3

1.3 Safety measures relative to the telephone network

Considering the complexity of PLM operation and the enormous varietyof situations possible (normal and abnormal) the possibility cannot beexcluded that a line will remain busy or inaccessible due to an error, orthat a modem does not reset itself to 'Autoanswer' mode. However, spe-cial care has been taken to avoid:

• unnecessary occupation of a telephone line which would result in callcharges

• modem blocking, making remote access impossible• repeated incorrect calls causing annoyance to subscribers• repeated incorrect calls causing overload or disturbance to Pager and

SMS services

The user also has a duty to pay all necessary attention to these criteriaand to use correctly the mechanisms provided with this library, the utili-ties and the PCD firmware.

The use of a PLM modem is subject to local regulations which are spe-cific to each country. The user is responsible for designing an applicationwhich meets these regulations.

If, despite all these considerations, abnormal and repeatable situationsshould arise, the user is kindly requested to describe the phenomenon andreport it to the SAIA agent. This will enable product quality and per-formance to be improved, for the benefit of all users.

Page 15: Process Control Devices for the SAIA - EWWH

Modem Library Programming and Commissioning

26/744 E3 (MOD-02-E.DOC) SAIA-Burgess Electronics Ltd. Page 2-1

2. Programming and Commissioning

2.1 Structure of a Modem Application with Fupla

The Fboxes of the Fupla modem library enable a PLM modem applicationto be created graphically. Operation is structured on 2 levels for calling aMaster and 3 levels for calling a Slave, a Pager or a SMS service.

2.1.1 Calling a Master

SASI-Modem Call Master

2.1.2 Calling a Slave

SASI-Modem Call Slave SEND

RCV DataData

2.1.3 Calling a Slave using Graftec/IL

SASI-Modem

Call SlaveDiag

Call Slave

STXM

Graftec/IL

SRXM Data

Data

2.1.4 Calling a Pager or a SMS service

SASI-Modem Call Pager SEND PagerMessage1

SEND PagerMessage2

Page 16: Process Control Devices for the SAIA - EWWH

Programming and Commissioning Modem Library

Page 2-2 SAIA-Burgess Electronics Ltd. (MOD-02-E.DOC) 26/744 E3

All the common functions of modem initialization, control of the tele-phone connection and of operation are concentrated in the SASI-ModemFbox, which represents the first level of the structure.

This Fbox is a prerequisite for the use of any other Fboxes in the library.It must occur once only in the application, before other Fboxes are used.

At the second level, the Call Master, Call Slave, Call Pager and CallSMS Fboxes serve to define connections via the modem and a switchedtelephone line. The Fboxes Call Master and Call Slave can be used asoften as might be necessary or desired.

The Fbox Call Pager and call SMS are programmed only once if theservice is used. It defines the calling number of the Service Center aswell as the list of the accessible Pagers respectively Mobil telephone de-vices for the PCD. It controls the necessary protocol for the messagestransmission and provides an error diagnostic.

If Graftec/IL programing is required, the Call Slave Diag Fbox allows thedefinition of necessary signals to be used between the Fupla parts and theGraftec/IL part.

The conditions for starting a telephone call are freely programmable withall the existing Fupla functions.

If several Call Fboxes are enabled simultaneously, the call commands areput on hold and will be handled successively in the order programmed, assoon as the line and the modem are free.

For calling a Slave, a 3rd level defines which variables to exchange whenthe Slave station is connected. The receive and send Fboxes (RCV andSEND) from the Communication library are used to generate these tele-grams.

Similarly for calling a Pager or SMS service center the third level in-cludes Fboxes SEND Pager and SEND SMS that define the messages tosend and are referenced to the concerned Pagers or Mobil telephone.

All Fboxes operating with the modem must be given the same parameterfor the serial interface number.

The Call Slave Fbox can enable several send and receive Fboxes at once.They will be handled successively as quick as the communication linkallows.

Page 17: Process Control Devices for the SAIA - EWWH

Modem Library Programming and Commissioning

26/744 E3 (MOD-02-E.DOC) SAIA-Burgess Electronics Ltd. Page 2-3

2.2 Fast Commissioning

The fast commissioning method is based on the hypothesis that all theparameters with a role to play in the proper operation of the modem canbe applied at their default values.

If this attempt should fail, it will be necessary to devote more timestudying the user's guide for your modem and to more meticulous com-missioning with close reference to the topic Parameter Choice and Opti-mization .

The application proposed here for fast commissioning comprises a Mas-ter station calling a PCD Slave station in order to make an output blinkon the latter. The answering station remains all the time in S-Bus Slavemode. To make the task easier, it will be preconfigured to PGU with mo-dem mode.

If available the Data Mode should be prefered to the Break Mode sincethe risks of Modem incompatibility are much lower in Data Mode.

2.2.1 Preparation of answering station (Slave)

Hardware

Connect the modem using a cable assembly according to the PCD hard-ware manual.

On the PCD1, PCD2 and PCD4, interface no. 1 has been provided formodem operation. On a PCD6, all interfaces can be used.

Connect the telephone line to the modem. It is advisable to use a directtelephone line.

Power up the modem and the PCD.

SoftwareConfigure an S-Bus PGU interface with modem, according to the S-Busmanual. This station does not require a program. You may want to loadan empty COB and put the CPU in RUN. After about ten seconds, themodem is in 'auto-answer' mode, which is generally indicated with an'AA' LED on the modem.

Page 18: Process Control Devices for the SAIA - EWWH

Programming and Commissioning Modem Library

Page 2-4 SAIA-Burgess Electronics Ltd. (MOD-02-E.DOC) 26/744 E3

2.2.2 Preparation of calling station (Master)

Hardware

Connect the modem with a cable assembly according to the PCD hard-ware manual. To check modem operation, it is advisable to use an RS232tester, which indicates the state of the interface's data and control lines.

Connect the telephone line to the modem. It is advisable to use a directtelephone line.

Power up the modem and the PCD.

SoftwareThe interface used must NOT be configured as PGU for PLM. Assign-ment will be done by the program.

Create a minimal program for the calling station. This comprises a SASI-Modem Fbox followed by a Call Slave Fbox. Connect inputs Cal and Rto digital inputs which can be activated manually and connect output Conto a binary transmission Fbox (SEND from Communication family). The2nd input on this Fbox, which receives the data to transmit, can be sup-plied by a blinker whose time base is not too short (e.g. 2 seconds).

Test program

SASI-Modem INI Err

Err

Call SlaveCal ConR Err

BlinkEn QTV20

1

I 2

I 1

I 0

SEND

Page 19: Process Control Devices for the SAIA - EWWH

Modem Library Programming and Commissioning

26/744 E3 (MOD-02-E.DOC) SAIA-Burgess Electronics Ltd. Page 2-5

In the SASI-Modem Fbox, set the following parameters at least:

• Serial interface number.• S-Bus Protocole *).• Transmission speed *).

Do not needlessly select too high a speed for an initial trial (e.g. 2400baud). Check that your modems are capable of working at this speed.

• Increase the timeout value to twice the default value (e.g. 2000ms for2400 baud).

• Modem type: Use of a Hayes compatible modem is recommended.

*) Same as for the answering station.

In the Call Slave and SEND Fboxes, indicate the same channel as speci-fied in the SASI-Modem Fbox. Set the S-Bus mode to default. Enter thetelephone number of the answering station. This telephone number cancontain up to 24 characters divided into 3 fields each with 8 digits. <*>,<#>, <,>, <!> and <W> are also accepted. Spaces are allowed but nottransferred to the modem.

In the SEND Fbox, select the S-Bus address of the answering station.The address 255 can also be used, which means broadcasting to all sta-tions. As a simple check, use a digital Output. Make sure that an outputmodule has in fact been installed at this address.

Compile, download the program and go in Online mode.

Page 20: Process Control Devices for the SAIA - EWWH

Programming and Commissioning Modem Library

Page 2-6 SAIA-Burgess Electronics Ltd. (MOD-02-E.DOC) 26/744 E3

2.2.3 Tests

Open the adjust window of the SASI-Modem Fbox.

The PCD is ready to make a call.

Observe the stages in the table below by activating the inputs of the CallSlave Fbox with the PCD's digital inputs.

Manipulations / Observations Status Possible errorsReady to receive an instruction Standby If error = fatal, the selected PCD channel does

not exist.

If error = no modem, the modem is discon-nected or not powered up.

Apply a pulse to input Call Call Slave

Pause for 2 seconds (initializa-tion of modem)

Dialling If the Modem seems not to react, check thewiring.

If the Dialling status is not displayed, checkthe Call Slave Fbox (channel)

DTR and RTS = HighDSR and/or CTS = High

Dialling

The number is being dialled Dialling If the number is not dialled correctly by themodem, check if it has been correctly intro-duced in the Fbox Call Slave. It must also bein the Fbox SASI-Modem. If the status 'Nodial tone' is displayed, telephone line is faulty.

The station answers after 2ndcall

Dialling If there is no answer after the 2nd call, checkinstallation of answering station.

The modems adjust their trans-mission speeds

Dialling

Page 21: Process Control Devices for the SAIA - EWWH

Modem Library Programming and Commissioning

26/744 E3 (MOD-02-E.DOC) SAIA-Burgess Electronics Ltd. Page 2-7

Manipulations / Observations Status Possible errorsThe CD signal changes to High Connect If the modem hangs up right away, correct the

initialization command of the modem anddisable data compression or other features.

The output Con of the Fbox CallSlave changes to High

Connect

The connect timeout is reset to 0 Connect

The operating timeout is regu-larly restarted to 10.0

Connect The SEND Fbox must be active as to maintainthe connection.

The activity time decrementsfrom 60.0 to 0

Connect

The TD and RD modem signalsblink alternately and the Slavestation output blinks with thefrequency of 2 sec..

Connect If the output does not blink, check the S-Busstation number in the SEND Fbox configura-tion of the Slave station.If blinking is irregular, the timeout is tooweak, or there is interference on the line.

Apply a pulse to input R beforethe activity time reaches 0. Out-put Con is set Low.

Connect

The activity timeout decrementsfrom 10.0 to 0.

Connect If the timeout remains at 10.0 SEND/RCVFboxes are still active. Correct the programstructure.

The DTR signal is set Low Hang Up

The modem hangs up. Hang Up If it does hang ug, check the initializationcommand of the modem.

The CD signal is set Low Hang Up

Ready for the next command Standby

Page 22: Process Control Devices for the SAIA - EWWH

Programming and Commissioning Modem Library

Page 2-8 SAIA-Burgess Electronics Ltd. (MOD-02-E.DOC) 26/744 E3

If this operation has been obtained, your installation is correct, the mo-dem is well initialized and the default parameters apply. Carry out furthertests in abnormal situations: no answer, busy line and loss of connection.These tests will enable you to adjust the automatic recall mechanisms.

However, do not become discouraged if it does not work at the first at-tempt. It rarely does. Consult the manual for your modem and the S-Busmanual.

If everything works at the first attempt, do not underestimate any diffi-culties which may arise later.

The commonest errors are the following :

• wiring errors• configuration errors with the PCD stations• faulty modem initialization• modem incompatibility with the S-Bus Break and S-Bus Parity• problems with S-Bus timing (TS-Delay, Timeout and Break length),

specially with different transmission speeds

Points to note when initializing the modem:

• no data compression, specially with break mode• no error correction, specially with break mode• no reaction to break, send all break characters, specially with break

mode• ignore DTR or mask it with register S25 (S25=250)• CTS must follow RTS

Refer also to literature on S-Bus with PLM.

Page 23: Process Control Devices for the SAIA - EWWH

Modem Library Programming and Commissioning

26/744 E3 (MOD-02-E.DOC) SAIA-Burgess Electronics Ltd. Page 2-9

2.3 Parameter Choice and Optimization

Implementing this kind of application involves the analysis of differentcharacteristics and the optimization of some parameters. For good results,it is important to take a systematic approach.

It is recommended that parameters should be adapted group by group(and not all at once) following the instructions below and taking the re-spective comments into consideration.

• Parameters specific to modem• Parameters specific to the telephone exchange• Parameters for telephone connection• Answering station (Slave)• Parameters for transmitting data• Automatic recall mechanisms• Monitoring the activity timeout and maximum operating time• Station identification• S-Bus timing

2.3.1 Parameters specific to modem

These parameters concern the modem's reset and initialization com-mands. Too avoid too many difficulties with these settings, the use ofHayes compatible modems is strongly recommended. However, supple-mentary features such as data correction and compression may corruptthe S-Bus Telegrams integrity. In case of difficulty this feature must bedisabled.

These parameters are selected in 2 stages :

• selection of modem type in the SASI-Modem Fbox• fine adjustment (if necessary) in the MODMBASE.DAT file.

Whenever possible, select the same transmission speed for all modemswhich will be called. If this is not the case, the S-Bus timing should beadjusted. See S-Bus timing below.

Modems which have been tried and tested by SAIA are listed in the 'Mo-dem' menu of the SASI-Modem Fbox. In principle, these modems do notrequire any modification of the MODMBASE.DAT file. Your SAIAagent is able to provide you with initialization strings for the most currentmodems of your country.

Page 24: Process Control Devices for the SAIA - EWWH

Programming and Commissioning Modem Library

Page 2-10 SAIA-Burgess Electronics Ltd. (MOD-02-E.DOC) 26/744 E3

The Hayes type ought to work with all Hayes compatible modems, with-out modifying the MODMBASE.DAT file.

If your modem does not work with the Hayes type and is not included inthe list, use one of the types 'User 1' to 'User 10' and make the necessaryadjustments to the MODMBASE.DAT file. This file is an ASCII file andmust be modified with an ASCII text editor (e.g. EDIT from DOS).

If your modem is included in the list but requires an extension or slightmodification of a parameter, it is advisable to copy the standard defini-tions and make any modifications under a User type. In this way thestandard version retains its original definition. In addition, report yourobservations to your SAIA agent. This will make it possible to improvethe library to the benefit of other users.

Copy your file MODMBASE.DAT. It will be cleared when you install anupdated version of the modem library.

When these parameters have been correctly set, communication with themodem should be possible.

If the Standby mode is S-Bus PGU, note that the modem is initialized bythe firmware. The initialization string used by the firmware is stored inthe PCD and is defined using the Online configurator or the Configura-tion File Editor. The initialization string in file MODMBASE.DATshould be similar but NOT contain the auto-answer command: S0=2.This command is entered separately.

2.3.2 Parameters specific to the telephone exchange

These parameters are located in the SASI-Modem Fbox. They comprise :

• dialling signal (tone or pulse)• direct output prefix• X-command

The dialling signal must be adjusted according to the type of exchangefrom which the telephone line originates. Tone dialling is faster, but notavailable on older exchanges. Pulse dialling works, in principle, with anyexchange and can be selected where there is any doubt. The commandsused are 'ATDT' for tone and 'ATDP' for pulse.

The 'Other' option enables an other command to be used instead of theabove standard one. It must therefore be entered in fileMODMBASE.DAT.

Page 25: Process Control Devices for the SAIA - EWWH

Modem Library Programming and Commissioning

26/744 E3 (MOD-02-E.DOC) SAIA-Burgess Electronics Ltd. Page 2-11

If the telephone line is a direct line, the parameter 'Output prefix' is to letempty (default value). In other cases it must be specified. E.g. if an out-side line has to be requested by dialling 0 and then the dial tone has to bewaited, 0W must be entered.

If necessary a specific X-command can be selected as to suit the tele-phone exchange and define the desired modem response.

2.3.3 Parameters for telephone connection

For each partner to be called by the PCD, a Call Master or Call SlaveFbox must be used. The choice of Fbox automatically defines the appro-priate communication mode (Master or Slave). The mode S-Bus 'Default'allows to use the mode defined in the Fbox SASI-Modem. Another modemay only be selected if the called does not support the Default mode.Initially, the only parameter to enter is the telephone number.

This telephone number can contain up to 24 characters divided into 3fields each with 8 digits. Following special characters are also accepted :

<*> for server with numeric commands<#> for server with numeric commands<W> for waiting dialling tone<,> pause of 2 seconds (adjustable)<!> call transfer< > spaces are allowed but not transferred to the modem.

When the parameters have been set correctly, it should be possible toobtain a connection and carry out tests using a telephone as an answeringdevice (manual answer and hang up).

If the results of these tests are unsatisfactory, there is no use in proceed-ing to the following adjustments.

2.3.4 Answering station (Slave)

At this stage is necessary to have a correctly initialized answering station.

For a supervisor, please refer to the instructions provided by your sup-plier.

For a PCD-PCD connection, it only needs to configure one PCD as S-Bus PGU with modem, according to the S-Bus manual and the informa-tion provided in the utility. The presence of a program in this station isnot required for an initial trial.

Page 26: Process Control Devices for the SAIA - EWWH

Programming and Commissioning Modem Library

Page 2-12 SAIA-Burgess Electronics Ltd. (MOD-02-E.DOC) 26/744 E3

2.3.5 Parameters for transmitting data

This is only necessary for a call to a Slave station (Call Slave).

The exchange of data is defined by the choice of Fboxes to receive andsend binary or numeric variables. Since these Fboxes are strechable, theamount of data is defined by the size of the Fbox. The initialization op-tion must always remain disabled (option No) for a modem application.The other parameters are selectable as for a local S-Bus (S-Bus stationnumber, media and base address).

The enable signal for these Fboxes must be enabled by the Con output ofCall Slave Fbox. This means that the exchange of data is activated auto-matically as soon as the telephone connection is correctly established.Programming must ensure that the SEND Fboxes are disabled before themaximum activity time. This latter point is just a safety measure.

2.3.6 Automatic recall mechanisms

It is important to differentiate between the 2 automatic recall mecha-nisms, (3 for calling Pager and SMS) and to optimize them individually.

The recall mechanism in the SASI-Modem Fbox does an immediate recallwithout releasing the modem interface. This is used to repeat a call whenthere are occasional problems, such as an unsuccessful call or an over-loaded telephone network. After 2 or 3 unsuccessful attempts, it is prefer-able to release the connection for the time being. For this reason the recallcounter of the SASI-Modem Fbox should not exceed 2 or 3. It is importantto note that, during these 2 or 3 attempts, the serial port and the modemremain busy and that no other incoming or outgoing call is possible.

If a call remains unsuccessful (after the 2 or 3 attempts described above),the Call Master or Call Slave Fbox goes on standby for the time defined.The Err output is set High. The call command is stored and will be reac-tivated later automatically. During this interval, the modem and the serialport are available for other outgoing or incoming calls. This mechanismis used to repeat a call if the opposite station is busy for an extended pe-riod or if it is temporarily disconnected.

The recall process can be interrupted by a pulse at the input R.

The recall mechanism can be disabled by entering 0 in the recall counter.

Page 27: Process Control Devices for the SAIA - EWWH

Modem Library Programming and Commissioning

26/744 E3 (MOD-02-E.DOC) SAIA-Burgess Electronics Ltd. Page 2-13

For calling the Pager or SMS center, the recall mechanism is also imple-mented. It is useful when the service center is overloaded or temporarilyout of order. The error code from the service center is displayed in theFbox Call Pager respectively Call SMS. Errors occurring at PCD pro-gramming must be corrected before activating the recall mechanism. Anycall to the service center can be disabled by switching the En input to 0.

For alarm messages, a third recall mechanism is integrated to the FboxSEND Pager and Send SMS. The recalls occur if an abnormal situationremains even after the message has been sent.

2.3.7 Monitoring the activity timeout and maximum activity time

These parameters ensure that two stations do not remain connected afterthe exchange of data is supposed to be terminated. This prevents an errorfrom causing high communication charges to be run up. Cases of con-nection with a Slave or a Master are slightly different.

When calling a Slave station, the program is designed to enable transmis-sion just for the time to transmit the necessary information. When no re-maining send or receive Fbox is active, the SASI-Modem Fbox automati-cally interrupts the connection. In this case the timeout can be quite low.The default value is, in principle, the best. The maximum activity time isa precaution relative to the program. If a programming error should leavea send Fbox active indefinitely, the maximum activity time intervenesand hang up the line.

The maximum activity should be specially adapted when large volumesof information are sent with each call. Moreover, the activity timeoutshould not be too low to allow telegrams to be repeated (up to 3 times)when a connection is disrupted. The value must be greater than 3 timesthe parameter S-Bus timeout.

If a call is made with the Call Master Fbox (e.g. calling a supervisor), theMaster must regularly set to High the hold flag specified in the 'Hld'field. The SASI-Modem Fbox monitors this operation and holds the con-nection as long as the Master is active. The timeout must be adjusted tomatch the maximum frequency with which this flag can be set. If thetimeout is too short, the connection can be interrupted at an inappropriatetime. If it is too long, the line will be held unnecessarily after activity hasfinished. When the Master has terminated its transmission, it is supposedto interrupt (hang up) the connection. The SASI-Modem Fbox then re-leases the line and is ready to make another call. The maximum activitytime is a precaution in case the Master does not interrupt its activity, orthe modem does not correctly release the line.

Page 28: Process Control Devices for the SAIA - EWWH

Programming and Commissioning Modem Library

Page 2-14 SAIA-Burgess Electronics Ltd. (MOD-02-E.DOC) 26/744 E3

2.3.8 Station identification

Station identification is useful mainly for a PCD calling a supervisor(Call Master Fbox). For some supervisors, it is not possible to communi-cate with an S-Bus station without prior knowledge of its S-Bus stationnumber. Since, in this case, the PCD station is making the call, all sta-tions calling the same supervisor must have the same S-Bus station num-ber. The supervisor must therefore be given another means of identifyingthe calling station. The identification number entered in the SASI-Modem Fbox can be read by the supervisor in the register specified withthe Call Master Fbox in the 'Id' field. This register will be the same in allstations. The identification number must be entered once only in theSASI-Modem Fbox.

With effect from firmware versions supporting Modem+ mechanisms(see Conditions of Use and Compatibility ), a telegram enables the S-Busstation number to be read before the station is known. For supervisorsusing this feature, identification is possible with the S-Bus station num-ber. Register Id described above is no longer necessary. Each calling sta-tion can have a different S-Bus station number.

It is also possible to use both methods of identification in combination.This will even be necessary if the number of calling stations exceeds 254or for installations with an S-Bus-Gateway.

Caution ! This register is only loaded when the PCD calls the super-visor, and not when the supervisor calls the PCD.

2.3.9 S-Bus timing

These parameters are located in the SASI-Modem Fbox. Apart from thetimeout, the default values ought not to be modified without a specialreason. The timeout should generally be set to double the default valuefor an S-Bus network (see S-Bus manual).

These parameters must, if necessary, be optimized so that operation ofthe S-Bus protocol is adapted to the transmission speed and characteris-tics of the modem and telephone connection.

If good results are not obtained with the default values, consult the S-Busmanual for more information. These parameters must especially be opti-mized if the 2 stations are not working at the same transmission speed.

Page 29: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-1

3. FBoxes

3.1 SASI Modem

3.1.1 Description

The SASI-Modem Fbox is central to the management of the modem ap-plication. It contains all the routines necessary for control of the serialinterface, modem, telephone line and checking operation of the stationcalled. It monitors the timeouts and the maximum activity times. Its useis indispensable for the operation of all other Fboxes in the modem li-brary.

3.1.2 Inputs / Outputs / LED

Ini : Initialization of the phone numbers in the internal registers.Only executed at start up.

Err binary :

Binary error output. This signal is set High if an error is detectedIt is automatically reset Low as soon as the error is corrected (er-ror Fatal or No modem) or when a new call is made.

Err numeric :

Numeric error code. This output repeats the internal errorstates of the Fbox. It enables error codes to be shown on a nu-meric display, terminal or supervisor. They can also be read re-motely by the modem. Please refer to the description below.

Pdn : Power down. This output can be used to perform a power downand up of the modem after termination of a call. See also thepower down hang up option below.

Page 30: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-2 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

LED : The red LED indicates that one of the following errors has beendetected :

• SASI error (Fatal)• Modem error (binary Err output=High)• Diagnostic error (Receive or Transmit diagnostic)

3.1.3 Parameters of the adjust window

Page 31: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-3

-----[ Serial line ]-----

Channel :Number of the serial interface used for the modem. In principle,interface no. 1 (all interfaces 0 to 4 for PCD6)

Standby mode :

This option indicates which state the serial interface will havewhen an incoming call is detected. With the option 'OFF' no in-coming call is possible

Page 32: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-4 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Default S-Bus mode :

S-Bus mode used for Call Fboxes where the S-Bus mode in notspecified (Option Default). This mode is also used for incomingcalls with the standby mode S-Bus Slave and S-Bus Master.Gateway modes are only relevant for Master calls.

As to activate the Gateway function for incoming calls, theStandby mode PGU must be used.If a Gateway mode is selected, a Gateway Master port must beconfigured using the PCD Configurator.A non Gateway mode can be selected even if a Gateway port isconfigured. In this case, the Gateway function will not be acti-vated for Master calls.For older Call Fboxes without S-Bus mode selection, the Breakmode without Gateway is always used regardless of the DefaultS-Bus mode.

Default transmission speed :Must be set with reference to the modem types used.

Default Bits-Parity-Stop :

This setting is used to initialize the modem and for connectionwhere the settings are not predefined.Example of use :

To analyze a connection in S-Bus mode with the same settingsduring Modem control and S-Bus telegram, select 8-N-1.

For Fboxes without this option, the default settings are 7-E-1.

S-Bus Timeout [msec] See S-Bus manual for more detailsS-Bus TS-Delay [msec] If set to 0, the default value will be

usedS-Bus TN-Delay [msec]

S-Bus Break length [car]

Page 33: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-5

-----[ Identification ]-----

Station identification :

Numeric code which will allow a supervisor to identify thecalling station. It will be possible to read this code in register 'Id'specified with the Call Master Fboxes.

-----[ Modem option ]-----

Modem type :

Choice of modem type. This parameter selects the commandstrings of the modem defined in file MODMBASE.DAT.The types User 1 to User 10 are provided for individual settings.The types Test 1 to Test 4 are used during development.

X-command :Defines an X0...X4 command to be sent to the modem beforeeach dial command.

Dial signal :

Selection of tone or pulse dial signal. Depending on the tele-phone exchange, a number is dialled with a tone or pulse signal.The 'Other' option is for adapting to special cases by using acommand string defined in file MODMBASE.DAT.

Output prefix :Number dialled to obtain an external line when the line comesfrom an internal exchange.

Recall count :

Number of automatic recalls if the first attempt fails.

Connect timeout [sec] :Maximum period during which modems are connected frominitiation of a call.

Page 34: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-6 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Pause time [sec] :

Pause time between the different commands sent to the modemand between changes of status. Standard = 2sec. A lower valueaccelerates operation but can disrupt it. A higher value facilitatesvisual control, but slows down operation.

Power down hangup :Option to define the use of the Pdn output. A power down of themodem can be necessary to ensure that the line is correctly hungup and the modem is in a clear state. The Pdn signal is set to 1when the modem must be powered down. The same signal canalso interrupt the telephone line. The power down impulse willhave a duration according to the parameter 'Pause time'. Thedelay after power up until the modem is ready to accept a com-mand must be adjusted in the MODMBASE.DAT file.

Options :- No The Pdn signal is not used

- Emergency The Pdn signal is only activated in emergencycase. This means, if the modem don't behavecorrectly on the hangup command (DTR mustbe Low).

- Always The Pdn signal is always activated after a han-gup command.

Remark : The Pnd signal is not activated after a PGUcommunication like Call PGU and PGU In-coming call.

Page 35: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-7

-----[ Modem activity ]-----

Remaining recalls / Abort :

Number of remaining recalls during call process.The Abort button can be used to stop waiting for the connection,clear the recall counter and hang up immediately.

Remaining time / Extend :

Remaining time when waiting for the connection.The Extend button can be used to extend the remaining time bysteps of 10 sec.

Modem status :

Display of the actual status of the Modem.Standby Ready to initiate a call or to receive a call from

outside.

Dialling Dialling a number and awaiting the answer.Connect Connected with the other station.

HangUp Hang up the connection.Error Error during a call (timeout after all attempts)

Busy line, no answer or incompatibility betweenmodems.

Lost Line lost during communication.

Go in AA The modem is set to auto-answer mode (Auto-Answer).

Incoming An incoming call has been detected.

Busy Busy signal detected by the modem when diallingNo Dialtone No dialtone detected by the modem when dialling

Ring Ring signal detected by the modem when inStandby.

Init Modem initialization

No Modem The modem is not connected.Fatal Error Fatal error. The serial interface cannot be used.

Application status :

Display of the application status.

Standby Ready to initiate a call.Transmit Modem is connected, the application is transmitting.

End Transmission is ended, the modem will hang up.

Page 36: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-8 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Connection type :

Display the type of the actual connection.E.g. : Call Master

Call SlaveCall Pager

Tf number 1 :First part of telephone number dialled.

Tf number 2 :

Second part of telephone number dialled.

Tf number 3 :

Third part of telephone number dialled.

Activity timeout [sec] :

This parameter is sent by the Call Fbox which has initiated thecall. If no activity is detected during this time, it hangs up.

Activity time [sec] :

Maximum activity time. This parameter is sent by the Call Fboxwhich has initiated the call. If this time is exceeded, it hangs up.

Modem error :Display of the error of the modem. Last error detected. The erroris cleared when the next call is started. Each error also has acode which is copied to the numeric Err output.

Error Code CommentOK 0 No errorTimeout 1 Call not successful in specified timeLine lost 2 The connection has been interruptedHangUp 7 The modem did not answer correctly to

the hangup commandNo Modem 8 The modem is not connectedFatal Error 9 Fatal error. The SASI instruction has

failed.Corruption An internal register has been corrupted

by another part of the program. This problem can appear when an user program contains an error and overwritesthe wrong register.

Page 37: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-9

-----[ Initialization ]-----

Auto initialization :

Auto initialization of the phone numbers in registers after a pro-gram download.

Manual initialization :Manual initialization of the phone numbers in registers.

-----[ Diagnostic ]-----

SASI : The SASI error diagnostic indicates that the channel specifiedcould not be assigned. All other diagnostics are irrelevant. Theserial interface cannot function. The modem status and errorshow Fatal Error.

Receive buffer 0 Reception buffer busy

Receive diagnostic 2 Diagnostic during receptionTransmit buffer 3 Transmission buffer busy

Transmit diagnostic 5 Diagnostic during transmission

Clear diagnostic Clear Button

Other diagnostics :This section is only suitable for a summary of the diagnostics.For more details, use the SASI-Diag Fbox. Please refer to the S-Bus manual for more information about these diagnostics.

Page 38: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-10 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Initialization of the phone numbers in the registers

After loading a new program in the PCD, the numbers are automaticallyinitialized in the registers. This initialization must be activated by thecorresponding option.

Caution ! The automatic initialization is foreseen for applicationsloaded in RAM memory. It is not necessary and does notwork if the program is loaded in EPROM. In this case, theautomatic initialization must be deactivated through theoption in the adjust window. The initialization must bethen at least once executed manually.

An Init-button in SASI-Modem allows to manually initialize the phonenumbers.

The input signal Ini on the Fbox allows to initialize the phone number bya binary input of the PCD. This initialization is only executed by startupof the PCD. This feature is useful to initialize the register in case of lossof memory. The PCD must be powered off and powered on again withthe Ini input at 1.

Modem response

The following modem responses are detected when calling: BUSY, NODIALTONE and CONNECT. These response are displayed in the SASI-Modem Fbox. With BUSY and NO DIALTONE, the call is restarted.The effective message sent back by the modem can be defined in the fileMODMBASE.DAT.

The modem message RING is detected when in standby. This message isdisplayed in the SASI-Modem Fbox. The effective message sent back bythe modem can be defined in the file MODMBASE.DAT. If the standbymode is PGU, the modem is controlled by the firmware and the RINGsignal is not detected.

Page 39: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-11

3.1.4 Description of error situations

Timeout :

• Wrong telephone number (prefix, wait option, telephone number).• Unsuccessful call.• No answer from other modem (modem not initialized to AA).• Incompatibility between modems.• Modem disconnected or powered off.

Line lost :

The connection has been interrupted after establishing communication.This error may only occur with a Slave. Hanging up by a Master is notconsidered as an error. It is the Master which is responsible for hangingup the line.

HangUp :

The hangup is done by an AT command and the setting to 0 of the CTRsignal. The modem must then hangup and answer by setting the DSRsignal to 0.

The HangUp error shows that the modem has not set the DSR signal to 0.If the option 'Power down hangup' is set on 'No', the line may be occu-pied needlessly.If the option 'Power down hangup' is set on 'Emergency', due to the errorthe Pdn output switches on and the line should be free.

No Modem :

• Modem not connected.• Modem incorrectly wired.• No power to modem.

The presence of the modem is detected by the fact that one of the twocontrol lines CTS or DSR is set High. Absence of a modem can only berecognized if both these signals are set Low.

Caution ! Some modems set the DSR signal High if DTR is High,even when not powered up.

Page 40: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-12 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Fatal Error and SASI Error :

• The interface does not physically exist on the PCD.• Interface 0 has been selected. Apart from the PCD6, interface 0 cannot

be used with a modem. It does not have all the necessary control sig-nals. Use port 1, which is provided for modem use.

• The line is configured as S-Bus-PGU and a different standby modehas been selected. Delete this configuration and start the system again.

• S-Bus-PGU standby mode has been selected but the interface is notconfigured as S-Bus-PGU. Make this configuration and power up thesystem again.

• The interface has already been assigned by another SASI Fbox, possi-bly in another file.

• The CPU is not allowed to access the specified port (for PCD4 with 2processors).

Page 41: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-13

3.2 SASI Diag

3.2.1 Description

This Fbox enables details to be obtained about the flags and diagnosticregister of a serial interface. The interface must have been assigned withthe SASI-Modem Fbox before the SASI-Diag Fbox. The correspondingnumber of the serial interface must be specified.

SASI error diagnostic is the same as that for the SASI-Modem Fbox.

Other diagnosticsPlease refer to the S-Bus manual for more details on other diagnostics.

3.2.2 Parameters of the adjust window

Page 42: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-14 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

3.3 Incoming Call

3.3.1 Description

This function is used to detect an incoming call. Its use is optional. Theoutput signal switches to High if the modem receives an incoming call.This is detected by the fact that control signal DCD (Data Carrier De-tected) switches to High when no call has been made by the SASI-Modem Fbox.

This signal is delayed to the DCD signal. The delay time is specified inthe adjust window.

An incoming call cannot be detected if standby mode is 'OFF' or if themodem is not in auto-answer mode (AA).

3.3.2 Inputs / Outputs / LED

Digital outputs :Incoming call.

LED : The red LED also indicates an incoming call, in the same way asthe output.

3.3.3 Parameters of the adjust window

Page 43: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-15

3.4 Call Slave

3.4.1 Description

This Fbox is used to define the parameters for making calls to a Slavestation, generally a PCD. When input Cal receives a positive edge, a callcommand is stored. This command, with the necessary parameters, issent to the SASI-Modem Fbox. If the connection cannot be established,the command is stored and will be initiated after the recall time.

When a call has been successful, output Con is set High. This output isprovided to activate the send (SEND) and receive (RCV) Fboxes. Theoutput is reset Low if a pulse has been sent to input R (reset) or if theconnection is interrupted.

The connection can be interrupted in the following cases :

• Maximum activity time has been exceeded.• The inactivity timeout has elapsed and no activity has been detected.• The telephone line has been interrupted.

Output Con can activate several send and receive Fboxes.

If a call is unsuccessful, the Err output is set High instead. Any attemptedcall always ends with the setting either of the Con signal or the Err signal.

3.4.2 Inputs / Outputs / LED

Digital inputs Cal :

Call commands (dynamized). When there is a positive edge atinput Cal, a call order is memorized.

Digital inputs R :Reset (dynamized). Clears the command. Before the commandis initiated, a reset deletes it. During the call, a reset is withouteffect. When the connection has been established (Con=High), areset restores a low signal to output Con.

Page 44: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-16 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Digital outputs Con :

Connected. When a call has been successful, the modems areconnected and this output switches to High.

Digital output Err :

Error. The error output is switched on if, during a call, it was notpossible to establish communication. It is reset Low as soon asthe next call is made (by input Cal or automatic recall).

LED : The red LED indicates an error, in the same way as output Err.

3.4.3 Parameters of the adjust window

Channel :

The number of the serial interface using the modem must bespecified.

Page 45: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-17

S-Bus Mode :

Define the S-Bus Mode to be used when the connection is es-tablished.

The Default mode instructs the SASI-Modem Fbox to use thedefined Default S-Bus Mode.

For older Call Fboxes without S-Bus Mode selection, the Breakmode is always used regardless of the Default S-Bus Mode.

Tf number 1 :First part of the telephone number to be dialled.

Tf number 2 :Second part of the telephone number to be dialled.

Tf number 3 :

Third part of the telephone number to be dialled.

Activity timeout :

Monitoring time of inactivity of the SEND and RCV Fboxes inseconds.

Maximum activity time : This indicates the maximum permissible duration of any com-

munication. After this time, communication will be interrupted.

Recall count :

Offline value=Number of automatic recalls if the first attemptfails.

Online value=Number of recalls remaining.The online value can be modified during a call. However, a de-finitive change is only valid after recompiling.

When there is no current call, the online value is 0.

Recall time :Offline value=Delay between 2 attempts when the previous onehas failed.

Online value=Delay time remaining until next recall.The online value can be modified during a call. However, a de-finitive change is only valid after recompiling.When there is no current call, the online value is 0.

Page 46: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-18 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

-----[ Call status ]-----

Actual status :

Brief display of Fbox status during a current call. A detaileddisplay is shown in the SASI-Modem Fbox.

Standby Ready to make a call.CallSlave A call command has been stored.

Connect Connected with the other station.Error Error during a call :

- timeout after all attempts- modem disconnected.

Lost Line lost during communication

End Maximum activity time has been reached.Communication will be interrupted.

Last end status :Displays end status of last call made by that Fbox. This field ad-vises whether the last call went through correctly or whether itended with an error. A detailed display is shown in the SASI-Modem Fbox, but this information is lost as soon as a call ismade by any other Fbox.

Error The call ended with an error.Lost Line lost during communication.

End Maximum activity time reached, or inactivitytimeout elapsed.

Page 47: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-19

3.5 Call Slave Diag

3.5.1 Description

This Fbox allows to use the modem support from the Fupla Fboxes andto write the S-Bus communication in a Graftec/IL program.

The general handling of the modem is ensured with the SASI-ModemFbox. The Call Slave Fbox manages the call process until the Master sta-tion is connected to the Slave station.

3.5.2 Outputs:

Bsy : Indicates when the transmission is busy.

Important note

This output is only updated when this Fbox is executed and notimmediatly when a STXM or SRXM is executed. The associ-ated program must wait one cycle before reading this output.The Graftec ensures this cycle before each transition is executed.Care must be taken with other program structure.

Nex : Indicates that the STXM or SRXM has not been executed. Thereason is shown in detail in the Diag Fbox.

Dia : Indicates that a diagnostic bit has been set. The transmissionmay not be executed. More details are given in the Diag Fbox.

Page 48: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-20 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

3.5.3 FBox fields

Stn : Slave station number. This register must be loaded with theSlave station number before executing a STXM or SRXM in-struction.

Hld : Holding flag. This flag must be set High periodically by the as-sociated program. If this flag is not set after the Maximum inac-tivity time defined in the Call Slave Fbox, the Fbox SASI-Modem will hang up the line.

3.5.4 Working principle

Once the Con output of the Call Slave Fbox is On, communication can bestarted in a Graftec program. Communication can take place up to themaximum activity time defined in the Call Slave Fbox. If the Graftecprogram has finished the desired transmission, it stops to set the holdingflag. The SASI-Modem Fbox will then hang up the line after the inactiv-ity time defined in the Call Slave Fbox.

Caution ! The Graftec program must only execute communicationwith the STXM and SRXM instructions. The SEND andRCV Fboxes can not be used in Graftec.

Communication in Fupla and in Graftec can be mixed in the same appli-cation but not at the same time. This means that separate Call SlaveFboxes must be used in this case.

Page 49: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-21

3.5.5 Example of a simple Graftec program using the Call Slave Diag FBox

This program wait until connection is established. Then, the flag 0 iscomplemented at 1 Hz. Each time, the flag is written to flag 0 of theSlave and read back to the output 112 of the Master. If the output 112blink at 1 Hz, the communication is working correctly. Consider alsosome transmission delay depending on the baudrate.

Explanation, Steps and Transitions of the above example

External declaration

The following elements, declared in Fupla must be used in the Graftecprogram:

EXTN station ,connect, busy, hold

Wait connectBefore starting communication, the Master station must be connected tothe Slave station.

STH connect

Page 50: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-22 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

STXM

Before sending data, the S-Bus station number must be loaded.The holding flag must be periodically set to hold the line.

COM F 0 ; Blink Flag 0LDL station

1SET holdSTXM 1

1F 0F 0

Wait busy=Low

The busy flag is High until transmission is finished.

STL busy

SRXMOption : the S-Bus station number is loaded again.

The holding flag must be periodically set to hold the line.

LDL station1

SET holdSRXM 1

1F 0O 112

Wait busy=Low

The busy flag is High until transmission is finished.

STL busy

Wait 1 sec

Wait 1 sec to blink the flag 0 at 1 Hz. This can be programmed in Fupla.

Page 51: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-23

3.6 Call Master

3.6.1 Description

This Fbox is used to define the parameters for making calls to a Masterstation, generally a supervisor. When input Cal receives a positive edge,a call command is stored in memory. This command, with the necessaryparameters, is sent to the SASI-Modem Fbox. If the line is temporarilybusy, the command is stored and will be started as soon as the line be-comes free.

3.6.2 Inputs / Outputs / LED

Digital inputs Cal :Call commands (dynamized). When there is a positive edge atinput Cal, a call order is started.

Digital inputs R :

Reset (dynamized). Clears the command. Before the commandis initiated, a reset deletes it and it will be ignored. During thecall, a reset is without effect. When the connection has been es-tablished (Con=High), a reset restores a low signal to outputCon.

Digital outputs Con :

Connected. When a call has been successful, the modems areconnected and this output switches to High.

Digital output Err :Error. The error output is switched on if, during a call, it was notpossible to establish communication. It is reset Low as soon asthe next call is made (by input Cal or automatic recall).

LED : The red LED also indicates an error, in the same way as outputErr.

Page 52: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-24 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Hld field :

Hold the line. This flag enables monitoring of the activity of theMaster. It must be set High every cycle by the Master called.The Fbox monitors it and resets it Low every cycle.

Id field :

Identification. The register specified is automatically initializedwith the identification code defined in the SASI-Modem Fbox.When a supervisor is called, the latter can identify the station byreading the code in this register.

3.6.3 Parameters of the adjust window

Channel :

The number of the serial interface using the modem must bespecified.

Page 53: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-25

S-Bus Mode :

Define the S-Bus Mode to be used when the connection is es-tablished with the Master system.If a Gateway mode is selected, a Gateway Master port must beconfigured using the PCD Configurator.A non Gateway mode can be selected even if a Gateway port isconfigured. In this case, the Gateway function will not be acti-vated.The Default mode instruct the SASI-Modem Fbox to use the de-fined Default S-Bus Mode.For older Call Fboxes without S-Bus Mode selection, the Breakmode without Gateway is always used regardless of the DefaultS-Bus Mode.

Tf number 1 :First part of the telephone number to be dialled.

Tf number 2 :Second part of the telephone number to be dialled.

Tf number 3 :

Third part of the telephone number to be dialled.

Activity timeout :

Monitoring time in seconds of the Hld flag. If this flag has notbeen set during this period, communication will be interrupted.This parameter must be adjusted to the speed at which the Mas-ter is able to set the flag.

Maximum activity time : This indicates the maximum permissible duration of any com-

munication. After this time, communication will be interrupted.

Recall count :

Offline value=Number of automatic recalls if the first attemptfails.

Online value=Number of recalls remaining.

In old Fboxes, the online value can be modified during a call.However, a definitive change is only valid after recompiling.

When there is no current call, the online value is 0.When calling a Master, the fact that the communication has beeninterrupted after connection is not considered as an error. The callis not repeated. It is the task of the Master to hang up the line.

Page 54: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-26 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Recall time :

Offline value=Delay between 2 attempts when the previous onehas failed.Online value=Delay time remaining until next recall.

In old Fboxes, the online value can be modified during a call.However, a definitive change is only valid after recompiling.

When there is no current call, the online value is 0.

Button Call :

This button allows to start a call manually from the adjust win-dow.

Button Reset :This button allows to reset the recall mecanism manually fromthe adjust window.

-----[ Call status ]-----

Actual status :Brief display of Fbox status during a current call. A detaileddisplay is shown in the SASI-Modem Fbox.

Standby Ready to make a call.CallSlave A call command has been stored.

Connect Connected with the other station.Error Error during a call :

- timeout after all attempts- modem disconnected.

Lost Line lost during communication

End Maximum activity time has been reached.Communication will be interrupted.

Last end status :Displays end status of last call made by that Fbox. This field ad-vises whether the last call went through correctly or whether itended with an error. A detailed display is shown in the SASI-Modem Fbox. However, this information is lost as soon as a callis made by any other Fbox.Error The call ended with an error.

Lost Line lost during communication.End Maximum activity time reached, or inactivity

timeout elapsed.

Page 55: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-27

3.7 Call Master ID

3.7.1 Description

This Fbox is used to define the parameters for making calls to a Masterstation, generally a supervisor. When input Cal receives a positive edge,a call command is stored in memory. This command, with the necessaryparameters, is sent to the SASI-Modem Fbox. If the line is temporarilybusy, the command is stored and will be started as soon as the line be-comes free.

The Fbox Call Master ID is able to generate a call to a master system andto send an identification telegram before going in Sbus Slave mode. Eachidentification field can be activated by selecting an option in the adjustwindow.

This Fbox and the SASI-Modem Fbox supporting this feature are avail-able from the version 1.4 Beta-C of the modem library.

3.7.2 Inputs / Outputs / LED

Digital inputs Cal :Call commands (dynamized). When there is a positive edge atinput Cal, a call order is started.

Digital inputs R :

Reset (dynamized). Clears the command. Before the command isinitiated, a reset deletes it and it will be ignored. During the call, areset is without effect. When the connection has been established(Con=High), a reset restores a low signal to output Con.

Numeric input CR :Call Reason. This input gives the numeric value for call reasonwhen the Other option is selected.When the call reason Data Buffer is selected, the CR input givesthe Data buffer address from the Buffer Fbox.For other options, this input is ignored.

Digital outputs Con :

Connected. When a call has been successful, the modems areconnected and this output switches to High.

Page 56: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-28 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Digital outputs Ack :

Call acknowledged. This output is reset as soon as the connec-tion is established (Con=1). It is set to 1 when the supervisor ac-knowledges the communication. See also the description of therepetition mechanism.

Digital output Err :

Error. The error output is switched on if, during a call, it was notpossible to establish communication. It is reset Low as soon asthe next call is made (by input Cal or automatic recall).

LED : The red LED also indicates an error, in the same way as outputErr.

3.7.3 Parameters of the adjust window

See the description of the Call Master Fbox first.

Page 57: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-29

-----[ Identification ]-----

In this section, the various options for the identification can be selected.

System :If the System identification is not activated, all other fields areignored and no identification is sent.

Protocol :

Define if the communication protocol is specified in the identifi-cation.

S-Bus station :Define if the S-Bus station number is specified in the identifica-tion.

Identification :

Define if the station identification number is specified in theidentification (See SASI-Modem Fbox).

Call reason :

Define if the call reason is specified in the identification and inwhich form.For options Data Buffer and Other, the input CR is also used.See the above specification.

Call acknowledgement :

Define if the flags for holding the line and call acknowledge-ment are specified in the identification. If not selected, the repe-tition mechanism is also desabled.

ID string timeout :

After the identification is sent, within this time, the supervisorcan require a repetition or accept the identification. After thistime, the PCD automatically switches to S-Bus Slave mode.

Repetition

If the connection can not be established (busy, no response), the recallmechanism is activated. See Fbox Call Master.

If the acknowledgement of the identification is enabled, the supervisormust acknowledge the call when the communication is terminated. If thecall is not acknowledged, and the option 'Repeat' is selected, the recallmechanism is activated. This principle ensures that the supervisor canread all information he needs from the PCD even if the line is lost duringcommunication.

Page 58: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-30 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

3.8 Call PGU

3.8.1 Description

This Fbox is used to define the parameters for making calls to a Pro-gramming unit (PGU). When the input Cal receives a positive edge, acall command is stored in memory. This command, with the necessaryparameters, is sent to the SASI-Modem Fbox. If the line is temporarilybusy, the command is stored and will be started as soon as the line be-comes free.

See also restrictions with PGU ports.

3.8.2 Inputs / Outputs / LED

Digital inputs Cal :Call commands (dynamized). When there is a positive edge atinput Cal, a call order is started.

Digital inputs R :

Reset (dynamized). Clears the command. Before the commandis initiated, a reset deletes it and it will be ignored. During thecall, a reset is without effect. When the connection has been es-tablished (Con=High), a reset will abort the PGU mode andhangup the line.

Digital outputs Con :

Connected. When a call has been successful, the modems areconnected and this output switches to High.

Digital output Err :Error. The error output is switched on if, during a call, it was notpossible to establish communication. It is reset Low as soon asthe next call is made (by input Cal or automatic recall).

LED : The red LED also indicates an error, in the same way as outputErr.

Page 59: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-31

Id field :Identification. The register specified is automatically initializedwith the identification code defined in the SASI-Modem Fbox.When the Programming unit is called, the latter can identify thestation by reading the code in this register.

Cnf : Confirmation. Once connected, this flag must be set high by theProgramming unit as to confirm that the connection is correctlyestablished. This confirmation can also be made with the con-firm button in the adjust window.

See also Confirmation mechanisms

3.8.3 Parameters of the adjust window

Channel :The number of the serial interface using the modem must bespecified.

Page 60: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-32 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

S-Bus Mode :

Defines the S-Bus Mode to be used when the connection is es-tablished with the Master system. Only the configured PGUmode is available.

Tf number 1 :

First part of the telephone number to be dialled.

Tf number 2 :Second part of the telephone number to be dialled.

Tf number 3 :Third part of the telephone number to be dialled.

Recall count :

Offline value=Number of automatic recalls if the first attemptfails.Online value=Number of recalls remaining.

When there is no current call, the online value is 0.When calling a Programming unit, the fact that the communicationhas been interrupted after connection is not considered as an error.The call is not repeated. It is the task of the Programming unit tohang up the line.

Recall time :

Offline value=Delay between 2 attempts when the previous onehas failed.Online value=Delay time remaining until next recall.

When there is no current call, the online value is 0.

Button Call :

This button allows to start a call manually from the adjust win-dow.

Button Reset :

This button allows to reset the recall mecanism manually fromthe adjust window.

Page 61: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-33

-----[ PGU Confirmation ]-----

Confirm timeout [sec] :Monitoring time of the confirmation, in seconds. If the connectionis not confirmed within this time, the PGU mode will be abortedand the connection is released.

Button Confirm :Button to confirm the connection to the PGU. This confirmationcan also be done by setting the Cnf-flag to High.The displayed value is the remaining time before the PGU isaborted and the line is released.

See also Confirmation mechanisms.

-----[ Call status ]-----

Actual status :

Brief display of Fbox status during a current call. A detaileddisplay is shown in the SASI-Modem Fbox.

Standby Ready to make a call.

CallSlave A call command has been stored.Connect Connected with the other station.

Error Error during a call :- timeout after all attempts- modem disconnected.

Lost Line lost during communicationEnd Maximum activity time has been reached.

Communication will be interrupted.

Last end status :

Displays end status of last call made by that Fbox. This field ad-vises whether the last call went through correctly or whether itended with an error. A detailed display is shown in the SASI-Modem Fbox. However, this information is lost as soon as a callis made by any other Fbox.

Error The call ended with an error.Lost Line lost during communication.

End Confirmation time elapsed without confirmation.

Page 62: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-34 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Restrictions with PGU ports

It must be noticed that only one communication port can be in PGUmode at the same time.

A Programming unit connected locally to port 0 will have priority on theconfigured PGU port with Modem. This port will automatically be lim-ited to the S-Bus reduced protocol.

The Debugger tool is able to establish a connection in S.Bus reducedprotocol. The Fupla, however requires the full S-Bus protocol (PGU). Inother words, it is not possible to answer a PGU call with Fupla if a pro-gramming unit is already connected locally.

Confirmation mechanism

The confirmation mechanism has been implemented to ensure that theconnection is really established with a Programming unit.

The confirmation consists of setting the flag Cnf or clicking the confirmbutton in the adjust window.

Once the connection is confirmed, the PGU activity is not limited.

The connection will end by decision of the called partner. However, thecommunication fees are paid by the calling partner.

A time limitation can be realized by using a timer function acting on theReset input. However, the PGU mode allows any manipulation (Stop.Run, Restart, Download). For critical applications, is recommended toprotect the calling station by a password.

Page 63: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-35

3.9 Call Pager

3.9.1 Description

This Fbox is used to define parameters as to call a Pager server and tosend a message. It monitors the protocol able to communicate with thePager server and provides an error code if necessary. In addition to thePager call number, it contains a list of 1 to 8 pager numbers.

The calls are generated by auxiliary Fboxes SEND Pager providing alsothe messages to send in clear text.

If input En is activated, a call order can be memorized. This order withits necessary parameters is sent to the Fbox SASI-Modem. If the line istemporarily busy, the order is memorized and will be carried out as soonas the line is free.

See also : Comments regarding reliability of Pager and SMS alarming.

3.9.2 Inputs / Outputs / LED

Digital input En :Authorization to send messages.

If En = 0, all messages are ignored.

Digital output Err :

Error. Err is set to 1 if the communication has been interruptedbefore any message has been sent. It may occur if the selectedprotocol does not correspond to the server called.The output Err is also switched on, if during a call, the Pagerserver has answered with a error message. In this case, the out-put ErC shows an error code. Err is set to 0 as soon as a call hasbeen successful.

LED : The LED turns red and reacts the same way as the output Err.

Page 64: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-36 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Numeric output ErC :

Error code. The output ErC provides the last error code receivedby the Pager server. See the following code list.

Numeric output ErN :

Number of errors. The output ErN provides the number of errorcodes received by the Pager server since the last counter clearing.

3.9.3 Parameters of the adjust window

Page 65: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-37

Channel :

The number of the serial line using the modem must be indi-cated.

Initialization :This button is used for the initialization of the numbers in thePCD registers :

- the call number of the Pager server- the Pager numbers- the reference numbers in the Fboxes SEND Pager.This initialization must be executed at least ounce after the pro-gram download. This principle allows the remote modificationof the numbers, without loosing them at each power cut-off. Seealso Init function of the SASI Modem Fbox.

Page 66: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-38 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

-----[ Pager server ]-----

See Pager and SMS Servers

Protocol option :

The following protocols are supported :

Country Provider Protocol Option Call numberSwitzerland Swisscom Dialogue CH-Dialog 074 090 00 03Switzerland Swisscom IXO CH-IXO 074 090 00 03Portugal Telechamada TAP P-TelechAustria Post PET A-PETSwitzerland Swiss Phone IXO CH-Phone 157 51 33 (without password)Switzerland Swiss Phone IXO CH-Phone 01 786 30 59 (with password)

In countries where several protocols are available, the choice remains tothe user taking into account the following particularities.

CH - Dialog

This protocol has been implemented in order to send the same message toseveral Pagers with one single call. See Fbox SEND Pager for parametersof the various Pager numbers.

CH - IXO, P - Telech and A-PET

The implementation of these protocols allows to send a message to onesingle Pager per telephone call. However, it offers a better safety thank toa checksum control. This checksum is provided only for messages sent tothe server. It is not available for the answer nor for the radio messagesent to the Pager.

See Fbox SEND Pager for other particularities regarding the messagetexts introduction.

Page 67: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-39

-----[ Pager numbers ]-----

Pager number 1 to 8:

This list represents the Pagers reachable by the PCD. The num-bers are memorized in this Fbox only, which allows easy modi-fications. The Fboxes SEND Pager use these numbers with theirreferences 1 to 8.These fields accept 8 characters that can contain spaces before,after or between numbers.

Telepage Swisscom

Pager number for the Swisscom Pager server. A Pager numberhas usually a 7 digits number. For Pagers having a 6 digits num-ber only, the number must be preceded by '0'.

Example : Pager 922 672

Introduce : 0922 672

A-PET

The Pager number should not contain the fixed part already intro-duced in the above fields. For each call, the number of this listwill be copied in the field number 3 of the above call number.

Telepage Swiss Phone

Pager number for the Swiss Phone Pager server. The Pagernumber must be entered with 7 digits. If the number has 6 digitsonly, it must be completed with prefix '2'. If the number has 10digits, the prefix 009 must be removed.Examples :

Pager 866 934 Introduce : 2866 934Pager 0092 866 934 Introduce : 2866 934

Password 1 to 8 :

Password for the corresponding pager number. Used for provid-ers with password protection only, e.g. Swiss Phone.

For other providers, the field remains blank..

Page 68: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-40 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

-----[ Call Status ]-----

and-----[ Pager Errors ]-----

See Status and Errors for SMS and Pager

Description of error codes :

CH-IXO and CH-Dialog

See Swisscom documents for the signification of the various er-ror codes.

P-Telech and A-PETIf the transmission has been interrupted without acknowledg-ment or with an error code from the Pager server, the followingcodes can still be displayed :

Code Description10 Character STX, ETX or field limiter missing.11 Message too long12 Pager number not existing or illegal *)

18 Maximum time elapsed (Timeout)51 Checksum or other transmission error52 Format character error, (baudrate, bits or parity)55 The message cannot be delivered.100 The server has interrupted the connection without

known reason.101 The server refuses the message for an unknown reason.

*) For A-PET: This error is not reported by this code. If the Pagernumber is incorrect, the Pager server refuses the telephone call.

Page 69: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-41

3.10 Call SMS

3.10.1 Description

This Fbox is used to define parameters as to call a SMS Service Centerand to send a message. It monitors the protocol able to communicate withthe SMS Service Center and provides an error code if necessary. In addi-tion to the Service Center call number, it contains a list of 1 to 8 Mobiltelephone numbers.

The calls are generated by auxiliary Fboxes SEND SMS providing alsothe messages to send in clear text.

If input En is activated, a call order can be memorized. This order withits necessary parameters is sent to the Fbox SASI-Modem. If the line istemporarily busy, the order is memorized and will be carried out as soonas the line is free.

See also : Comments regarding reliability of Pager and SMS alarming.

3.10.2 Inputs / Outputs / LED

Digital input En :

Authorization to send messages.If En = 0, all messages are ignored.

Digital output Err :

Error. Err is set to 1 if the communication has been interruptedbefore any message has been sent. It may occur if the selectedprotocol does not correspond to the server called.

The output Err is also switched on, if during a call, the ServiceCenter has answered with a error message. In this case, the out-put ErC shows an error code. Err is set to 0 as soon as a call hasbeen successful.

Page 70: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-42 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Numeric output ErC :

Error code. The output ErC provides the last error code receivedby the Service Center. See the following code list.

Numeric output ErN :

Number of errors. The output ErN provides the number of errorcodes received by the Service Center since the last counterclearing.

LED : The LED turns red and reacts the same way as the output Err.

3.10.3 Parameters of the adjust window

Page 71: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-43

Channel :

The number of the serial line using the modem must be indi-cated.

Initialization :This button is used for the initialization of the numbers in thePCD registers :- the call number of the Service Center- the Mobil telephone numbers- the reference numbers in the Fboxes SEND SMS.This initialization must be executed at least ounce after the pro-gram download. This principle allows the remote modificationof the numbers, without loosing them at each power cut-off. Seealso Init function of the SASI Modem Fbox.

See also the function Init of the SASI-Modem Fbox.

Page 72: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-44 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

-----[ SMS Server ]-----

See Pager and SMS Servers

Protocol option :

The following protocols are supported :

Country Provider Protocol Option Call numberSwitzerland Swisscom UCP CH-UCP 079 499 89 90Germany DeTeMobil TAP D1-TAP 01712521001Germany Mannesmann UCP D2-UCPAustria TAP A-TAPNorway TAP N-TAP

In countries where several protocols are available, the choiceremains to the user. The corresponding call number must be ad-justed.

-----[ Originator ]-----

If supported by the selected protocols, the originator identification speci-fied in this section is sent to the destination with the message.

-----[ Destinations ]-----

Destination 1 to 8 :This list represents the Mobil telephone devices reachable by thePCD.The numbers are memorized in this Fbox only, which al-lows easy modifications. The Fboxes SEND SMS uses thesenumbers with their references 1 to 8.

Each number can have up to 16 digits and can be split in twolines. Each field accepts 8 characters that may contain spacesbefore, after or between digits.

Numeric message only :

Numbers referenced in this field will be considered as numericreceiver only. The protocol for numeric messages is then used.Only numeric code should be entered in messages for this re-ceiver. All other codes will be ignored.

Page 73: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-45

-----[ Call Status ]-----

and-----[ SMS Errors ]-----

See Status and Errors for SMS and Pager

Description of error codes for UCP Protocol :

Code Description01 Checksum error02 Syntax error03 Operation not supported by the Service Center04 Operation not allowed (at this moment)23 Message type not supported by the Service Center24 Message too long

Description of error codes for TAP Protocol :

Code Description51 Checksum or other transmission errors100 The SMS Service Center has interrupted the connection101 The SMS Service Center has refused the message

Page 74: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-46 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

3.11 Send Pager

Two Fboxes are available for sending messages :

SEND Pager :This Fbox allows to introduce the message text directly in thefield Msg of the Fbox.

SEND Pager Indirect :This Fbox allows to enter the message text indirectly to the inputMsg of the Fbox through a register.

3.11.1 Description

The Fbox is used for sending the message to the Pager server and definesalso the Pager where the message must be sent. If the alarm state is notacknowledged (Input Cal=0) within the given time, the same message isrepeated at regular intervalls.

See General description for Send Pager and Send SMS.

3.11.2 Parameters of the adjust window

See also : - Text syntax for SEND Fboxes

- Use of Cal Input of SEND Fboxes

Page 75: Process Control Devices for the SAIA - EWWH

Modem Library FBoxes

26/744 E3 (MOD-03-E.DOC) SAIA-Burgess Electronics Ltd. Page 3-47

3.12 Send SMS

Two Fboxes are available for sending messages to the SMS ServiceCenter :

SEND SMS :

This Fbox allows to introduce the message text directly in thefield 'Msg' of the Fbox.

SEND SMS Indirect :This Fbox allows to enter the message text indirectly to the inputMsg of the Fbox through a register.

3.12.1 Description

The Fbox is used for sending messages to the SMS Service Center anddefines also the devices where the message must be sent. If the alarmstate is not acknowledged (Input Cal=0) within the given time, the samemessage is repeated at regular intervalls.

See General description for Send Pager and Send SMS.

3.12.2 Parameters of the adjust window

See also : - Text syntax for SEND Fboxes- Use of Cal Input of SEND Fboxes

Page 76: Process Control Devices for the SAIA - EWWH

FBoxes Modem Library

Page 3-48 SAIA-Burgess Electronics Ltd. (MOD-03-E.DOC) 26/744 E3

Notes :

Page 77: Process Control Devices for the SAIA - EWWH

Modem Library Further Comments about FBoxes

26/744 E3 (MOD-04-E.DOC) SAIA-Burgess Electronics Ltd. Page 4-1

4. Further Comments about FBoxes

4.1 General description for Send Pager and Send SMS

4.1.1 Description

The Send Pager and Send SMS Fbox are used for sending messages tothe Service Center and defines also the devices where the messages mustbe sent. If the alarm state is not acknowledged (Input Cal=0) within thegiven time, the same message is repeated at regular intervalls.

4.1.2 Inputs / Outputs

Digital input Cal :

Starts the call to the Service Center as to send the message. Ifinput Cal remains active after the repetition time is elapsed, anew call is started. See following examples for Use of Cal Inputof SEND Fboxes .

Msg field :Message. Address or symbol of the message text. Thisfield contains only one reference to a text. The text may be in-troduced in calling the Resource Manager.Example :

The field RAM Memory can be used as desired.The field 'Size of Text/DB' must NOT be filled.

Input Msg :

Message number (indirect). The message number is given bythe value at input Msg. If the value does not indicate a text exist-ing in the PCD, the LED turns red when sending the message. Itturns automatically back to green when a correct message is sent.

Page 78: Process Control Devices for the SAIA - EWWH

Further Comments about FBoxes Modem Library

Page 4-2 SAIA-Burgess Electronics Ltd. (MOD-04-E.DOC) 26/744 E3

The same text can be used in various Fboxes SEND Pager andSEND SMS. See the description of the various protocols formore details about Text syntax for SEND Fboxes.

Output Wit :

Message waiting. If several Fboxes want to send messages si-multaneously, some must wait until the line is free. The outputWit indicates that the message of the Fbox is waiting. Duringthe waiting time, it must be avoided to load another messagenumber to the input Msg, because it will clear the previous one.

When the output Wit switches to 0, the message has been takeninto account by the Fbox Call Pager or Call SMS and a new onecan be load to the input Msg. However, it has not yet been sentto the Service Center.

4.1.3 Parameters of the adjust window

Pager reference number and Destination :The field contains the reference to the Pager or SMS number setin the Fbox Call Pager or SMS. Characters other than 1 to 8 areignored.The reference number must be initialized at least once after pro-gram download. It can be done by using the button Init of thefunction Call SMS or Call Pager. See also Init function of theSASI Modem Fbox.

For Pager Protocol CH-Dialog :The field can contains a 1 to 8 figure number. The messagewill be sent to all pager simultaneously.

Recall time [min] :

Recall time in minutes. A new call is sent if the input signal Calremains activated after the time is elapsed. The recall can not beused for the Fbox SEND Pager Indirect and SEND SMS Indirectif different messages have to be sent. In this case, the functioncan be cancelled in setting the value to 0.

Button Call now :

Starts a call. Allows to start a call for a test. In this case the re-call is not activated.

See also: - Text syntax for SEND Fboxes

- Use of Cal Input of SEND Fboxes

Page 79: Process Control Devices for the SAIA - EWWH

Modem Library Further Comments about FBoxes

26/744 E3 (MOD-04-E.DOC) SAIA-Burgess Electronics Ltd. Page 4-3

4.2 Pager and SMS Servers

The Fboxes Call Pager and Call SMS dispose of the similar parametersand information to define and control calls to the Service Center (Server).This general statement is valid for both Call Pager and Call SMS Fboxes.

Tf number 1 :First part of the telephone number of the Service Center.

Tf number 2 :Second part of the telephone number of the Service Center.

Tf number 3 :

Third part of the telephone number of the Service Center.

Protocol option :

See the list and comments of the corresponding Call Fbox.

Transmission speed :

The option Default will select the baudrate recommended by themost used service center in the corresponding country. The otheroptions allow to force the baudrate to use.

Bits-Parity-stop :

The option Default will select the bits settings recommended bythe most used service center in the corresponding country. Theother options allow to force the bits settings to use.

Confirmation timeout :

Maximum time for confirmation in seconds. If the Service Cen-ter has not confirmed reception of the message before the time iselapsed, the communication will be interrupted. This offers asafety in case of lost of the data or interruption of the communi-cation. The line is not blocked or occupied uselessly. The de-fault value should be applicable to all Service Centers.

Page 80: Process Control Devices for the SAIA - EWWH

Further Comments about FBoxes Modem Library

Page 4-4 SAIA-Burgess Electronics Ltd. (MOD-04-E.DOC) 26/744 E3

Recall count :

Offline Value = Number of automatic recalls if the first call is not successful.

Online Value = Number of remaining recalls.If no call is running, the Online value is 0.

The Online value can be modified during a call. However, adefinite change is only taken into account after a new compila-tion.

Recall time [min] :

Offline value = Waiting time between 2 calls when the last was not successful.

Online value = Waiting time remaining until the next call.

If no call is running, the Online value is 0.The Online value can be modified during a call. However, adefinite change is only taken into account after a new compila-tion.

Caution ! Some programming errors, (incorrect number, too longmessage,...) must be corrected before activating this auto-matic recall mechanism. Once put into service, the PCDwill not be able to react to a programming error. SeeStatus and Errors for Pager and SMS.

Page 81: Process Control Devices for the SAIA - EWWH

Modem Library Further Comments about FBoxes

26/744 E3 (MOD-04-E.DOC) SAIA-Burgess Electronics Ltd. Page 4-5

4.3 Status and Errors for Pager and SMS

The Fboxes Call Pager and Call SMS dispose of the similar status and er-rors information. This general description is valid for both Call Pager andCall SMS Fboxes.

-----[ Call status ]-----

Actual status :

Displays a summary of the Fbox current state when a call is run-ning. A detailed display can be seen in the Fbox SASI-Modem.Standby Ready for calling.

Call SMS A call order for the SMS Service Center is memo-rized.

Call Pager A call order for the Pager Service Center is memo-rized.

Connect Connected with the Service Center

Error Error during a call- Timeout after all trials- Modem disconnected, etc...

Lost Connection has been lost. The communication hasbeen interrupted or the Service Center has discon-nected the connection (normal case for Pager).

End The maximum activity time is reached. Thecommunication will be interrupted

Last end status :

Displays the final status of the last call sent by this Fbox. Thisfield allows to know if the last call has been successful or endedwith an error.

Error The last call ended with an error.Lost The connection has been lost during communica-

tion without confirmation or error code from theService Center.

End The maximum time for the confirmation isreached. The Service Center has not confirmedthe reception of the message.

End OK The dialogue ended correctly and the ServiceCenter acknowledged the reception of the message.

End NO OK The dialogue ended but the Service Center hasnot confimed the message reception nor sent anerror message.

Error code The dialogue ended by a negative answer. The er-ror code indicates the reason. See Pager / SMSErrors below.

Page 82: Process Control Devices for the SAIA - EWWH

Further Comments about FBoxes Modem Library

Page 4-6 SAIA-Burgess Electronics Ltd. (MOD-04-E.DOC) 26/744 E3

-----[ Pager / SMS Errors ]-----

This section provides a diagnostic about the function or the disturbanceof the Service Center. Since the Service Center may answer with an errorcode, it is not sure that the message sent is memorized and sent to thedestinator.

An error diagnostic is only displayed here if the connection with theService Center has been done correctly but the dialogue ended with anerror message. This is shown by the final state 'End code'. In this case,the message transmission will be repeated after the timeout according tothe parameter.

At each negative response, the error counter is incremented of one unitand the diagnostic fields are refreshed.For all cases where the dialogue with the Service Center has taken placecorrectly and ended with an acknowledge message or an error code, themessages counter is incremented. In this way, a statistic about the faultycalls compared to the total number of calls is quite easy.

During putting into service, all messages and numbers must be tested asto eliminate programming errors. During this time, the mechanism forautomatic recall should not be activated (Recall count = 0).

Last error code :

The error code is generated by the Service Center and definesthe reason why it is not able to handle the message transmission.See error code description of the corresponding Call Fbox.

Last error Date and Last error Time :These are shown only if the PCD is equipped with a hardwareclock.

Last error Message :Message number when the last error code occured. The valueshows the number of the user's text containing the message. If thenumber is unknown, the text can be read in the PCD memory withthe debugger using the command : 'Display Text no <CR>'.

It is possible to predefine the text numbers during introductionin the 'Resource Manager'.

Error counter :Counter of error codes received.

Message counter :

Counter for the total number of messages sent.

Button Clear errors :

Button for setting to 0 all counters and diagnostic fields. This op-eration must be done at least once after loading of the program inthe PCD. No initialization is done automatically at PCD start.

Page 83: Process Control Devices for the SAIA - EWWH

Modem Library Further Comments about FBoxes

26/744 E3 (MOD-04-E.DOC) SAIA-Burgess Electronics Ltd. Page 4-7

4.4 Comments regarding Reliability of Pager and SMS Alarming

Since alarm messages may be sent to a Pager or a Mobil telephone inform of short messages, a particular attention has been devoted to thefunction reliability.

It is important to notice that the final reliability of the message dependsalso on the other elements of the string, such as :

• Alarm detection devices• User's program• Telephone network• Pager and SMS Service Center• Radio transmitters• Pager receiver and Mobil telephone• Pager and Mobil telephone owner

Examples :

• It may occur that the trouble itself avoids the message transmission.• The Service Center may be out of order or temporarily overloaded.• The Pager receiver may be located in an area where the reception is

not possible.• The transmission of radio messages is unidirectional and it is not pos-

sible to know if a Pager has received its message.• The Pager's owner may clear the messages without answering.

Since the absolute reliability does not exist, it is recommended to intro-duce a feed-back checking. The messages can be repeated as long as thealarm signal is not acknowledged, or even completely disappeared. Thenecessary functions for such a mechanism are available in this library. Itis highly recommended to use them.

On the other hand, the opposite situation may occur. A defective plantmay send multiple wrong messages. In this situation, the Pager or Mobiltelephone owner is disturbed, the Service Center may be disturbed andtelephone costs are increasing. This situation must be easily taken undercontrol even if specialized people are not reachable (vacation periods).The digital input En is available for easily deactivating any messagetransmission.

Page 84: Process Control Devices for the SAIA - EWWH

Further Comments about FBoxes Modem Library

Page 4-8 SAIA-Burgess Electronics Ltd. (MOD-04-E.DOC) 26/744 E3

4.5 Text Syntax for SEND FBoxes

4.5.1 Text syntax for protocol CH Dialog

The text can be introduced directly as it must be displayed on the Pager.The maximum message length is 80 characters. The texts may containsreferences to PCD variables.

Some examples :

$D Date$H Hour$Rnnnn Register content$fnnnn Flag state

See PCD instructions guide for the complete list of the possible com-mands in texts.

Caution ! A too long message is not checked neither by the assemblernor by the PCD, but will be refused by the Pager server.

Page 85: Process Control Devices for the SAIA - EWWH

Modem Library Further Comments about FBoxes

26/744 E3 (MOD-04-E.DOC) SAIA-Burgess Electronics Ltd. Page 4-9

4.5.2 Text syntax for other protocols

For Pager :

CH IXOP-TelechA-PET

For SMS :

UCPTAP

Maximum size of messages

For Pager :A-PET Numeric Pager: 15 charactersA-PET Alphanumeric Pager: 40 characters

For SMS :

UCP Numeric messages 128 charactersUCP Alphanumeric messages 128 charactersTAP 200 characters

For these protocols, the text must be handled in runtime by the CPU as tocalculate a checksum. For this reason, the following restrictions must berespected :

• The message must be marked by delimiters.A character set at beginning and at the end of the message, can befreely selected by the user except some characters reserved for the as-sembler ( < > $ @ and " ).

• The minimum length of a text is 4 characters including the delimiters.• The references to variables cannot be used in these messages.

Examples :

/Message for your pager/ OK(Short message) CPU error by sending,

'(' different of ')'<Test 123< Assembling error, '<' is reserved.*Please reserve a *****-Hotel* Text cut: 'Please reserve a '+Please reserve a *****-Hotel+ OK

Page 86: Process Control Devices for the SAIA - EWWH

Further Comments about FBoxes Modem Library

Page 4-10 SAIA-Burgess Electronics Ltd. (MOD-04-E.DOC) 26/744 E3

4.6 Use of Cal Input of SEND FBoxes

The message should be sent once only

In this case, the recall function must be desactivated by a dynamic signalon input Cal. One call only will be sent when input Cal receives a posi-tive signal. The others recall mechanisms in case of occupied connectionor for Service Center overload remain active according to their parame-ters.

The message must be repeated as long as not acknowledged

In this case, the alarm signal will activate a flip-flop function that is con-nected to input Cal. The message will be repeated as long as the ac-knowledgement is not given, independently from the alarm state. Thisacknowledgement can be given either by a local digital input, or at dis-tance by the modem.

The message must be repeated as long as the alarm signal has not disap-peared.

In this case, the alarm signal will activate directly the Cal input.

Page 87: Process Control Devices for the SAIA - EWWH

Modem Library Diagrams

26/744 E3 (MOD-05-E.DOC) SAIA-Burgess Electronics Ltd. Page 5-1

5. Diagrams

5.1 Modem Initialization

Initialization for Standby = S-Bus Slave or Master

Status = InitRTS and DTR = High

Send escape string(___+++___)

Send Reset string(ATZ)

Send Init string

Status = Standby

CTS or DSR = High

Assign line in StandBy modeRTS and DTR = High

Status = Go in AASend Auto answer string(ATS0=2)

Comments

If the standby mode is S-Bus-PGU, the modem is set in Auto-answer bythe Firmware. The Init status is displayed until the Firmware confirmsthe end of the initialization.

Page 88: Process Control Devices for the SAIA - EWWH

Diagrams Modem Library

Page 5-2 SAIA-Burgess Electronics Ltd. (MOD-05-E.DOC) 26/744 E3

5.2 Call Slave / Master

Status = Standby

Status = Call Slave/Master

Send X-commandSend Dial stringStart timeoutDecrement counter

No Incoming Call

Call Slave/Mastercommand

Status = DialingSend Init stringSend Optional Init stringLoad recall counter

TimeoutTimer = 0

Wait connectionDCD = High

Send ID-string(for Call Master ID)

Assign line in S-Bus Master/SlaveRTS and DTR = HighStatus = Connect

Activity timeout = 0OR Max activity = Ended

Line lostDCD = Low

Status = End Status = Lost

Counter > 0

Next retry

Counter = 0ORRecal disabled

Status = Error

Next retry

Continue with Hangup and Init Sequence.

Comments

As soon as the status = Connect, the output Con of the Fbox which sentthe call is set to High.

Page 89: Process Control Devices for the SAIA - EWWH

Modem Library Diagrams

26/744 E3 (MOD-05-E.DOC) SAIA-Burgess Electronics Ltd. Page 5-3

5.3 Hangup and Init Sequence

Status = HangUp

Wait disconnectedDCD = Low or timeout elapsed

Assign line in Standby modeDTR and RTS = High

Status = StandBy

Send escape string(___+++___)

Active modem monitoringDSR or CTS = High

Send HangUp string

DTR = LowStart timeout = 10 sec.

Status = Go in AASend Auto answer string(ATS0=2)

Ignore if DSR or CTS = Low(DTR = Low)

Send Reset string(ATZ)

Send Init string

Comments

If the standby mode is S-Bus-PGU, the modem is set in Auto answer bythe Firmware. The Hangup status is displayed until the Firmwareconfirms the end of the initialization.

Page 90: Process Control Devices for the SAIA - EWWH

Diagrams Modem Library

Page 5-4 SAIA-Burgess Electronics Ltd. (MOD-05-E.DOC) 26/744 E3

5.4 Modem disconnected and reconnected

Excepting the sequence part where the modem hangs up the line, themodem is permanently monitored. When the modem is disconnected, thefollowing sequence is executed.

If the Standby mode is S-Bus-PGU, the initialization is performed by theFirmware.

All status

Status = No ModemDTR and RTS = High

Status = Init

DSR = LowAND CTS = Lowfor more than 1 second

DSR = Highor CTS = High

Send escape string(___+++___)

Send Reset string(ATZ)

Send Init string

Status = Standby

Assign line in Standby modeDTR and RTS = High

Status = Go in AASend Auto answer string(ATS0=2)

CommentsIf the standby mode is S-Bus-PGU, the modem is set in Autoanswer by the Firmware.

The Init status is displayed untilthe Firmware confirms the endof the initialization.

Page 91: Process Control Devices for the SAIA - EWWH

Modem Library Examples

26/744 E3 (MOD-06-E.DOC) SAIA-Burgess Electronics Ltd. Page 6-1

6. Examples

A small application with 2 stations is shown :

• The first program "modm_lo1.fup" is for the local station,

• the other, "modm_re1.fup", for the remote station.

In addition, there are three other programs :

• The program "pager.fup" shows an example with a message to a pager.

• The program "sms.fup" shows an example with a message to a handy.(the SMS message are included in the file "sms_text.src")

• The program "call_pgu.fup" shows an example with a PCD callingthe PG4. (used S-Bus level 2 communication)

Remark :

The original printout ('File' - 'Print...') is shown.

Page 92: Process Control Devices for the SAIA - EWWH

Examples Modem Library

Page 6-2 SAIA-Burgess Electronics Ltd. (MOD-06-E.DOC) 26/744 E2

Notes :

Page 93: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 1/3SAIA Burgess ElectronicsPage: FUP-1.a [ ] 14:55:45, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\modm_lo1.fupNameDate

PAGE DESCRIPTIONProgramm for the local station # 1.

The activation of input 1 will call the slave # 2. If the connection is established, the flag F 0 of the station # 2 blinks.This flag is read by the FBox 'RCV' and can be followed visually. The communication can be interrupted with the input I 0.

FBOX EXTRA INFORMATION WITH ADJUST VARIABLES1 FBox: SASI Modem (SASI Modem), Family: Modem SP 2.0.82

Channel Channel 1Standby mode C-ModeDefault S-Bus mode DataDefault transmission speed 9600 bpsDefault Bits-Parity-Stop ... 7-E-1S-Bus Timeout [msec] 0S-Bus TS-Delay [msec] 0S-Bus TN-Delay [msec] 0S-Bus Break length [car] 0Station identification 0Modem type HayesX-Command NoneDial signal ToneOutput prefix ...Recall count ... 0Connect timeout [sec] ... 45.0Pause time [sec] ... 2.0Power down hangup NoAuto initialization Yes

2 FBox: SASI Diagnostic (SASI Diag), Family: Modem SP 2.0.82Channel Channel 1

3 FBox: Incoming Call (Incoming Call), Family: Modem SP 2.0.82Channel Channel 1On delay time 2.0

4 FBox: Call Slave (Call Slave), Family: Modem SP 2.0.82Channel Channel 1S-Bus Mode DefaultTf number 1 ... 0,026Tf number 2 ... 6727509Tf number 3 ...Activity timeout [sec] 10.0Maximum activity time [sec] 60.0Recall count ... 0

BlinkEnTV

Q

8

PulseInTV

Qt

5

RCV7

9

SASI ModemIni Err

ErrPdn

1

SASI DiagClr Dia

2

Incoming Call3

Call SlaveCalR

ConErr

4

SEND6

I 7 F 10R 10O 32

I 6 R 11

O 33

Tx

I 1I 0

600

Tx30

F 0

Page 94: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 2/3SAIA Burgess ElectronicsPage: FUP-1.b [ ] 14:55:45, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\modm_lo1.fupNameDate

Recall time [sec] ... 0.05 FBox: Pulse (Pulse), Family: Time related6 FBox: Transmit 1-20 I/O/F (SEND), Family: Communication

Initialization NoChannel Channel 1Destination station 2Destination element FlagDestination address 0

7 FBox: Receive 1-20 I/O/F (RCV), Family: CommunicationInitialization NoChannel Channel 1Source station 2Source element FlagSource address 0

8 FBox: Blink delay T (Blink), Family: Blinker9 FBox: Contact ([), Family: Ladder diagram

Page 95: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 3/3SAIA Burgess ElectronicsPage: FUP-2 [ ] 14:55:45, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\modm_lo1.fupNameDate

PAGE DESCRIPTIONThe activation of input 2 will call the slave # 2. If the connection is established, the clock of the slave is read and put in the registers R 0 and R 1.The flag F 1 of the slave is set to high. The communication can be interrupted with the input I 0.

FBOX EXTRA INFORMATION WITH ADJUST VARIABLES1 FBox: Call Slave (Call Slave), Family: Modem SP 2.0.82

Channel Channel 1S-Bus Mode DefaultTf number 1 ... 0,026Tf number 2 ... 6727509Tf number 3 ...Activity timeout [sec] 10.0Maximum activity time [sec] 60.0Recall count ... 0Recall time [sec] ... 0.0

2 FBox: Pulse (Pulse), Family: Time related3 FBox: Transmit 1-20 R/T/C/Clock (SEND), Family: Communication

Initialization NoChannel Channel 1Destination station 2Destination element RegisterDestination address 0

4 FBox: Receive 1-20 R/T/C/Clock (RCV), Family: CommunicationInitialization NoChannel Channel 1Source station 2Source element ClockSource address 0

5 FBox: Transmit 1-20 I/O/F (SEND), Family: CommunicationInitialization NoChannel Channel 1Destination station 2Destination element FlagDestination address 1

Call SlaveCalR

ConErr

1 PulseInTV

Qt

2

RCV4 SEND3

SEND5

I 2I 0

600

Page 96: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 1/3SAIA Burgess ElectronicsPage: FUP-1.a [ ]Programm for the remote station

14:58:23, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\modm_re1.fupNameDate

PAGE DESCRIPTIONProgramm for the remote station # 2.

If time and date in the registers R 0 and R 1 match the hardware clock, a call to a slave station # 1 will be executed.If the connection is established, the flag F 0 of the slave station blinks. This flag is read by the FBox 'RCV' and can be followed visually.The communication can be interrupted with the input I 0.

FBOX EXTRA INFORMATION WITH ADJUST VARIABLES1 FBox: SASI Modem (SASI Modem), Family: Modem SP 2.0.82

Channel Channel 1Standby mode S-Bus PGUDefault S-Bus mode DataDefault transmission speed 9600 bpsDefault Bits-Parity-Stop ... 7-E-1S-Bus Timeout [msec] 0S-Bus TS-Delay [msec] 0S-Bus TN-Delay [msec] 0S-Bus Break length [car] 0Station identification 0Modem type User 3X-Command NoneDial signal ToneOutput prefix ...Recall count ... 0Connect timeout [sec] ... 45.0Pause time [sec] ... 2.0Power down hangup NoAuto initialization Yes

2 FBox: SASI Diagnostic (SASI Diag), Family: Modem SP 2.0.82Channel Channel 1

3 FBox: Incoming Call (Incoming Call), Family: Modem SP 2.0.82Channel Channel 1On delay time 2.0

4 FBox: Is equal to (Cmp), Family: Integer5 FBox: And 2-10 inputs (&&), Family: Binary6 FBox: Time (Time), Family: Time related7 FBox: Is equal to (Cmp), Family: Integer8 FBox: Call Slave (Call Slave), Family: Modem SP 2.0.82

Channel Channel 1S-Bus Mode DefaultTf number 1 ... 0,026

BlinkEnTV

Q

10

R9

SASI ModemIni Err

ErrPdn

1

SASI DiagClr Dia

2

Incoming Call3

Call SlaveCalR

ConErr

8

SEND11

RCV12

TimeHMSDay

6

Cmp=

4

Cmp=

7

&5

13

I 7 F 10R 10O 32

I 6 R 11

R 0R 1 Call

CallI 0

30

F 0

F 1

Page 97: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 2/3SAIA Burgess ElectronicsPage: FUP-1.b [ ]Programm for the remote station

14:58:23, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\modm_re1.fupNameDate

Tf number 2 ... 6727508Tf number 3 ...Activity timeout [sec] 10.0Maximum activity time [sec] 60.0Recall count ... 0Recall time [sec] ... 0.0

9 FBox: Coil reset ((R), Family: Ladder diagram10 FBox: Blink delay T (Blink), Family: Blinker11 FBox: Transmit 1-20 I/O/F (SEND), Family: Communication

Initialization NoChannel Channel 1Destination station 1Destination element FlagDestination address 0

12 FBox: Receive 1-20 I/O/F (RCV), Family: CommunicationInitialization NoChannel Channel 1Source station 1Source element FlagSource address 0

13 FBox: Contact ([), Family: Ladder diagram

Page 98: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 3/3SAIA Burgess ElectronicsPage: FUP-2 [ ] 14:58:23, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\modm_re1.fupNameDate

PAGE DESCRIPTIONThe activation of input 4 will call a master station. If the connection is established, the flag 100 will be set to high.

To test this function, the reception can be done with the PG3 'Auto Answer' mode or by a supervisory system.

Attention:It's not possible to use the 'Auto Answer' of the PG4 because the 'Auto Answer' of the PG4 needs to have a' level 2' S-Bus comunication andwith the FBox 'Call Master' there is only a 'level 1' S-Bus communication.

FBOX EXTRA INFORMATION WITH ADJUST VARIABLES1 FBox: Call Master (Call Master), Family: Modem SP 2.0.82

Channel Channel 1S-Bus Mode DefaultTf number 1 ... 0,026Tf number 2 ... 6727508Tf number 3 ...Activity timeout [sec] 20.0Maximum activity time [sec] 60.0Recall count ... 0Recall time [sec] ... 0.0

Call MasterCalR

ConErr

HldId

1

I 4 F 100I 0

F 5R 5

Page 99: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 1/2SAIA Burgess ElectronicsPage: FUP-1.a [ ] 09:22:52, May 19, 1999Last Modified

Block: COB 0 14:45:32, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\pager.fupNameDate

PAGE DESCRIPTIONExample with Page rmessage:

With the Inputs I 2 and I 3 two different messages are transmitted to the pager.

FBOX EXTRA INFORMATION WITH ADJUST VARIABLES1 FBox: SASI Modem (SASI Modem), Family: Modem SP 2.0.82

Channel Channel 1Standby mode S-Bus PGUDefault S-Bus mode DataDefault transmission speed 1200 bpsDefault Bits-Parity-Stop ... 7-E-1S-Bus Timeout [msec] 0S-Bus TS-Delay [msec] 0S-Bus TN-Delay [msec] 0S-Bus Break length [car] 0Station identification 0Modem type User 1X-Command NoneDial signal ToneOutput prefix ...Recall count ... 0Connect timeout [sec] ... 45.0Pause time [sec] ... 2.0Power down hangup NoAuto initialization Yes

2 FBox: Call Pager (Call Pager), Family: Modem Pager SP 2.0.82Channel Channel 1Tf number 1 ... 0,074Tf number 2 ... 0900003Tf number 3 ...Protocol option CH-DialogTransmission speed DefaultBits-Parity-Stop ... DefaultConfirmation timeout [sec] 60.0Recall count ... 3Recall time [sec] ... 30.0Pager number 1 0922672Pass word 1Pager number 2Pass word 2

SASI ModemIni Err

ErrPdn

1

Call PagerEn Err

ErCErN

2

SEND PagerCalMsg

3

SEND PagerCalMsg

4

I 7

I 2

I 3

FireAlarm

LiftAlarm

Page 100: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 2/2SAIA Burgess ElectronicsPage: FUP-1.b [ ] 09:22:52, May 19, 1999Last Modified

Block: COB 0 14:45:32, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\pager.fupNameDate

Pager number 3Pass word 3Pager number 4Pass word 4Pager number 5Pass word 5Pager number 6Pass word 6Pager number 7Pass word 7Pager number 8Pass word 8

3 FBox: SEND Pager (SEND Pager), Family: Modem Pager SP 2.0.82Pager reference number(s) 1Recall time [min] ... 1440

4 FBox: SEND Pager (SEND Pager), Family: Modem Pager SP 2.0.82Pager reference number(s) 1Recall time [min] ... 1440

Page 101: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 1/2SAIA Burgess ElectronicsPage: FUP-1.a [ ] 10:55:10, May 20, 1999Last Modified

Block: COB 0 14:45:32, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\sms.fupNameDate

PAGE DESCRIPTIONExample with SMS message:

With the Input I 1 a SMS message is sent to a handy.The message can be selected as 2 digit BCD code with the inputs I 16 to I 23.

FBOX EXTRA INFORMATION WITH ADJUST VARIABLES1 FBox: SASI Modem (SASI Modem), Family: Modem SP 2.0.82

Channel Channel 1Standby mode S-Bus PGUDefault S-Bus mode DataDefault transmission speed 9600 bpsDefault Bits-Parity-Stop ... 7-E-1S-Bus Timeout [msec] 0S-Bus TS-Delay [msec] 0S-Bus TN-Delay [msec] 0S-Bus Break length [car] 0Station identification 0Modem type User 1X-Command NoneDial signal ToneOutput prefix ...Recall count ... 0Connect timeout [sec] ... 45.0Pause time [sec] ... 2.0Power down hangup NoAuto initialization Yes

2 FBox: Call SMS (Call SMS), Family: Modem SMS SP 2.0.82Channel Channel 1Tf number 1 ... 0,079Tf number 2 ... 499Tf number 3 ... 8990Protocol option CH-UCPTransmission speed DefaultBits-Parity-Stop ... DefaultConfirmation timeout [sec] 60.0Recall count ... 3Recall time [sec] ... 30.0Originator..Destination 1 07945722

BcdIntRIn#

4

SASI ModemIni Err

ErrPdn

1

Call SMSEn Err

ErCErN

2

SEND SMSCalMsg

Wit

3

I 1

I 162

Page 102: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 2/2SAIA Burgess ElectronicsPage: FUP-1.b [ ] 10:55:10, May 20, 1999Last Modified

Block: COB 0 14:45:32, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\sms.fupNameDate

.. 01Destination 2..Destination 3..Destination 4..Destination 5..Destination 6..Destination 7..Destination 8..Numeric message only

3 FBox: SEND SMS Indirect (SEND SMS), Family: Modem SMS SP 2.0.82Destination 1Recall time [min] ... 0

4 FBox: BCD to int reverse quick (BcdIntR), Family: Converter

Page 103: Process Control Devices for the SAIA - EWWH

USER : SAIA Burgess ElectronicsEDITOR : SEDIT32 SP 2.0.82FILENAME : G:\EC Teilnehmer\S409\Modem\Examples\sms_text.srcDATE : 26.11.99

TITLE : SUBTITLE :

1

text 0 "/Alarm Nr. äöüàé100; Front door is open, pleas check the front door/"text 1 "/Alarm Nr. 101; Back door is open, pleas check the back door/"text 2 "/Alarm Nr. 102; Left Window is open, pleas check the left window/"text 3 "/Alarm Nr. 103; Right Window is open, pleas check the right window/"text 4 "/Alarm Nr. 104; Fire alarm, pleas call 123,456789/"text 5 "/Alarm Nr. 105; Fresh wather pump don't work, check wather level/"text 6 "/Alarm Nr. 106; Dump wather pump don't work, pleas check the valve 212/"text 7 "/Alarm Nr. 107; Fire alarm 1 floor, pleas call 123,666666/"text 8 "/Alarm Nr. 108; Fire alarm 2 floor, pleas call 123,666666/"text 9 "/Alarm Nr. 109; Fire alarm 3 floor, pleas call 123,666666/"text 10 "/Alarm Nr. 110; Fire alarm 4 floor, pleas call 123,666666/"text 11 "/Alarm Nr. 111; Fire alarm 5 floor, pleas call 123,666666/"text 12 "/Alarm Nr. 112; Fire alarm 6 floor, pleas call 123,666666/";text xx

Page 104: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 1/2SAIA Burgess ElectronicsPage: FUP-1.a [ ] 15:23:29, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\call_pgu.fupNameDate

PAGE DESCRIPTIONProgramm to call a PG4.

If the flag Call_PGU is set to high then a call is relased to a PC with PG4 programming unit.Before the PG4 has to be set in S-Bus auto-answer mode to be able to detect the incomming call.After that the connection between the Call PGU and the PC is established, the PC switches in theS-Bus master mode and send level 2 S-Bus telegrams.

FBOX EXTRA INFORMATION WITH ADJUST VARIABLES1 FBox: SASI Modem (SASI Modem), Family: Modem SP 2.0.82

Channel Channel 1Standby mode S-Bus PGUDefault S-Bus mode DataDefault transmission speed 9600 bpsDefault Bits-Parity-Stop ... 7-E-1S-Bus Timeout [msec] 0S-Bus TS-Delay [msec] 0S-Bus TN-Delay [msec] 0S-Bus Break length [car] 0Station identification 0Modem type User 1X-Command NoneDial signal ToneOutput prefix ...Recall count ... 0Connect timeout [sec] ... 45.0Pause time [sec] ... 2.0Power down hangup NoAuto initialization Yes

2 FBox: SASI Diagnostic (SASI Diag), Family: Modem SP 2.0.82Channel Channel 1

3 FBox: Incoming Call (Incoming Call), Family: Modem SP 2.0.82Channel Channel 1On delay time 2.0

4 FBox: Call PGU (Call PGU), Family: Modem SP 2.0.82Channel Channel 1S-Bus Mode PGU-ConfigTf number 1 ... 026672Tf number 2 ... 7508Tf number 3 ...Recall count ... 0

Modem ?5

SASI DiagClr Dia

2

Incoming Call3

Call PGUCalR

ConErr

IdCnf

4

SASI ModemIni Err

ErrPdn

1

Inc_Call

I 0 ConnectI 1 Error

R 100F 100

Page 105: Process Control Devices for the SAIA - EWWH

SFU

P32.

EXE:

Ver

sion

SP 2

.0.8

0, U

ser n

ame:

SAI

A Bu

rges

s El

ectro

nics

Page 2/2SAIA Burgess ElectronicsPage: FUP-1.b [ ] 15:23:29, November 26, 1999Last Modified

Block: COB 0 14:45:31, November 26, 1999Creation

File: G:\EC Teilnehmer\S409\Modem\Examples\call_pgu.fupNameDate

Recall time [sec] ... 0.0Confirm timeout [sec] 60.0

5 FBox: Version Modem ? (Modem ?), Family: Modem SP 2.0.82