Moeller S40-AM-TD Manual
Moeller S40-AM-TD Manual

Moeller S40-AM-TD Manual

Telecontrol via a dial-up line, application module

Advertisement

Quick Links

Telecontrol via a Dial-Up Line
S40-AM-TD
Application Module
02/02 AWB27-1300-GB
st
1
edition 1999, 01/99
nd
2
edition 2002, 02/02,
See revision protocol in the
"About this manual" chapter
© Moeller GmbH, 53105 Bonn
Author:
Peter Roersch
Editor:
Thomas Kracht
Translator:
Terence Osborn
All brand and product names are trademarks
or registered trademarks of the owner
concerned.
All rights reserved, including those of the
translation.
No part of this manual may be reproduced in
any form (printed, photocopy, microfilm or
any otherprocess) or processed, duplicated or
distributed by means of electronic systems
without written permission of Moeller GmbH,
Bonn.
Subject to alterations without notice.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S40-AM-TD and is the answer not in the manual?

Questions and answers

Summary of Contents for Moeller S40-AM-TD

  • Page 1 © Moeller GmbH, 53105 Bonn any form (printed, photocopy, microfilm or Author: Peter Roersch any otherprocess) or processed, duplicated or Editor: Thomas Kracht distributed by means of electronic systems Translator: Terence Osborn without written permission of Moeller GmbH, Bonn. Subject to alterations without notice.
  • Page 2 Warning! Dangerous electrical voltage! Before commencing the installation • Disconnect the power supply of the device. • Suitable safety hardware and software measures should be implemented for the • Ensure that devices cannot be accidentally I/O interface so that a line or wire breakage restarted.
  • Page 3 • Measures should be taken to ensure the • Wherever faults in the automation system proper restart of programs interrupted may cause damage to persons or property, after a voltage dip or failure. This should external measures must be implemented to not cause dangerous operating states even ensure a safe operating state in the event for a short time.
  • Page 4: Table Of Contents

    02/02 AWB27-1300-GB Contents About This Manual List of revisions General Application field Hardware and software requirements Data Arrays of the Function Blocks Data exchange principle Data array size Data array structure – One-dimensional data arrays for TCMT1zB0/U0 13 – Three-dimensional data arrays for TCMT1zU2/U5 14 Assigning the data array parameters –...
  • Page 5 02/02 AWB27-1300-GB Contents Function Blocks Overview – Type code Installation – Directory structure – Selecting the function blocks – Code/data size, cycle time requirements – Installation procedure Integrating the parameter function block in the user program – Setting for Suconet mode Parameter function block –...
  • Page 6: About This Manual

    IEC/EN 60870-5. Other manuals (AWBs) The following manuals on telecontrol are also available: Hardware and engineering ZB4-501-TC1/TC2 telecontrol module AWB27-1297-GB Telecontrol via a leased line, S40-AM-TD application module AWB27-1301-GB List of revisions Edition Page Description Modi-...
  • Page 7 02/02 AWB27-1300-GB...
  • Page 8: General

    02/02 AWB27-1300-GB 1 General Application field The S40-AM-TD application module, version 2.0, provides a range of different function blocks. These function blocks form the interface between telecontrol modules and the user program in the PLC. They support the configuration of telecontrol stations that are interconnected via a dial-up line system.
  • Page 9 02/02 AWB27-1300-GB General Figure 1 shows the structure of a telecontrol system with Moeller components. In this example, a station with two remote stations communicates via a dial-up line. Station A PS416 > > > Station B Station C PS4-200...
  • Page 10: Hardware And Software Requirements

    PS416 S40-AM-TD Function block type TCMT1zxx TCMT1zxx Sucosoft S40 from 4.0 from 4.0 ZB4-501-TC1 – PS416-TCS-200 – – ZB4-501-TC2 Memory expansion with PS4-150/-200 – required 1) The S40-AM-TD application module, version 2.0, also contains the function blocks of version 1.2.
  • Page 11 02/02 AWB27-1300-GB...
  • Page 12: Data Arrays Of The Function Blocks

    02/02 AWB27-1300-GB 2 Data Arrays of the Function Blocks Data exchange principle Data is exchanged between stations via “byte” type data arrays. This means that data formatted differently in the application must be converted prior to entry in the data array.
  • Page 13 02/02 AWB27-1300-GB Data Arrays of the Function Blocks CR = 1 CR = 1 CR = 256 CR = 256 Figure 2: Data exchange a Station: PS416 function block: TCMT1zU2/U5 b Station: PS4-300 function block: TCMT1zU2/U5 c Station: PS4-200 function block: TCMT1zB0 SD = Send data RD = Receive data CR = Number of the communication channel...
  • Page 14: Data Array Size

    02/02 AWB27-1300-GB Data array size Data array size The size of the data arrays depends on the function block type selected: If the “TCMT1zB0“ or “TCMT1zU0“ function blocks are selected, the data array is one-dimensional and is 1 to 220 bytes for send and receive data (a fig. 3). The data arrays in function blocks “TCMT1zU2“...
  • Page 15 02/02 AWB27-1300-GB Data Arrays of the Function Blocks With a PS416 or PS4-300 controller as the central station, the maximum available range (send and receive data arrays) is therefore calculated as follows: 13 Kbyte Maximum data volume per partner station = Number of partner stations in the telecontrol line When assigning offset addresses and subaddresses, make sure that the maximum available data volume is not...
  • Page 16: Data Array Structure

    02/02 AWB27-1300-GB Data array structure Data array structure One-dimensional data arrays for TCMT1zB0/U0 These function blocks allow two stations to be connected. The “TCMT1zB0“ function block supports service 17 (send/ read fixed length RAM data), whilst “TCMT1zU0“ supports all services. Figure 3: Structure of the send and receive data array a Send data array b Receive data array...
  • Page 17: Three-Dimensional Data Arrays For Tcmt1Zu2/U5

    02/02 AWB27-1300-GB Data Arrays of the Function Blocks Three-dimensional data arrays for TCMT1zU2/U5 These function blocks allow several stations to be connected. They can perform all available services. A two-dimensional array is provided for each station so that the entire data array range is classified as three-dimensional. Offset address Receive data array (Rec_dat) Send data array (Tra_dat)
  • Page 18: Assigning The Data Array Parameters

    02/02 AWB27-1300-GB Assigning the data array parameters Assigning the data array Default parameters parameters The function blocks are supplied with default parameters for a data transfer of 20 bytes of send and receive data. These data arrays are already set up in the variable declaration of the function blocks.
  • Page 19 02/02 AWB27-1300-GB Data Arrays of the Function Blocks tra_dat Send data array rec_dat Receive data array ui_ar_daten_parameter : Array content of “ui_ar_daten_parameter”: ARRAY[5..5] Byte No. Parameter Range Default value Fixed_length 1 to 220 ui_ar_daten_parameter : Array content of “ui_ar_daten_parameter”: ARRAY[1..5] Byte No.
  • Page 20 02/02 AWB27-1300-GB Assigning the data array parameters Three-dimensional data arrays for TCMT1zU2/U5 VAR_INPUT requested_station : USINT(1..x) ; tra_dat: ARRAY[1..x, 0..255, 0..219] OF BYTE ; END_VAR VAR_OUTPUT rec_dat: ARRAY[1..x, 0..255, 0..219] OF BYTE ; END_VAR ui_ar_daten_parameter : ARRAY[0..5] OF UINT:= [004,0,0,220,220,020]; END_VAR requested_station Number of partner stations The lower limit for the variable must always be set to 1.
  • Page 21 02/02 AWB27-1300-GB Data Arrays of the Function Blocks ui_ar_daten_parameter : Array content of “ui_ar_daten_parameter”: ARRAY[0..5] Byte No. Parameter Range Default value Dfn_max 1 to 4 (32) – – Tra_sub_max 0 to 255 – Rec_sub_max 0 to 255 – Tra_dfl_max 1 to 220 –...
  • Page 22: Changing Parameters

    02/02 AWB27-1300-GB Assigning the data array parameters Changing parameters The set data array parameters can be modified in the following way: Save the function block under another name. Change the desired parameters in the variables declaration. Check your changes by checking syntax using (ALT+F10). The modified function block is available for further use in the list of application-specific function blocks.
  • Page 23 02/02 AWB27-1300-GB Data Arrays of the Function Blocks Declaration: VAR_INPUT requested_station : USINT(1..2) ; tra_dat: ARRAY[1..2, 0..0, 0..4] OF BYTE ; (*Send data array (station number, subaddresses, offset addresses)*) END_VAR VAR_OUTPUT rec_dat: ARRAY[1..2, 0..0, 0..29] OF BYTE ; (*Receive data array (station number, subaddresses, offset addresses)*) END_VAR ui_ar_daten_parameter : ARRAY[0..5] OF UINT:= [2,0,0,5,30,0];...
  • Page 24: Working With Data Arrays

    02/02 AWB27-1300-GB Working with data arrays Working with data arrays The next section describes how to read or write data arrays using the example of the send and receive data arrays of a central station. Ensure that all the array indices (subscripts) are within the limits when accessing data arrays.
  • Page 25: Reading Data Array Elements (In The User Program)

    02/02 AWB27-1300-GB Data Arrays of the Function Blocks Reading data array elements (in the user program) The content of the station “2”, subaddress “0” and offset address “3” array element of the receive data array is stored under the variable “VALUE_1”. VALUE_1 : USINT ;...
  • Page 26: Transferring Status Information

    02/02 AWB27-1300-GB Working with data arrays Transferring status information “User_status” bits are used to transfer up to four bits of information and are transferred with every service. If status changes are detected at the function block inputs “user_status_1” to “user_status_4” of the telecontrol station concerned while a service is being processed, the inputs will be automatically updated in the array of “user_status”...
  • Page 27 02/02 AWB27-1300-GB...
  • Page 28: Function Blocks

    02/02 AWB27-1300-GB 3 Function Blocks Overview The function blocks of the S40-AM-TD application module make it easier to program the data transfer between the PLC and telecontrol modules. Three types of function blocks are provided: • Dial-up function block • Telecontrol function block •...
  • Page 29: Type Code

    02/02 AWB27-1300-GB Function Blocks The function blocks with universal services provide all services available. They vary in the number of stations they support. Function blocks for Type PS4-150/ PS4-300 PS416 -200 with ... with ... with ... Para- Dial-up Tele- meters control TCMT1zB0...
  • Page 30: Installation

    02/02 AWB27-1300-GB Installation Installation Directory structure All the files of the module are on the S40-AM-TD diskette. Directory Files Content – read_me.ger read_me.eng read_me.fra VER_12B S4T1_U0 to U4 Files of the original S40-AM-TD V1.2B module. S4T01_U0 to U5 This module is described in the online manual TCD_UNI 04/00 AWB27-1300-GB (www.moeller.net...
  • Page 31: Selecting The Function Blocks

    02/02 AWB27-1300-GB Function Blocks Selecting the function blocks Install both the parameter function blocks in the form of a POU file (.POE) as well as the library file (.LIB) containing the dial-up and telecontrol function blocks. A library file is provided for every PLC type.
  • Page 32: Installation Procedure

    02/02 AWB27-1300-GB Installation Installation procedure Parameter function blocks (.POE) Copy the parameter function block TCMT1zXX.POE to the Source directory of your project. Choose ‹Edit r Register Sources› in the S40 Project Manager to register the function block. Dial-up and telecontrol function blocks (library files) Carry out the following steps to import a (library) file into your current project with the S40-NAVIGATOR: Specify the PLC type in the selection window shown in the...
  • Page 33: Integrating The Parameter Function Block In The User Program

    02/02 AWB27-1300-GB Function Blocks Integrating the parameter The following overview shows the interrelationship between function block in the user the user program and the function blocks. Some important program parameters are described. The complete description of all parameters is provided in section “Parameter function block”...
  • Page 34 02/02 AWB27-1300-GB Integrating the parameter function block in the user program “TCMT1zXX“ parameter function block Description The following settings must be made Declaration and checked: 0 = FT1.2, 1 = FT3 Frame format: BOOL:=1; Send data array tra_dat: Array[1..4(32),0..0,0..219] of BYTE; Receive data array rec_dat: Array[1..4(32),0..0,0..219] of BYTE;...
  • Page 35: Setting For Suconet Mode

    02/02 AWB27-1300-GB Function Blocks Call of the telecontrol function block CAL fb_line( X_syn_hsk:=, :=ui_cterr Setting for Suconet mode Data transfer is carried out between the PLC and the bus system in synchronous or asynchronous mode depending on the master PLC or station involved. Mode PS4-150 Synchronous...
  • Page 36 02/02 AWB27-1300-GB Integrating the parameter function block in the user program The default setting is synchronous mode. The program sequences are parenthesised as follows: (*SUCONET operation mode synchronous with PS4_200/341*) ld NKD_1 PLC_message st fb_line.x_syn_hsk (*SUCONET operation mode asynchronous with PS4_341/ PS416*) ld b_ar_modul_parameter[0].2 st fb_line.x_syn_hsk...
  • Page 37: Parameter Function Block

    02/02 AWB27-1300-GB Function Blocks Parameter function block Description of the inputs Table 2: Inputs for dialling the modem Inputs Data Value Description type range reset BOOL Sets the dial-up function block and corresponding telecontrol function block to the basic setting and initialises the modem.
  • Page 38 02/02 AWB27-1300-GB Parameter function block Table 3: Dial-up prefix settings ATD Connection establishment with dial-up character string Pulse dialling Tone dialling Special tone dial character (with Loges 64 K/M analog communication partner) Special character for tone dialling (with Westermo ID-90V90 modem) Dialling tone request (important for PABXs) Other parameters as per modem manual Waiting for dial tone recognition...
  • Page 39 02/02 AWB27-1300-GB Function Blocks Communication between all modem types is only possible if the ISDN modem with an integrated analog section is used. With modems that are solely ISDN modems, the communication partner must be run in V110 mode. Only GSM modems are suitable for this.
  • Page 40 02/02 AWB27-1300-GB Parameter function block Table 5: Inputs for the telecontrol function Inputs Data Value Description type range strobe BOOL Start of the service defined at “command”. Active only when “ready” =1 requested_station USINT 1 to x Partner station to which a connection is to be established.
  • Page 41 02/02 AWB27-1300-GB Function Blocks Inputs Data Value Description type range tra_destination_ USINT 0 to 219 Destination offset address in the case of variable offset length frames tra_flash_segment UINT 0 to 511 Segment number of the flash memory and/or RAM memory card in the partner station. Over 512 segments can be addressed with the RAM memory card (a also page 54 and 56).
  • Page 42 02/02 AWB27-1300-GB Parameter function block Example: Declaration: Test_tdata_1 AT%SDB1.1.0.0 ARRAY[1..36] Test_rdata_1 AT%RDB1.1.0.0 ARRAY[1..36] END_VAR Program: CAL abc ( strobe:=; TCM_tdata:= Test_tdata_1 TCM_rdata:= Test_rdata_1 :=modem_notify Address setting SDB/RDB 1. 1. 0. 0. 1st station (address 2) 14th station (address 15) Line number...
  • Page 43: Description Of The Outputs

    02/02 AWB27-1300-GB Function Blocks Description of the outputs Table 6: Outputs for dialling the modem Outputs Data type Description dial_active/ BOOL The outputs indicate the communication between the module dial_result and the modem (initialisation, dialling). A call from the communication partner is not indicated. This event can be detected on the “message”...
  • Page 44 02/02 AWB27-1300-GB Parameter function block Table 7: Outputs for the telecontrol station Outputs Data Description type ready BOOL As soon as the output is active, the connection is established and the telecontrol function block is ready to perform services. tra_active BOOL Indicates that a service that was initiated by the station itself is in progress.
  • Page 45 02/02 AWB27-1300-GB Function Blocks Outputs Data Description type user_status ARRAY Two-dimensional user status bit ARRAY (user_status (Station_n, user_status_n)) user_status_ 1 2 3 4 Station_1 Station_2 Station_n 1) 3) rec_clock Partner station time rec_status_array ARRAY [0]: “tra_status” value OF WORD [1]: “fixed_length”...
  • Page 46 02/02 AWB27-1300-GB Parameter function block 1) Reset on incoming or outgoing call with DCD = 1. 2) Filled with an empty string on clearing connection. 3) Updated after execution of services 20 and 21. 4) Updated on connection establishment and after execution of service 31 Read Status.
  • Page 47 02/02 AWB27-1300-GB Function Blocks dial_modem Meaning _code _message BLACKLISTED Automatic dial disable DELAYED CALL Automatic dial delay BREAK Dial abort by communication partner DISCONNECT Local disconnect CUT LINE The monitoring time set via modul_parameter[13] time_cut_line has expired and the connection was cleared. RING DETECTED Incoming call being processed UNKNOW MESSAGE...
  • Page 48: B_Ar_Modul_Parameter

    02/02 AWB27-1300-GB Parameter function block Description of the parameters of array “b_ar_modul_parameter” The parameters are defined in the following array of 20 bytes. The array is incorporated in the declaration section of the TCMT1zxx parameter function block. b_ar_modul_parameter : ARRAY[0..20] OF BYTE := (*-element-no-0---1---2---3---4---5---6---7---8---9--10--11--12--13--14--15--16--17--18--19--20*) synchronous>>...
  • Page 49 02/02 AWB27-1300-GB Function Blocks Table 9: Parameter setting Byte Parameter Function/Range Default value (a table 10) (decimal) (binary) station_type 0 = type B, 1 = type A Device_type 0 = fast (PS4-341, PS416), 1 = slow (PS4-150/-200) Suconet op_mode 0 = synchronous, 1 = asynchronous cts/gap control 0 = cts_timeout,...
  • Page 50 02/02 AWB27-1300-GB Parameter function block Byte Parameter Function/Range Default value (a table 10) (decimal) (binary) Time_clock_adjust Second Time_dial_timeout Second Time_DTR_break Second Time_cut_line Second Time_wait_repeat Second Time_system Second Time_dial_wait_max Minute tel_repeat Frame repeats if fail dial_repeat Dial repeats if no connect Table 10: Description of the parameters Parameter...
  • Page 51 02/02 AWB27-1300-GB Function Blocks Parameter Value range Description Time_gap_time 0 to 2550 ms Time for masking gaps in the receive frame. This is required when using wireless modems. A value of 50 ms must be set. Time_cts_timeout 0 to 2550 ms Timeout time for monitoring the CTS signal line if: RTS = 1 If no CTS signal is detected after this time, the send...
  • Page 52 02/02 AWB27-1300-GB Parameter function block Parameter Value range Description Time_clock_adjust 0 to 59 Time correction value in seconds for sychronising the PLC time. The value of the time received is added. It must be calculated depending on the baud rate and the signal runtime.
  • Page 53 02/02 AWB27-1300-GB Function Blocks Parameter Value range Description tel_repeat 0 to 255 Number of frame repetitions in the event of a protocol error dial_repeat 0 to 255 Number of dial attempts if no connection can be established due to the following error messages: –...
  • Page 54: Telecontrol Function Block Services

    02/02 AWB27-1300-GB Telecontrol function block services Telecontrol function After connection has been established between the stations, block services the telecontrol function blocks provide the services for data exchange between the individual telecontrol stations. They are activated by relaying the corresponding code to the “command”...
  • Page 55 02/02 AWB27-1300-GB Function Blocks Service 10: Send fixed frame length RAM data When this service is called, “fixed_length” data bytes from the “requested_station” send RAM data array from Station A are transferred to the RAM receive data array of station B. Station B Station A Offset...
  • Page 56 02/02 AWB27-1300-GB Telecontrol function block services Service 12: Send variable frame length RAM data A data segment (specified by subaddresses “tra_subaddress”, offset address “tra_source_offset” and data frame length “tra_variable_length”) from the “requested_station” RAM send data array of the central station is sent to the receive data array of the outstation. There, the data segment is stored in the receive data array in a location with coordinates “tra_subaddress”...
  • Page 57 02/02 AWB27-1300-GB Function Blocks Service 13: Send variable frame length FLASH/RAM memory card data A data segment (specified by “tra_subaddress, tra_source_offset” and “tra_variable_length”) from the RAM “requested_station” send data array of station A is sent to the “tra_flash_segment” of the Flash memory (PS4) or RAM memory card (PS416) of station B.
  • Page 58 02/02 AWB27-1300-GB Telecontrol function block services Station B Station A Flash memory (PS 4) RAM Memory Card (PS 416) (512 segments at 128 Byte) Segment Offset number RAM send data array address tra_variable_ length tra_ source_offset . . . Sub address tra_subaddress Figure 8: Service 13: Send variable frame length FLASH/RAM memory card data...
  • Page 59 02/02 AWB27-1300-GB Function Blocks Service 15: Read variable frame length RAM data A data segment (specified by subaddresses “tra_subaddress”, offset address “tra_source_offset” and data frame length “tra_variable_length”) from the RAM send data array of station B is sent to the receive data array of station A.
  • Page 60 02/02 AWB27-1300-GB Telecontrol function block services If station B is a PS416 controller, the number of segments is adjustable. The standard setting in the application module is for 512 segments. If you wish to change the number of available segments on the memory card, refer to the section entitled “Function block SetMCFileLength”...
  • Page 61 02/02 AWB27-1300-GB Function Blocks Service 17: Send/read fixed frame length RAM data When this service is called, “fixed_length” data bytes are transferred in a fixed length frame from the RAM send data array of Station A to the RAM receive data array of station B. After transfer from station A to station B, “fixed_length”...
  • Page 62 02/02 AWB27-1300-GB Telecontrol function block services Service 20: Read PLC clock – partner station When performing this service, the clock data for station B, increased by the “time_adjust” value, is relayed to station A and output at the “rec_clock” function block output of station A.
  • Page 63 02/02 AWB27-1300-GB Function Blocks Station B Station A RAM memory RAM memory Date and time Date and time Year Year Month Month lock_time:=0 Weekday Weekday Hour Hour Minute Minute Second Second rec_clock Figure 13: “lock_time” = 0: Synchronisation to PLC clock station B Service 21: Synchronising the PLC clock –...
  • Page 64 02/02 AWB27-1300-GB Telecontrol function block services Service 30: Remote reset This service can be activated only in those stations in which the “station_type” function block input has the value 1. At the same time, the partner station must be allocated a parameter value of 0.
  • Page 65 02/02 AWB27-1300-GB Function Blocks Service 33: Send information string This service is used to relay the string at the “tra_information” function block input of station A to station B and to output the “rec_information” function block output at station B. Station B Station A RAM memory...
  • Page 66: Operating Behaviour

    02/02 AWB27-1300-GB 4 Operating Behaviour Startup behaviour After a controller warm start or cold start, or after a function block reset, the interface parameters are relayed from the PLC to the module. Should the parameters contain incorrect settings (e.g. invalid transmission rate of 610 baud), the default parameters are adopted and an error message is generated (a also “Error Codes”...
  • Page 67: Connection Establishment

    02/02 AWB27-1300-GB Operating Behaviour Connection establishment After each connection has been made, the active station checks whether an identical “com_ref_n” communication reference has been entered at the partner station. Service 31 Read Status is automatically started for this purpose. Once a connection has been established and the stations have been identified, the “ready”...
  • Page 68 02/02 AWB27-1300-GB Password Service 33 – Send information string Each telecontrol station can protect itself against unauthorised access by other stations via the “lock_station” function block input. In these circumstances, all incoming services other than service 33 are rejected. Example: Station A operates as central station and station B as the partner station.
  • Page 69 02/02 AWB27-1300-GB Operating Behaviour You must activate service 33 in the controlling station via the user program. At the outstation, you must observe the following program steps. You must also make any appropriate entries in the variables declaration. lock_station AT %I0.0.0.0.0: BOOL; password : STRING:=´Model_station´;...
  • Page 70: Error Codes

    02/02 AWB27-1300-GB 5 Error Codes Dial-up function blocks Table 13 describes the error messages that may be output when the dial-up function blocks are being processed. They are indicated at the “fail_code” FB output. Table 13: Dial-up function block error codes Error code Message Meaning...
  • Page 71 02/02 AWB27-1300-GB Error Codes Error code Message Meaning COPY ERROR Copy error. An error has occurred during generation of the initialisation or dial-up string. The error number of the “TransferArray” function block is shown in “modem_code”. Check the operands “init_parameter”, “dial_praefix” and “phone_number_n”.
  • Page 72: Telecontrol Function Blocks

    02/02 AWB27-1300-GB Telecontrol function blocks Telecontrol function The error codes are displayed via the “fail_code” function blocks block output. Local error messages Table 14 describes the local error messages that may be output whilst the telecontrol function blocks are being processed.
  • Page 73 02/02 AWB27-1300-GB Error Codes Error code Meaning Data length or offset address incorrect The addition of the parameters entered at the “tra_variable_length” and “tra_source_offset” and “tra_destination_offset” function block inputs exceeds the value entered in the variable declaration for the constants “tra_dfl_max or “rec_dfl_max”...
  • Page 74: Error Codes Of The Partner Station

    02/02 AWB27-1300-GB Telecontrol function blocks Error code Meaning Timeout CTS signal The modem does not respond to the RTS signal of the telecontrol module. Check the functional reliability of the connected modem and of the connecting lead. Timeout error The telecontrol partners are not responding. Communication error The data received by the station is unintelligible.
  • Page 75 02/02 AWB27-1300-GB Error Codes Error code Meaning Time access disabled (“lock_time”) The “lock_time” function block input is activated in the partner station. The station will perform service 21 whereupon the system clock of the partner station will be overwritten. Select another service to be performed at the partner station or deactivate the “lock_time”...
  • Page 76 02/02 AWB27-1300-GB Telecontrol function blocks Error code Meaning Service not enabled The service 30 performed is rejected by the partner station because the “stationtype” function block input of the partner station has been assigned 0 value. Frame sequence bit error The frame sequence bit is used to prevent communication loss or message duplication.
  • Page 77 02/02 AWB27-1300-GB...
  • Page 78: Data Transmission Example

    02/02 AWB27-1300-GB 6 Data Transmission Example The following example shows the PS416 (active station) dialling a PS4-200 (passive station) via modem and dial-up line. The PS416 executes service 17: Send/read fixed frame length RAM data The input and output signals are shown on the relevant function (parameter) function blocks for this sequence.
  • Page 79 02/02 AWB27-1300-GB Data Transmission Example When the program is started or the function block reset, the status display shows the input and output signals in their basic setting. After the first service has been executed, the signals have the following form. Key to figure 18: dial: a Inputs...
  • Page 80: Glossary

    02/02 AWB27-1300-GB Glossary Application module Application modules are programs or parts of a program for the PLC or PC that support a function or completely execute a function in an application. They provide ready-made solutions for different applications. Asymmetrical configuration Configurations of telecontrol stations consisting of primary and secondary stations are referred to as asymmetrical configurations.
  • Page 81 02/02 AWB27-1300-GB Glossary Handshake A defined sequence of signals for setting up and checking a connection. ISO/OSI The ISO/OSI model describes a model for classifying data transmission and processing between two computers. Modem Abbreviation for “Modulator demudolator”. A device which converts digital signals into analogue signals and vice versa.
  • Page 82: Index

    02/02 AWB27-1300-GB Index Adapting modem parameters ......35 Address setting ............39 Application field, application module .....5 Asynchronous mode ..........32 Basic function blocks ...........25 Basic settings ............15 Central station .............19 Communication, between modem types ....36 Connection establishment ........64 Data array access ..........22 Fixed length frames ........22 Variable length frames .........22 Data array elements...
  • Page 83 02/02 AWB27-1300-GB Index Error codes ............67 Dial-up function blocks ........67 Telecontrol station ........69 Function blocks ...........25 Glossary ..............77 GSM modem ............36 Hardware requirements ......... 7 Importing the library ...........29 Initialisation parameters ........35 Initialisation string ..........35 Installation, parameter function block ....28 ISDN modem ............36 Modem dialling Description of the inputs ......34...
  • Page 84 02/02 AWB27-1300-GB Index Parameter function block ........25 Description of the inputs ......34 Description of the outputs ......40 File ...............27 Installation ...........28 Settings ............31 Type code .............26 Partner station .............20 Password .............64 POU file ...............28 Service 10: Send fixed frame length RAM data ..52 Service 13: Send variable frame length FLASH/RAM memory card data ......54 Service 15: Read variable frame length...
  • Page 85 02/02 AWB27-1300-GB Index TCM_rdata ............38 TCM_tdata ............38 Telecontrol function Description of the inputs ......37 Description of the outputs ......41 Telecontrol function block ........25 Telecontrol station, setup ........5 Telecontrol system, setup ........6 Three-dimensional data arrays ......14 Transferring status information ......23 Type code ............26 Type code, parameter function blocks ....26 Universal function blocks ........26 User_status bits ..........23...

Table of Contents