User Manual


Add to my manuals
122 Pages

advertisement

User Manual | Manualzz
User Manual
for the Controllers S56, S57, S59 and S67,
for the Display Unit S83010 and for the
Configuration-Software S57901
User Manual
for the Controllers S56, S57, S59 and S67,
for the Display Unit S83010 and for the
Configuration-Software S57901
Important Notice
Copyright © 1991 - 1999 by SEAL AG.
SEAL warrants that the product sold pursuant to any
resultant agreement shall be free from defects in material
or workmanship at the time of delivery. Such warranty
shall extend for one (1) year, unless specified otherwise,
beginning from the date of shipment. The buyer must
provide notice to SEAL within this prescribed warranty
period of any defect. If the defect is not the result of
improper usage, service, maintenance or installation and
the equipment has not been otherwise damaged or
modified after delivery, SEAL shall either replace or
repair the defective part or parts of equipment or replace
the equipment. Shipment to SEAL’s facility shall be
borne on account of the buyer, including all duties, fees,
brokerage and special handling charges. Shipment from
SEAL’s facility shall be borne by SEAL.
All rights reserved.
SEAL PROVIDES THIS PUBLICATION “AS IS”
WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. SEAL may revise this
publication from time to time without notice.
Motorola is a registered trademark of Motorola, Inc.
Apollo is a registered trademark of Apollo Computer Inc.,
a subsidiary of Hewlett-Packard Company.
Hewlett-Packard is a registered trademark of HewlettPackard Company.
IBM and PC are registered trademarks of International
Business Machines Corporation.
Intel is a registered trademark of Intel Corporation.
Microsoft, MS, MS-DOS, are registered trademarks and
Windows is a trademark of Microsoft Corporation.
S57901, S5701, SLink, are trademarks of SEAL AG.
UNIX is a registered trademark of AT&T Bell
Laboratories.
SEAL SHALL NOT BE LIABLE FOR ANY
INCIDENTAL OR CONSEQUENTIAL DAMAGES
INCURRED AS A RESULT OF ANY DEFECT IN ANY
EQUIPMENT SOLD HEREUNDER AND SEAL’s
LIABILITY IS SPECIFICALLY LIMITED TO ITS
OBLIGATION DESCRIBED HEREIN TO REPAIR OR
REPLACE DEFECTIVE PARTS COVERED BY THIS
WARRANTY.
Printed in Switzerland
DO-99.05-S57901-UM-E
SEAL AG
PO-Box 2103
CH-5430 Wettingen 2
Table of Content
Table of Content
CHAPTER 1
v
List of Figures
xi
List of Tables
xiii
Introduction
1-1
1.1 Installation and Operation of S5701 1-2
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
Input/Output Connection
Field Bus 1-2
Dip Switch 1-3
Power Connection 1-3
PC Connection 1-3
Operating 1-4
1-2
1.2 Installation and Operation of S5703
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1-5
Input/Output Connection 1-5
Field Bus 1-7
PC Connection 1-7
Power Connection 1-8
Position on the Field Bus 1-8
Operating 1-8
S57901 User Manual
v
Table of Content
1.3 Installation and Operation of S5611C
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
Input- and Output Connections
Field Bus 1-10
Power Supply 1-10
Configuration 1-11
Operation 1-11
Serial Interfaces 1-12
1-10
1-10
1.4 Installation and Operation of S5611D with integrated Display
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
Input- and Output Connections
Field Bus 1-13
Power Supply 1-13
Configuration 1-14
Operation 1-14
Serial Interfaces 1-15
1-13
1.5 Installation and Operation of S5612
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
Input- and Output Connections
Field Bus 1-16
Power Supply 1-16
ISDN Connection 1-16
Usage 1-16
Configuration 1-17
PC Connection 1-17
Software Configuration 1-17
1-16
1-16
1.6 Installation and Operation of S5614
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7
1.6.8
Input- and Output Connections
Field Bus 1-18
Power Supply 1-18
ISDN Connection 1-18
Ethernet 1-18
Configuration 1-19
PC Connection 1-19
Software Configuration 1-19
1-18
1-18
1.7 Installation and Operation of S5651 1-20
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
Inputs and Outputs 1-20
Power Supply 1-20
Operation 1-20
Field Bus 1-21
Configuration of the Digital Inputs
1-21
1.8 Installation and Operation of S5661 1-22
1.8.1
1.8.2
1.8.3
1.8.4
Input- and Output Connections
Field Bus 1-23
Power Supply 1-23
Operation 1-23
1-22
1.9 Installation and Operation of S5671 1-24
1.9.1
1.9.2
1.9.3
1.9.4
Input- and Output Connections 1-24
Field Bus, Configuration 1-25
Power Supply 1-25
Operation 1-25
1.10 Installation and Operation of S5681 1-26
1.10.1
1.10.2
1.10.3
1.10.4
vi
Input- and Output Connections 1-26
Field Bus, Configuration 1-27
Power Supply 1-27
Operation 1-27
S57901 User Manual
1-13
Table of Content
1.11 Installation and Usage of S9704
1.11.1
1.11.2
1.11.3
1.11.4
1.11.5
1.11.6
1.12 S5500 Field Bus Card for PC
1.13 General Field Bus Information
1.14 Modem Usage
CHAPTER 2
1-31
1-32
1-33
1.15 Device Capabilities
1.15.1
1.15.2
1.15.3
1.15.4
1-28
Power Supply 1-28
Field Bus 1-28
PC Connection 1-28
ISDN Connection 1-28
Usage 1-29
Configuration of S9704 1-30
1-34
Running User Programs 1-34
Data Buffering 1-34
Output Buffers 1-34
Time Dependent Running of Program Segments
Function Block Description
2.1 Input/Output Functions
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2-1
2-1
Counter Input for Quadratur-Decoder
Analog Input, User Specified 2-2
Fieldbus Input 2-2
Fieldbus Output 2-2
Serial Input 2-3
Serial Output 2-3
2.2 Logical Functions
1-34
2-2
2-4
Logical AND 2-4
Logical NAND 2-4
Logical OR 2-4
Logical NOR 2-5
Logical EXOR 2-5
Logical EXNOR 2-5
Logical NOT 2-6
Logical AND with 4 or 8 Inputs 2-6
Logical OR with 4 or 8 Inputs 2-6
2.3 Flip Flops 2-7
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
SR Flip Flop 2-7
JK Flip Flop 2-7
D Flip Flop 2-7
T Flip Flop 2-7
Monostable Flip Flop 2-8
SR Flip Flop without Clock
2.4 Further Digital Functions
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
2-8
2-9
Digital Constant 2-9
Digital Delay 2-9
Pulse Generator 2-9
System Time Switch 2-10
Timer 2-10
Cron Switch 2-10
Digital Delay for Switching ON 2-11
Digital Delay for Switching OFF 2-11
Flow Control 2-11
S57901 User Manual
vii
Table of Content
2.5 System Near Functions
2.5.1
2.5.2
2.5.3
2.5.4
2-12
System Reset 2-12
Start of Another Segment
Alarm 2-13
Power On Pulses 2-13
2.6 Mathematical Functions
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
2.6.7
2.6.8
2.6.9
2.6.10
2.6.11
2.6.12
2.6.13
2.6.14
2.6.15
2.6.16
2.6.17
2.6.18
viii
2-25
Enable 2-25
Analog Switch 2-25
Minimum with Enable 2-25
Maximum with Enable 2-26
Soft Switch 2-26
2.10 Regulators
2.10.1
2.10.2
2.10.3
2.10.4
2.10.5
2.10.6
2.10.7
2.10.8
2-21
Greater Than 2-21
Greater or Equal 2-21
Equal 2-21
Less or Equal 2-22
Less Than 2-22
Not Equal 2-22
Compare with Hysteresis 2-23
Minimum 2-23
Maximum 2-23
Limiter 2-24
Storage of Extreme Values 2-24
2.9 Switches
2.9.1
2.9.2
2.9.3
2.9.4
2.9.5
2-19
Digital Multiplexer 2-19
Digital Demultiplexer 2-19
Analog Multiplexer 2-19
Analog Demultiplexer 2-20
2.8 Compare Functions
2.8.1
2.8.2
2.8.3
2.8.4
2.8.5
2.8.6
2.8.7
2.8.8
2.8.9
2.8.10
2.8.11
2-14
Addition 2-14
Subtraction 2-14
Multiplication 2-14
Division 2-14
Linear Transformation 2-15
Logarithm 2-15
Sine 2-15
Cosine 2-15
Square Root 2-16
Square 2-16
Arcus Tangens 2-16
Absolute Value 2-16
Analog Constant 2-17
Differenciator 2-17
Exponential Function with Base as Variable 2-17
Exponential Function with Constant Base 2-17
Integer Value of an Analog Variable 2-18
Calculation in Dependence of Digital Input 2-18
2.7 Multiplexer Functions
2.7.1
2.7.2
2.7.3
2.7.4
2-12
2-27
PID Regulator 2-27
PID Regulator with Enable I and D
Parametric PID Regulator 2-28
2 Point PID Regulator 2-28
3 Point PID Regulator 2-28
PI Regulator 2-29
PI Regulator with Enable I 2-29
Parametric PI Regulator 2-29
S57901 User Manual
2-27
Table of Content
2.11 General Functions
2.11.1
2.11.2
2.11.3
2.11.4
2.11.5
2.11.6
2.11.7
2.11.8
2.11.9
2.11.10
2.11.11
2.11.12
2.11.13
2.11.14
2.11.15
2.11.16
2.11.17
2.11.18
2.11.19
2.11.20
2.11.21
2.11.22
2.11.23
2-30
Counter 2-30
Analog Delay 2-30
Analog Shift Register 2-30
Analog Dual-Port Shift Register / Stack 2-31
Digital Shift Register 2-31
Interpolation 2-32
Parametric Interpolation Type 1 2-32
Parametric Interpolation Type 2 2-32
Radius 2-33
Slope 2-33
Slope Type 2 2-33
Integrator 2-34
Limited Slope 2-34
Filter 2-35
Analog Digital Converter 2-35
Function Generator 2-36
Rounding 2-36
Operating Time Counter 2-36
Calendar 2-37
LED-Controller 2-37
Advanced Analog-/Digital-Counter 2-38
Up-/Down Counter with Limit 2-38
Digital Analog Converter 2-39
2.12 Functions for Communication
2.12.1
2.12.2
2.12.3
2-40
Message 2-40
Display Control for S5614 2-41
Display of Constant Texts for S5614
2.13 ISDN Communication Functions
2.13.1
2.13.2
2.13.3
2.13.4
2.13.5
CHAPTER 3
Configuration of the ISDN Interface 2-43
State of an ISDN Channel 2-43
Exchange of Digital Data 2-44
Exchange of Analog Data 2-45
Charges of an ISDN Connection 2-46
Programming
3-1
3.1 Hardware Requirements
3.2 Getting Started
3-2
Project 3-2
Configuration 3-2
Program 3-3
Perform 3-4
Options 3-4
3.4 Program Editor
3-4
3.5 Buffer Functions
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3-1
3-1
3.3 Programming Manager
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
2-42
2-43
3-7
File Format 3-7
Load Buffer 3-7
Display Buffer File 3-7
Edit Buffer File 3-7
Send Buffer 3-8
3.6 An Example Program
S57901 User Manual
3-8
ix
Table of Content
3.7 Time Dependent Starting of Program Segments
3.8 Files of S57901 Software
CHAPTER 4
Display S83010
4.1 Installation
4.1.1
4.1.2
4.1.3
3-12
4-1
4-1
Power Connection 4-1
PC and Controller Connection
LEDs 4-2
4.2 Programming of S83010
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
File 4-3
Object 4-3
Page 4-5
Edit 4-5
Perform 4-5
Restricted Usage
4-2
4-5
4.3 Using the Display S83010
4.3.1
4.3.2
4-5
Main Menu 4-5
User Program 4-5
Technical Specifications
x
4-2
S57901 User Manual
I
3-11
List of Figures
FIGURE 1
S5701: Connector Panel
FIGURE 2
S5701: LED Indicators
FIGURE 3
S5701: Dip Switch Usage
FIGURE 4
S5703: Connector Panel, Inputs and Outputs
FIGURE 5
S5703: Digital Inputs and Outputs
FIGURE 6
S5703: Connector Panel, Field Bus and Power
FIGURE 7
S5703: LED Indicators
FIGURE 8
S5703: Connectors and Switches
FIGURE 9
S5703: Dip Switch Usage
1-9
FIGURE 10
S5611C: DIN Connector
1-10
FIGURE 11
S5611C: Configuration of Inputs and Outputs
FIGURE 12
S5611C: LED Display
FIGURE 13
S5611D: DIN Connector
FIGURE 14
S5611D: Configuration of Inputs and Outputs, Connectors
FIGURE 15
S5611D: LED Display
FIGURE 16
S5612: Connectors, Inputs, Outputs, Field Bus, Power
FIGURE 17
S5612: Jumper Configuration
FIGURE 18
S5614: Connectors, Inputs, Outputs, Field Bus, Power
FIGURE 19
S5614: Jumper Configuration
FIGURE 20
S5651: Input- and Output Connector
FIGURE 21
S5651: Address Selection
S57901 User Manual
1-2
1-4
1-4
1-5
1-6
1-7
1-8
1-8
1-11
1-11
1-13
1-14
1-14
1-16
1-17
1-18
1-19
1-20
1-21
xi
xii
FIGURE 22
S5651: Configuration of Digital Inputs
FIGURE 23
S5661: Connector
FIGURE 24
S5661: Address Selection
FIGURE 25
S5671: Connector
FIGURE 26
S5671: Address- and Input Configuration
FIGURE 27
S5681: Connector
FIGURE 28
S5681: Address- and Output Configuration
FIGURE 29
S9704: LED Display
FIGURE 30
Configuration and Connections of the S5500 Field Bus Card
FIGURE 31
Examples to select a Buffer Format
FIGURE 32
Programming Manager Window
FIGURE 33
Configuration Window
FIGURE 34
PC Configuration
FIGURE 35
Configuration of a Device
FIGURE 36
The Example Program
FIGURE 37
S83010: Power Connection
FIGURE 38
Configuration of the display unit S83010
S57901 User Manual
1-21
1-22
1-23
1-24
1-25
1-26
1-27
1-29
1-34
3-2
3-8
3-9
3-9
3-10
4-1
4-3
1-31
List of Tables
TABLE 1
S5701: Connection of Counters (Quadrature Decoder)
TABLE 2
S5701: Baud Rates
TABLE 3
S5701: Female RS232 Connector, Pin Description
TABLE 4
S5701: Male RS232 Connector, Pin Description
TABLE 5
S5703: Digital I/O Connections
TABLE 6
S5703: Counter Inputs
TABLE 7
S5703: Female RS232 Connector, Pin Description
TABLE 8
S5703: Male RS232 Connector, Pin Description
TABLE 9
S5611C: Description of the Connector Pins
TABLE 10
S5611C: female RS232 Connector, Pin Description
TABLE 11
S5611C: male RS232 Connector, Pin Description
TABLE 12
S5611D: Description of the Connector Pins
TABLE 13
S5611D: female RS232 Connector, Pin Description
TABLE 14
S5611D: male RS232 Connector, Pin Description
TABLE 15
S5612: RS232 Connectors
1-17
TABLE 16
S5614: RS232 Connectors
1-19
TABLE 17
S5651: Description of Connector Pins
TABLE 18
S5661: Pin Description
1-22
TABLE 19
S5671: Pin Description
1-24
TABLE 20
S5681: Pin Description
1-26
TABLE 21
S9704: RS232 Connectors
S57901 User Manual
1-2
1-3
1-3
1-3
1-5
1-6
1-7
1-7
1-10
1-12
1-12
1-13
1-15
1-15
1-20
1-28
xiii
TABLE 22
S9704: ISDN Connector
1-28
TABLE 23
S9704: LED Display
TABLE 24
Wiring to connect a modem to a controller
1-33
TABLE 25
S83010: RS232 Connector Pin Description
4-2
1-29
CHAPTER 1
Introduction
This manual contains general information to make you familiar with the capabilities and
operation of the SEAL S56, S57 and S97 devices. These are programmable industrial
controllers with an expandable number of inputs and outputs. You can connect one or
more of the devices S5701 or S5703 to one or more input/output devices from the
SEAL S59xx series using the same field bus. The used field bus is the redundant
twisted pair token bus, as specified in the IEEE 802.4 standard.
The controllers S5610, S5611, S5612 and S5614 support extension devices of the
S56 series with an RS485 field bus.
The use of this programmable controller with the software S57901 requires no programming knowledge.
The display unit S83010 Industrial Terminal may be used to control any of the master
devices and is described in the last chapter. It may also be programmed by the software
described in this manual.
S57901 User Manual
1-1
Introduction
1.1 Installation and Operation of S5701
The connector panel provides the connections for input/outputs, the twisted pair field
bus and the power supply. The device features also two 25-pin RS232 connectors; the
female connector is used for the connection to the PC.
1.1.1 Input/Output Connection
FIGURE 1
+DC
GROUND
AnIn 8 +
AnIn 8 AnIn 9 +
AnIn 9 AnIn 10 +
AnIn 10 AnIn 11 +
AnIn 11 AnIn 12 +
AnIn 12 AnIn 13 +
AnIn 13 AnIn 14 +
AnIn 14 AnIn 15 +
AnIn 15 - 15V
- 15V
GND
GND
GND
GND
GND
GND
GND
GND
DigIn 4 +
DigIn 4 DigIn 5 +
DigIn 5 DigIn 6 +
DigIn 6 DigIn 7 +
DigIn 7 DigOut 4 a
DigOut 4 c
DigOut 4 b
DigOut 5 a
DigOut 5 c
DigOut 5 b
DigOut 6 a
DigOut 6 c
DigOut 6 b
DigOut 7 a
DigOut 7 c
DigOut 7 b
• 51
• 52
• 53
• 54
• 55
• 56
• 57
• 58
• 59
• 60
• 61
• 62
• 63
• 64
• 65
• 66
• 67
• 68
• 69
• 70
• 71
• 72
• 73
• 74
• 75
• 76
• 77
• 78
• 79
• 80
• 81
• 82
• 83
• 84
• 85
• 86
• 87
• 88
• 89
• 90
• 91
• 92
• 93
• 94
• 95
• 96
• 97
• 98
• 99
• 100
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
AnIn 0 +
AnIn 0 AnIn 1 +
AnIn 1 AnIn 2 +
AnIn 2 AnIn 3 +
AnIn 3 AnIn 4 +
AnIn 4 AnIn 5 +
AnIn 5 AnIn 6 +
AnIn 6 AnIn 7 +
AnIn 7 + 15V
+ 15V
AnaOut 0
AnaOut 1
AnaOut 2
AnaOut 3
AnaOut 4
AnaOut 5
AnaOut 6
AnaOut 7
DigIn 0 +
DigIn 0 DigIn 1 +
DigIn 1 DigIn 2 +
DigIn 2 DigIn 3 +
DigIn 3 DigOut 0 a
DigOut 0 c
DigOut 0 b
DigOut 1 a
DigOut 1 c
DigOut 1 b
DigOut 2 a
DigOut 2 c
DigOut 2 b
DigOut 3 a
DigOut 3 c
DigOut 3 b
TBC A
TBC A
TBC B
TBC B
The connector panel shows how to connect inputs and outputs to the device.
S5701: Connector Panel
The following table shows how to use the counter inputs:
TABLE 1
Channel A
Channel B
Reset (if Jumper set)
Counter 1
Dig In 0
Dig In 1
Dig In 4
Counter 2
Dig In 2
Dig In 3
Dig In 5
S5701: Connection of Counters (Quadrature Decoder)
1.1.2 Field Bus
The field bus (TBC) connection is also done according to the connector panel. The
redundant field bus capability is not supported in the current software version of the
S5701 device. The communication channel A has to be used. The field bus connection
is polarity independent.
The lower 5 bits of the field bus address are set by the switch SW1. The address bit 0 is
always zero. Switch 1.1 is address bit 1, switch 1.2 address bit 2 etc. If all address bits
00 - 05 are set to zero (all switches off), your S5701 device makes a hard reset every
time after power on. The user program and buffer contents will be lost after power off in
this case! If the field bus is not in use, these 5 switches must be set to 1 to avoid loss of
user program and in the software the address of the device must be set to 1.
1-2
S57901 User Manual
Installation and Operation of S5701
1.1.3 Dip Switch
Bits 7 and 8 are used to select the speed of the serial interfaces B (male) and A (female),
respectively:
TABLE 2
switch
0
1
SW1.7 (B)
9600 Baud
2400 Baud
SW1.8 (A)
9600 Baud
2400 Baud
S5701: Baud Rates
1.1.4 Power Connection
The power supply (9-40VDC) has to be connected to the connector panel. It is very
important to avoid false polarity, as this will cause damage to the controller.
1.1.5 PC Connection
The female 25-pin connector has to be used for this purpose.
TABLE 3
Pin
RS232
V.24
Direction
Description
1
AA
101
Both
Protective Ground
2
BA
103
To S5701
Receive Data
3
BB
104
From S5701
Transmit Data
4
CF
109
To S5701
CD - only for Modems (Modem Pin 8)
5
CD
108
From S5701
DTR - only for Modems (Pin 4 and 20)
6
CC
107
From S5701
470 Ohm pull up to 12V
7
AB
102
Both
Signal Ground
8
CF
109
From S5701
470 Ohm pull up to 12V
S5701: Female RS232 Connector, Pin Description
For the connection to the PC, only pins 2, 3 and 7 are needed. Select the proper baud
rate (usually 9600 Baud) according to Figure 9 on page 1-9. To connect a modem, pin 4
has to be connected to pin 8 of the modem (CD) and pin 5 has to be connected to
modem pins 4 and 20 (RTS and DTR).
The male 25-pin connector is used to connect extension modules S59xxE:
TABLE 4
Pin
RS232
V.24
Direction
Description
1
AA
101
Both
Protective Ground
2
BA
103
From S5701
Transmit Data
3
BB
104
To S5701
Receive Data
7
AB
102
Both
Signal Ground
S5701: Male RS232 Connector, Pin Description
S57901 User Manual
1-3
Introduction
1.1.6 Operating
1.1.6.1
LED Indicators
The LEDs indicate the state of the SEAL S5701 device.
FIGURE 2
l green
l green
device is running
user program is active
l yellow
l yellow
communication to PC or S83010
communication to field bus
l red
l red
watch dog active (error)
hardware failure
l green
l green
l green
l green
l green
l green
l green
l green
l green
l green
not used
not used
digital output 7
digital output 6
digital output 5
digital output 4
digital output 3
digital output 2
digital output 1
digital output 0
S5701: LED Indicators
1.1.6.2
Reset
If any problems with the SEAL S5701 device arise, a “hard reset” can be made. After a
hard reset all memory (buffers, user program) will be completely cleared.
To “hard reset” the device set all the address switches to zero before turning on the
power.
1.1.6.3
Address and Baud Rates
The field bus address and the baud rates for the serial communications ports have to be
selected by the dip switch.
0
1
1
2
3
Field bus address bits 1-5
4
5
6
S59xxE at COM2
7
Baud rate for male connector
9600 Baud
8
Baud rate for female connector (PC)
2400 Baud
FIGURE 3
S5701: Dip Switch Usage
1-4
S57901 User Manual
Installation and Operation of S5703
1.2 Installation and Operation of S5703
Two connectors provide the connections for input/outputs. The twisted pair field bus
and the power supply are connected to separate connectors. The device features also two
25-pin RS232 connectors; both connectors may be used for the connection to the PC,
but only the female connector allows to load additional firmware. Modem features are
supported by the female connector while the extension modules S59xxE may be connected to the male connector.
1.2.1 Input/Output Connection
The connector panel shows how to connect inputs and outputs to the device.
Output Jumper:
TABLE 5
AO0 AO2 AO4 AO6
AO1 AO3 AO5 AO7
DI_A
DI_B
DI_C
DI_D
DI_E
DI_F
DI_G
DI_H
DO_A
DO_B
DO_C
DO_D
DO_E
DO_F
DO_G
DO_H
DI1
DI3
DI5
DI7
DI9
DI11
DI13
DI15
DO1
DO3
DO5
DO7
DO9
DO11
DO13
DO15
AI1+
AI1AI4+
AI4AI7+
AI7AI10+
AI10AI13+
AI13GND
GND
AO1+
AO3+
AO5+
AO7+
X2
32
X1
2
32
D B Z
AI2+
AI2AI5+
AI5AI8+
AI8AI11+
AI11AI14+
AI14GND
GND
+12V
-12V
+10V
-10V
2
D B Z
FIGURE 4
Voltage
Current
DI0
DI2
DI4
DI6
DI8
DI10
DI12
DI14
DO0
DO2
DO4
DO6
DO8
DO10
DO12
DO14
AI0+
AI0AI3+
AI3AI6+
AI6AI9+
AI9AI12+
AI12AI15+
AI15+
AO0+
AO2+
AO4+
AO6+
Input Jumper if CURRENT!
S5703: Connector Panel, Inputs and Outputs
Common
Input
Inputs
Common
Output
Outputs
DI_A
DI0, DI1
DO_A
DO0, DO1
DI_B
DI2, DI3
DO_B
DO2, DO3
DI_C
DI4
DO_C
DO4, DO5
DI_D
DI5, DI6, DI7
DO_D
DO6, DO7
DI_E
DI8, DI9
DO_E
DO8, DO9
DI_F
DI10, DI11
DO_F
DO10, DO11
DI_G
DI12, DI13
DO_G
DO12, DO13
DI_H
DI14, DI15
DO_H
DO14, DO15
S5703: Digital I/O Connections
S57901 User Manual
1-5
Introduction
The following table shows the usage of the counter inputs:
TABLE 6
Pulses (n)
Velocity (n/s)
Channel A
Channel B
Reset
(Jumper)
Type of Counter
Counter 0
Counter 2
Dig In 0
Dig In 1
Dig In 4
Incremental
Counter 1
Counter 3
Dig In 2
Dig In 3
Dig In 5
Incremental
Counter 4
Counter 8
Dig In 6
Software
Counter 5
Counter 9
Dig In 7
Software
Counter 6
Counter 10
Dig In 8
Software
Counter 7
Counter 11
Dig In 9
Software
Counter 12
Dig In 10
Software
Counter 13
Dig In 11
Software
Counter 14
Dig In 12
Software
Counter 15
Dig In 13
Software
S5703: Counter Inputs
The incremental decoder inputs may count up to 1 MHz. The software counters may
count up to half the cycle frequency (500 Hz at 1 ms). If the counters 0/2 or 1/3 are
selected as pulse counters each edge will be counted twice; counters 4 to 15 count only
rising edges.
Below the wiring of the digital I/Os is shown:
DI_0 .. DI_15
2k4
Inputs
S5703 / S5703P:
DI_A .. DI_H
S5703
10
Load
DO_0 .. DO_15
Outputs S5703:
DO_A .. DO_H
10
Load
DO_0 .. DO_15
Outputs S5703P:
FIGURE 5
S5703: Digital Inputs and Outputs
1-6
S57901 User Manual
DO_A .. DO_H
Installation and Operation of S5703
1.2.2 Field Bus
FIGURE 6
V-
V+
GND
B-
B+
A-
A+
The field bus (TBC) connection is done using the 5-pin connector. The redundant field
bus capability is not supported in the current software version of the S5703 device. The
communication channel A has to be used. The field bus connection is polarity independent.
S5703: Connector Panel, Field Bus and Power
The field bus address is set by the switch SW1. The address bit 0 is always zero. Switch
1.8 is address bit 1, switch 1.7 address bit 2 etc. If the fieldbus is not used, all bits of
switch SW1 have to be set to 1 an in the software address 1 has to be selected.
1.2.3 PC Connection
The female 25-pin connector has to be used for this purpose.
TABLE 7
Pin
RS232
V.24
Direction
Description
1
AA
101
Both
Protective Ground
2
BA
103
To S5703
Receive Data
3
BB
104
From S5703
Transmit Data
4
CF
109
To S5703
CD - only for Modems (Modem Pin 8)
5
CD
108
From S5703
DTR - only for Modems (Pin 4 and 20)
6
CC
107
From S5703
470 Ohm pull up to 12V
7
AB
102
Both
Signal Ground
8
CF
109
From S5703
470 Ohm pull up to 12V
S5703: Female RS232 Connector, Pin Description
For the connection to the PC, only pins 2, 3 and 7 are needed. To connect a modem, pin
4 has to be connected to pin 8 of the modem (CD) and pin 5 has to be connected to
modem pins 4 and 20 (RTS and DTR). Select the proper baud rate (usually 9600 Baud)
according to Figure 9 on page 1-9. The male 25-pin connector is used to connect extension modules S59xxE:
TABLE 8
Pin
RS232
V.24
Direction
Description
1
AA
101
Both
Protective Ground
2
BA
103
From S5701
Transmit Data
3
BB
104
To S5701
Receive Data
7
AB
102
Both
Signal Ground
S5703: Male RS232 Connector, Pin Description
S57901 User Manual
1-7
Introduction
1.2.4 Power Connection
The power supply (15-35VDC) has to be connected to the 2-pin connector.
1.2.5 Position on the Field Bus
Each SEAL S5703 or SEAL S59xx device can take any position on the field bus.
1.2.6 Operating
1.2.6.1
LED Indicators
The LEDs indicate the state of the SEAL S5703 device.
FIGURE 7
l green
l green
device is running
user program is active
l yellow
l yellow
communication to PC or S83010
communication to field bus
l red
l red
firmware checksum error
no firmware loaded
l green
l green
l yellow
l yellow
l yellow
l yellow
l green
l green
l green
l green
input
output
I/O indicator 0
I/O indicator 1
I/O indicator 2
I/O indicator 3
cycle violation 0
cycle violation 1
cycle violation 2
cycle violation 3
S5703: LED Indicators
The I/O indicator LEDs show the address of the currently displayed input and output in
the binary format from 0 to 15 with indicator 0 as the LSB and indicator 3 as the MSB.
The cycle violation LEDs display the number of additional cycles necessary to calculate
the user software (if any).
COM 1
COM 2
SW2
SW1
Reset Counter
01
X1
FIGURE 8
S5703: Connectors and Switches
1-8
S57901 User Manual
Jumper at left: Incrementalencoder-Input
Jumper at right: Counter at Channel A
X2
X3
X4
Installation and Operation of S5703
1.2.6.2
Dipswitches
The upper dipswitches have to be used to select the baud rates for the serial communications ports, to disable the loaded firmware and to select the cycle time.
500µs
Extended Firmware
Male Connector Usage
Cycle Time
Baud rate for male connector
Baud rate for female connector
top switch:
1ms
2ms
Cycle Time
3ms
1
4ms
8
7
6
5
4
3
2
1
0
5ms
10ms
2400 Baud
15ms
9600 Baud
S59xxE
20ms
Like Female
30ms
Disabled
User Program Cleared
40ms
Enabled
50ms
100ms
200ms
bottom switch:
300ms
400ms
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Bit 8
Fieldbus-Address
FIGURE 9
7
8
6
4
5
3
1
2
8
7
6
5
4
3
2
1
0
0 1
1
p.e. Fieldbus-Address 8:
S5703: Dip Switch Usage
The field bus address has to be selected by the second dipswitch. If no field bus is
installed, this switch must be entirely switched to 0 or 1, selecting address 0 or 255.
S57901 User Manual
1-9
Introduction
1.3 Installation and Operation of S5611C
All inputs and outputs, the power supply and the field bus are connected to a 48-pol.
DIN connector.
2
32
D B Z
FB
FB
IRef0
IRef1
IRef2
IRef3
DO_P0
DO_P1
DO_P2
DO_P3
DI_0DI_0+
DI_3DI_3+
DI_6DI_6+
AO_0 GROUND
AO_1 GROUND
AI_0
GROUND
GROUND
AI_1
AI_2
GROUND
AI_3
GROUND
DO_W0 DO_A0
DO_W1 DO_A1
DO_W2 DO_A2
DO_W3 DO_A3
DI_1- DI_2DI_1+ DI_2+
DI_4- DI_5DI_4+ DI_5+
DI_7- Power DI_7+ Power +
1.3.1 Input- and Output Connections
FIGURE 10
TABLE 9
S5611C: DIN Connector
Pin
Description
FB
Fieldbus, polarity independent
AO
Analog Output
GROUND
Ground
AI
Analog Input
IRef
Current Reference (Pt100 or Pt1000)
DO_A
Digital Output, active
DO_W
Digital Output, root
DO_P
Digital Output, passive
DI+, DI-
Digital Input, galvanically insulated
Power
Supply Voltage, 12 - 24VDC
S5611C: Description of the Connector Pins
1.3.2 Field Bus
The field bus has to be connected as described above. The polarity of the cable does not
matter. The address of S5611C is always 1.
1.3.3 Power Supply
The supply voltage (12-24VDC) has to be connected to the 48-Pol. connector, too.
1-10
S57901 User Manual
Installation and Operation of S5611C
1.3.4 Configuration
Inside of the device there are several jumpers to adjust inputs and outputs:
U I
AO0
AO1
AI0
AI1
AI2
Current
AI3
TTYB
Voltage
TTYA
Analog Outputs: at left voltage, at right current
Analog Inputs: at left voltage, at right current,none for resistance (Pt100)
FIGURE 11
S5611C: Configuration of Inputs and Outputs
1.3.5 Operation
1.3.5.1 LED Display
The LEDs show the current state of a SEAL S5611C.
FIGURE 12
l green
l green
Device has power
User program: short pauses = active; long pauses = inactive
l yellow
l yellow
Communication to PC or S83010
Communication using the Field-Bus
S5611C: LED Display
1.3.5.2 Cycle Time
Selecting a cycle time from 30 to 400 ms allows to use up to 64 I/O-addresses (32 external modules). For fast applications it is possible to select 5 to 20 ms, then only 12 I/Oadresses are supported (up to 6 external devices).
S57901 User Manual
1-11
Introduction
1.3.6 Serial Interfaces
The female DSUB connector (TTYB) is used to connect the PC.
Pin
TABLE 10
RS232
V.24
Direction
Description
2
BB
104
from S5611C
Transmit Data
3
BA
103
to S5611C
Receive Data
5
AB
102
both
Signal Ground
6
CC
107
from S5611C
470 Ohm pull up to 12V
S5611C: female RS232 Connector, Pin Description
The male connector (TTYA) is used to connect a modem or a SEAL SLink21 ISDNTerminaladaper or the display unit S83010 using a standard 1:1 cable. A PC may also
be connected using a null-modem-cable:
Pin
TABLE 11
RS232
V.24
Direction
Description
1
CF
109
to S5611C
CD - Carrier Detect
2
BA
103
to S5611C
Receive Data
3
BB
104
from S5611C
Transmit Data
4
CD
108
from S5611C
DTR - Data Terminal Ready
5
AB
102
both
Signal Ground
6
to S5611C
DSR
7
from S5611C
RTS
8
to S5611C
CTS
9
to S5611C
RING
S5611C: male RS232 Connector, Pin Description
DTR is always active to allow incoming calls. Before and after sending a message DTR
is removed to ensure modem hangup. A connection is recognized if CD is active.
If CD remains activ (also if not connected), a failed hangup is indicated at the alarm
function block and the message is sent without dialing.
1-12
S57901 User Manual
Installation and Operation of S5611D with integrated Display
1.4 Installation and Operation of S5611D with
integrated Display
The controller S5611D combines the features of S5611C with the display unut S83010.
All inputs and outputs are connected to the 48-pol. DIN connector.
2
32
D B Z
FB
FB
IRef0
IRef1
IRef2
IRef3
DO_P0
DO_P1
DO_P2
DO_P3
DI_0DI_0+
DI_3DI_3+
DI_6DI_6+
AO_0 GROUND
AO_1 GROUND
AI_0
GROUND
GROUND
AI_1
AI_2
GROUND
AI_3
GROUND
DO_W0 DO_A0
DO_W1 DO_A1
DO_W2 DO_A2
DO_W3 DO_A3
DI_1- DI_2DI_1+ DI_2+
DI_4- DI_5DI_4+ DI_5+
DI_7DI_7+
1.4.1 Input- and Output Connections
FIGURE 13
TABLE 12
S5611D: DIN Connector
Pin
Description
FB
Fieldbus, polarity independent
AO
Analog Output
GROUND
Ground
AI
Analog Input
IRef
Current Reference (Pt100 or Pt1000)
DO_A
Digital Output, active
DO_W
Digital Output, root
DO_P
Digital Output, passive
DI+, DI-
Digital Input, galvanically insulated
S5611D: Description of the Connector Pins
1.4.2 Field Bus
The field bus has to be connected as described above. The polarity of the cable does not
matter. The address of S5611D is always 1.
1.4.3 Power Supply
The supply voltage (12-24VDC) has to be connected to the small 4-pol. connector.
S57901 User Manual
1-13
Introduction
1.4.4 Configuration
Inside of the device there are several jumpers to adjust inputs and outputs:
2Z
I U
32D
TTYB
TTYA
AI3
AI2
AI1
Voltage
AI0
AO0
AO1
Current
Power
++ - -
Analog Outputs: at top current, at bottom voltage
Analog Inputs: at top voltage, at bottom current,none for resistance (Pt100)
FIGURE 14
S5611D: Configuration of Inputs and Outputs, Connectors
1.4.5 Operation
1.4.5.1
LED Display
The LEDs show the current state of a SEAL S5611D.
l red
l yellow
l green
FIGURE 15
Error
Communication to PC
Device running
S5611D: LED Display
The red and the green LED may be turned on or off by the user program.
1.4.5.2
Cycle Time
Selecting a cycle time from 30 to 400 ms allows to use up to 64 I/O-addresses (32 external modules). For fast applications it is possible to select 5 to 20 ms, then only 12 I/Oadresses are supported (up to 6 external devices).
1.4.5.3
Display
The programming of the display unit is done in the same way as with S83010.
1-14
S57901 User Manual
Installation and Operation of S5611D with integrated Display
1.4.6 Serial Interfaces
The female DSUB connector (TTYB) is used to connect the PC.
Pin
TABLE 13
RS232
V.24
Direction
Description
2
BB
104
from S5611D
Transmit Data
3
BA
103
to S5611D
Receive Data
5
AB
102
both
Signal Ground
6
CC
107
from S5611D
470 Ohm pull up to 12V
S5611D: female RS232 Connector, Pin Description
The male connector (TTYA) is used to connect a modem or a SEAL SLink21 ISDNTerminaladaper using a standard 1:1 cable. A PC may also be connected using a nullmodem-cable:
Pin
TABLE 14
RS232
V.24
Direction
Description
1
CF
109
to S5611D
CD - Carrier Detect
2
BA
103
to S5611D
Receive Data
3
BB
104
from S5611D
Transmit Data
4
CD
108
from S5611D
DTR - Data Terminal Ready
5
AB
102
both
Signal Ground
6
to S5611D
DSR
7
from S5611D
RTS
8
to S5611D
CTS
9
to S5611D
RING
S5611D: male RS232 Connector, Pin Description
DTR is always active to allow incoming calls. Before and after sending a message DTR
is removed to ensure modem hangup. A connection is recognized if CD is active.
If CD remains activ (also if not connected), a failed hangup is indicated at the alarm
function block and the message is sent without dialing.
S57901 User Manual
1-15
Introduction
1.5 Installation and Operation of S5612
S5612 is a powerful controller with built in ISDN. S5612 is able to communicate to
other ISDN controllers very fast. It is possible to setup S5612 using ISDN as well as
one of the serial interfaces. It is also possible to send messages to an ISDN Terminal
adaptor (SEAL SLink21); for these messages or for configuration of S5612 the protocol X.75 is used on the B channel.
1.5.1 Input- and Output Connections
DigIn 15 DigIn 15 +
DigIn 14 DigIn 14 +
DigIn 13 DigIn 13 +
DigIn 12 DigIn 12 +
DigIn 11 DigIn 11 +
DigIn 10 DigIn 10 +
DigIn 9 DigIn 9 +
DigIn 8 DigIn 8 +
DigIn 7 DigIn 7 +
DigIn 6 DigIn 6 +
DigIn 5 DigIn 5 +
DigIn 4 DigIn 4 +
DigIn 3 DigIn 3 +
DigIn 2 DigIn 2 +
DigIn 1 DigIn 1 +
DigIn 0 DigIn 0 +
FIGURE 16
S5612: Connectors, Inputs, Outputs, Field Bus, Power
1.5.2 Field Bus
The fieldbus is polarity independent and the same as for S5610.
1.5.3 Power Supply
The power (15-30VDC) has to be connected as described in the figure above.
1.5.4 ISDN Connection
One of the RJ45 connectors has to be used.
1.5.5 Usage
The system LEDs (8) show the state of the SEAL S5612 controller.
1-16
S57901 User Manual
GROUND
+DC
• 64
• 65
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
DigOut 3 passive
DigOut 3
DigOut 3 active
DigOut 2 passive
DigOut 2
DigOut 2 active
DigOut 1 passive
DigOut 1
DigOut 1 active
DigOut 0 passive
DigOut 0
DigOut 0 active
•
•
•
•
•
•
•
•
•
•
•
•
18
19
20
21
22
23
24
25
26
27
28
29
Fieldbus • 62
Fieldbus • 63
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AnOut 3
AnOut 2
AnOut 1
AnOut 0
Ground
Ground
Ground
Ground
Ground
Ref. PT1000
AnIn 3
Ref. PT1000
AnIn 2
Ref. PT1000
AnIn 1
Ref. PT1000
AnIn 0
The figure below shows the connectors of an S5612 controller.
Installation and Operation of S5612
1.5.6 Configuration
Several jumpers within the controller are used to adjust inputs and outputs of the controller:
AI3
AO0
FIGURE 17
Voltage
Current
U I
AO1
AI0
U I
AO2
AI1
U I
AO3
AI2
U I
S5612: Jumper Configuration
For Pt1000 measurement no jumpers have to be inserted.
1.5.7 PC Connection
One of the 9-Pol. female DSUB connectors is used:
Pin
TABLE 15
RS232
V.24
Direction
Description
2
BB
104
from S5612
sent data
3
BA
103
to S5612
received data
5
AB
102
both
ground
S5612: RS232 Connectors
Only pins 2, 3 and 5 are used for the connection to the PC. The baud rate is 9600 and
may be changed if desired.
1.5.8 Software Configuration
The chapter about the S9704 ISDN Controller contains some hints for the ISDN Configuration.
S57901 User Manual
1-17
Introduction
1.6 Installation and Operation of S5614
S5614 is a powerful controller with built in ISDN and Ethernet as well as an alphameric LED Display containing 16 digits. S5614 is able to communicate to other ISDN
controllers very fast. It is possible to setup S5614 using ISDN as well as the serial
interface. It is also possible to send messages to an ISDN Terminal adaptor (SEAL
SLink21); for these messages or for configuration of S5614 the protocol X.75 is used
on the B channel.
1.6.1 Input- and Output Connections
The figure below shows the connectors of an S5614 controller.
FIGURE 18
ISDN
Ethernet
•
•
•
•
33
34
35
36
Power +
Power +
Power Power -
•
•
•
•
•
•
•
•
•
•
•
•
21
22
23
24
25
26
27
28
29
30
31
32
DigOut 0 active
DigOut 0
DigOut 0 passive
DigOut 1 active
DigOut 1
DigOut 1 passive
DigOut 2 active
DigOut 2
DigOut 2 passive
DigOut 3 active
DigOut 3
DigOut 3 passive
0+
01+
12+
23+
34+
45+
56+
67+
7•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
DigIn
•
•
•
•
1
2
3
4
Ref. PT1000
Analog Input
Ground
Ground
Fieldbus + • 37
Fieldbus - • 38
S5614: Connectors, Inputs, Outputs, Field Bus, Power
1.6.2 Field Bus
The fieldbus is polarity independent and the same as for S5612.
1.6.3 Power Supply
The power (15-30VDC) has to be connected as described in the figure above.
1.6.4 ISDN Connection
The RJ45 connector on the right hand side has to be used.
1.6.5 Ethernet
The RJ45 connector on the left hand side has to be used.
1-18
S57901 User Manual
Installation and Operation of S5614
1.6.6 Configuration
FIGURE 19
DI 7
DI 6
DI 5
DI 4
DI 3
DI 2
DI 1
DI 0
Current Voltage
AI
Several jumpers within the controller are used to adjust inputs and outputs of the controller:
S5614: Jumper Configuration
For Pt1000 measurement no jumpers have to be inserted.
If an external voltage is connected to the digital inputs, no jumpers have to be inserted.
If an external switch like a relay is used, both he upper and the lower jumper has to be
inserted.
1.6.7 PC Connection
The 9-Pol. female DSUB connector is used:
TABLE 16
Pin
RS232
V.24
Direction
Description
2
BB
104
from S5614
sent data
3
BA
103
to S5614
received data
5
AB
102
both
ground
S5614: RS232 Connectors
Only pins 2, 3 and 5 are used for the connection to the PC. The baud rate is 9600 and
may be changed by the PC software if desired.
1.6.8 Software Configuration
The chapter about the S9704 ISDN controller contains some hints for ISDN Configuration.
Using the function block “Message” it is possible to send messages to the built in display.
S57901 User Manual
1-19
Introduction
1.7 Installation and Operation of S5651
2
Power + Power + Power +
Power - Power - Power -
32
D B Z
FB
FB
DI_0DI_0+
DI_3DI_3+
DI_6DI_6+
DI_9DI_9+
DI_12DI_12+
DI_15DI_15+
FB
FB
DI_1DI_1+
DI_4DI_4+
DI_7DI_7+
DI_10DI_10+
DI_13DI_13+
FB
FB
DI_2DI_2+
DI_5DI_5+
DI_8DI_8+
DI_11DI_11+
DI_14DI_14+
1.7.1 Inputs and Outputs
FIGURE 20
TABLE 17
S5651: Input- and Output Connector
Pin
Description
FB
Fieldbus, polarity independent
DI+, DI-
Digital Input, galvanically insulated
Power
Power Supply, 9-30VDC
S5651: Description of Connector Pins
1.7.2 Power Supply
The supply voltage (9-30VDC) has to be connected to the DIN connector.
1.7.3 Operation
The LED indicates the operation of the S5651. Fast blinking shows that there is no connection to an S5610 master. Slow blinking shows that S5651 sends data to S5610.
1-20
S57901 User Manual
Installation and Operation of S5651
1.7.4 Field Bus
The field bus address of the S5651 has to be selected using the five jumpers to select a
value from 6 to 31:
Examples:
Address 6
1
2
4
8
16
Bit 0
Bit 4
Address 12
FIGURE 21
S5651: Address Selection
1.7.5 Configuration of the Digital Inputs
If an external voltage is connected to the digital inputs, no jumpers have to be inserted.
If an external switch like a relay is used, both the left and the right jumper has to be
inserted:
DI0
DI1
DI2
DI3
DI4
DI5
DI6
DI7
DI8
DI9
DI10
DI11
DI12
DI13
DI14
DI15
FIGURE 22
S5651: Configuration of Digital Inputs
S57901 User Manual
1-21
Introduction
1.8 Installation and Operation of S5661
Power + Power + Power +
Power - Power - Power -
DO_W0 DO_A0
DO_W1 DO_A1
DO_W2 DO_A2
DO_W3 DO_A3
DO_W4 DO_A4
DO_W5 DO_A5
DO_W6 DO_A6
DO_W7 DO_A7
DO_P0
DO_P1
DO_P2
DO_P3
DO_P4
DO_P5
DO_P6
DO_P7
2
32
D B Z
FB
FB
FB
FB
FB
FB
1.8.1 Input- and Output Connections
FIGURE 23
S5661: Connector
Pin
Description
FB
Field bus, polarity independent
DO_P
Digital Output, passive
DO_W
Digital Output, root
DO_A
Digital Output, active
Power
Power Supply, 9-30VDC
TABLE 18
S5661: Pin Description
1-22
S57901 User Manual
Installation and Operation of S5661
1.8.2 Field Bus
The field bus address of the S5661 has to be selected using the five jumpers to select a
value from 6 to 31:
Examples:
Address 6
1
2
4
8
16
Bit 0
Bit 4
Address 12
FIGURE 24
S5661: Address Selection
1.8.3 Power Supply
The supply voltage (9-30VDC) has to be connected to the DIN connector.
1.8.4 Operation
The LED indicates the operation of the S5661. Fast blinking shows that there is no connection to an S5610 master. Slow blinking shows that S5661 receives data from
S5610. If S5661 lost the connection to S5610 the LED blinks a little bit faster. After
5 minutes all relays are turned off and the LED of S5661 blinks fast.
S57901 User Manual
1-23
Introduction
1.9 Installation and Operation of S5671
Power
Power
Power
Power
Power
Power
FB
FB
AI_0
AI_1
AI_2
AI_3
AI_4
AI_5
AI_6
AI_7
2
32
D B Z
FB
FB
Iref_0
Iref_1
Iref_2
Iref_3
Iref_4
Iref_5
Iref_6
Iref_7
FB
FB
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
1.9.1 Input- and Output Connections
FIGURE 25
S5671: Connector
Pin
Description
FB
Field bus, polarity independent
GROUND
Ground
AI
Analog Input
IRef
Current Reference (Pt100)
Power
Power Supply, 9-12VAC or 9-12VDC
TABLE 19
S5671: Pin Description
1-24
S57901 User Manual
Installation and Operation of S5671
1.9.2 Field Bus, Configuration
The field bus address of S5671 is selected by the 5 jumpers like S5651 or S5661.
Additionally the inputs have to be selected according to the desired functionality.
Examples:
AI0
Address 6
AI1
1
2
4
8
16
Bit 0
AI2
AI3
Bit 4
AI0
AI1
AI2
Address 12
AI3
Field Bus Address
Voltage
Current
Analog Inputs: at left voltage, at right current, none for resistance (Pt100)
FIGURE 26
S5671: Address- and Input Configuration
1.9.3 Power Supply
The supply voltage (9-12VAC/DC) has to be connected to the DIN connector.
1.9.4 Operation
The LED indicates the operation of the S5671. Fast blinking shows that there is no connection to an S5610 master. Slow blinking shows that S5671 sends data to S5610.
S57901 User Manual
1-25
Introduction
1.10 Installation and Operation of S5681
Power+
PowerPower+
Power-
Power+
Power-
FB
FB
AO_0
AO_1
AO_2
AO_3
AO_4
AO_5
AO_6
AO_7
2
32
D B Z
FB
FB
FB
FB
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
1.10.1 Input- and Output Connections
FIGURE 27
S5681: Connector
Pin
Description
FB
Field bus, polarity independent
GROUND
Ground
AO
Analog Output
Power
Power Supply, 9-30VDC
TABLE 20
S5681: Pin Description
1-26
S57901 User Manual
Installation and Operation of S5681
1.10.2 Field Bus, Configuration
The field bus address of S5681 is selected by the 5 jumpers like S5651 or S5661.
Additionally the inputs have to be selected according to the desired functionality.
here never a jumper!
AO0
AO1
AO2
AO3
AO4
1
2
4
8
16
Bit 0
Examples:
AO5
AO6
Bit 4
Field Bus Address
Address 6
AO7
Voltage
Current
Address 12
Analog Outputs: at left voltage, at right current
put never a jumper to this location!
FIGURE 28
S5681: Address- and Output Configuration
1.10.3 Power Supply
The supply voltage (9-30VDC) has to be connected to the DIN connector.
1.10.4 Operation
The LED indicates the operation of the S5681. Fast blinking shows that there is no connection to a master device. Slow blinking shows that S5681 receives data.
S57901 User Manual
1-27
Introduction
1.11 Installation and Usage of S9704
S9704 is a powerful controller featuring the VME industrial bus system. S9704 is able
to communicate to other ISDN controllers very fast. It is possible to setup S9704 using
ISDN as well as the serial interface. It is also possible to send messages to an ISDN Terminal adaptor (SEAL SLink21); for these messages or for configuration of S9704 the
protocol X.75 is used on the B channel. Beside eight bicolour LEDs which may be
adjusted by the user the controller features 4 switches to allow the input of user commands.
1.11.1 Power Supply
The unit is driven by the VME Bus and uses +5V and +/- 12V.
1.11.2 Field Bus
Submodules of the S99 series are connected using the VME Bus.
1.11.3 PC Connection
The 9-Pol. female DSUB connector is used:
Pin
TABLE 21
RS232
V.24
Direction
Description
2
BB
104
from S9704
sent data
3
BA
103
to S9704
received data
5
AB
102
both
ground
S9704: RS232 Connectors
Only pins 2, 3 and 5 are used for the connection to the PC. The baud rate is 9600.
1.11.4 ISDN Connection
The lower 8-pin RJ45 connector is used.
RJ45 - RJ45: Use a 1:1 cable.
RJ45 - TT83: a special cable as shown in the table blow is needed:
Pin
RJ45 (S9704)
RJ45 (PTT)
TT83 (PTT)
TX-
3
3
a1
RX-
4
4
a2
RX+
5
5
b2
TX+
6
6
b1
TABLE 22
S9704: ISDN Connector
1-28
S57901 User Manual
Installation and Usage of S9704
1.11.5 Usage
1.11.5.1 LED Display
The eight system LEDs show the internal states of SEAL S9704.
FIGURE 29
System-state
ISDN-state
1. B-channel data-connection
2. B-channel data-connection
l
l
l
l
l
l
l
l
User program
Klopfen
1. B-channel optional connection
2. B-channel optional connection
User-LED 1
User-LED 2
User-LED 3
User-LED 4
l
l
l
l
l
l
l
l
User-LED 5
User-LED 6
User-LED 7
User-LED 8
S9704: LED Display
System
yellow
green
System error
Flash basic FW
Flash extended
no L2
L1 and L2 OK
1. B channel (Data)
building/closing
connection
2. B channel (Data)
building/closing
connection
ISDN state
TABLE 23
red
no L1
User program
none
“knocking” (500 ms)
data
active
optional
configuration
1. B channel (Option)
building/closing
connection
2. B channel (Option)
building/closing
connection
S9704: LED Display
At the time of distribution the basic firmware is used. The user may load firmware
upgrades which is shown by the system LED.
1.11.5.2 Switches
Four switches are located below the LEDs.
S57901 User Manual
1-29
Introduction
1.11.6 Configuration of S9704
To use all features of S9704, several configurations have to be done. In the first place it
is necessary to enter the ISDN number.
• Address: The address of S9704 is always 1.
• Cycle rate: The cycle rate should be 5 ms.
• MSN: The multiple subscriber number is used to select a dedicated unit at the ISDN
S-Bus.
• Sub Address Prefix: Must be the same at all controllers which should communicate
with each other and is used as additional security against intruders in case the table
of allowed callers is not used.
• Allowed Caller Table: Up to 24 allowed callers may be configured.
• Configuration using ISDN: It is possible to configure the controller using ISDN
only if this option was enabled previously.
• Event Log: Up to 1024 events may be logged. Which kind of events are logged may
be selected:
System Events: e.g. start up
ISDN problem: Layer 1 (physical) or Layer 2 (logical) connection.
ISDN connection troubles: If a call cannot be done properly.
ISDN connection: Incoming and outgoing calls.
User Program: Loading a user program from PC or Flash.
After changing one or more of these parameters, the user software has to be compiled
and loaded.
1-30
S57901 User Manual
S5500 Field Bus Card for PC
1.12 S5500 Field Bus Card for PC
The SEAL S5500 field bus card is a plug in card for the PC. It is used to connect a controller S5701 or S5703 using the token bus or S5610 using RS485. This allows higher
transfer rates than the RS232 interface.
6
5
4
3
2
I/O Address
Bit 10
FIGURE 30
1
S5610 Field Bus
Token Bus B
Token Bus A
Bit 3
Configuration and Connections of the S5500 Field Bus Card
Before putting the card into the PC, a free I/O address in the range from 0x200 to 0x800
has to be configured.
The figure above shows the address 0x3A0 which is the configured address when
S5500 is distributed to the user.
In the PC software S57901 “SEAL Fieldbus Card” has to be selected instead of one of
the COM ports. The software then searches the port addresses in the range from 0x200
to 0x800 and shows all the addresses where an S5500 field bus card may be. Usually
this is the address where S5500 really is, otherwise the right address has to be selected.
Additionally the field bus address of S5500 may be selected (2, 4 or 6). This is used
only if there is more than one (up to three) S5500 at one field bus; then each card must
have a unique field bus address. If only one S5500 is used, the value of this address
does not matter.
To connect the field bus, the lowest pins (1 and 2) of the 6-pin connector have to be
used (“Token Bus A”); “Token Bus B” is not supported in the current firmware version.
The two upper pins (5 and 6) are used for the RS485 bus in connection with an S5610
configuration.
S57901 User Manual
1-31
Introduction
1.13 General Field Bus Information
Each device which is connected to the token bus must get its own unique token bus
address which must be an even number. This address is selected using the appropriate
dip switch of the controllers and expansion modules, respectively. The PC field bus card
is selected by the software. If there are more than one devices using the same address,
these devices will not be able to communicate properly. It may be wise to reset all the
devices after such an erroneous configuration was eliminated.
It is also important that no address overlapping occurs. A controller which is adjusted to
a token bus address of 8 uses all addresses from 8 to 15 (five internal I/O addresses and
two field bus export addresses for analogue and digital values); the next controller or
expansion module has to be adjusted to address 16 or higher. A detected address conflict
is shown with red letters in the configuration software.
If there are expansion modules of the series S59xxE connected to a controller, the
number of used addresses will be increased appropriate.
It is important that the address of the controller (S5701 or S5703) selected by the dip
switches is the same as selected using the configuration software. Only then the PC card
S5500 will be able to communicate to the controller. If you communicate using the
RS232 interface, the selected address does not matter. Additionally it has to be noticed
that with wrong address configuration the inputs and outputs of the controller would not
work properly.
If the field bus is turned off (all address switches to 0 or all switches to 1) an address
value of 1 has to be selected in the configuration software. Naturally S5500 will not be
able to talk to the controller using the token bus in this case. If the field bus address is 1
no token bus expansion modules may be entered by the software S57901.
Termination of the field bus twisted pair cable is necessary to ensure proper communications. A resistor of about 150 to 300 Ω is just right.
1-32
S57901 User Manual
Modem Usage
1.14 Modem Usage
All controllers may be connected to a modem or an ISDN communications device (terminal adaptor). Then they are able to send messages or be called by the user. This features require the wiring shown in the table below:
TABLE 24
Signal
Controller Pin
Modem Pin
Security Ground
1 - GND
1 - GND
Receive Data
2 - RXD
3 - TXD
Transmit Data
3 - TXD
2 - RXD
Carrier Detected
4 - CD
8 - CD
Data Terminal Ready
5 - DTR
4 - RTS and
20 - DTR
Signal-Ground
7 - GND
7 - GND
Wiring to connect a modem to a controller
The signal DTR at pin 5 is active after power on so the controller may be called by the
user. The modem has to be adjusted to “Auto Answer” so it takes an incoming call without requiring any commands from the controller.
When the controller wants to transmit a message it puts the dial command to the serial
interface. After the modem built the connection the controller detects CD at pin 4 and
outputs the message.
Afterwards the escape sequence “+++” and “ATH0” will be sent to the modem. Then
the signal DTR is removed to ensure the disconnection of the telephone line.
It has to be noticed that the time out for a dial command is the same as the time between
retries. So if the time between retries is set to 30 seconds, the controller waits for 30 seconds if the first try fails. If an incoming call during this time sets the CD signal, the message will be sent and registered as completed although it may not be put to the right
destination. If the PC software is detected within the next 3 seconds the connection will
remain until hung up by the PC, otherwise it will be hung up by the controller immediately.
So the time between retries has to be configured to a time out value also if the number of
retries is zero.
The modem must be configured to Echo Off and Quiet Mode On using ATE0Q1, that
means no answers to commands. Additionally Auto Answer has to be turned on to
allow incoming calls. after a power on reset the controller outputs ATS0=1 to allow
incoming calls in case the line power was off and the modem has reset.
SEAL SLink21 terminal adaptor and SLink41 PC Card are able to connect controllers
and PCs using the digital network ISDN without any troubles.
S57901 User Manual
1-33
Introduction
1.15 Device Capabilities
1.15.1 Running User Programs
After configuring a program for the S57XX with the graphical user interface S57901,
you have to download this user program to the S57XX. The operating system of
S57XX starts the program according to the specified run condition.
1.15.2 Data Buffering
You may use up to 32 buffers each containing up to 16 variables. The buffers can be
used to collect data over a period of time. There are two kinds of buffers available: a
ring buffer which overwrites the oldest values or a buffer which stops collecting data
after being filled. The host may initiate a transfer of these buffers at any time and
optionally release them to allow further collection of data.
The command VBS<no> may be used by a terminal program to dump the content of the
specified buffer <no>. <No> has to be in the range from 1 to 32. VBC<no> resets the
buffer <no>. To select a format for the analog variables, the command VBF<fmt> is
used: These formats may be selected using the S57901 BUFFER OPTIONS command.
FIGURE 31
Command
Format
Example
Comment
VBF%g
Standard format
1234.2
smallest format as possible
VBF%19.8f
19 characters at all
4 after decimal point
VBF%10.0f
10 characters at all
without decimal part
VBF%8.3e
8 characters
exponential format
1234.2000
1234
1.234e+03
19 characters are the maximal
possible format length
rounded to integer
in this example the output
needs more characters than
expected
Examples to select a Buffer Format
The first number after ’%’ is the length of the variable, the (optional) second number is
the number of characters after the decimal point.
1.15.3 Output Buffers
These are used to set variables which are not connected to an output. To load these buffers a file like one generated by the S57901 software is required.
1.15.4 Time Dependent Running of Program Segments
For each program segment you may specify a run condition using the well known cron
format. A description of this format is given later in this manual.
It is possible to run a whole segment slower than the basic cycle time.
1-34
S57901 User Manual
C H A PT E R 2
Function Block
Description
2.1 Input/Output Functions
The PC software S57PROG handles input and output function blocks in the same way
as all the other function blocks. The I/O function blocks are named FncIO<no>. Currently the following I/O functions are available:
DIGITAL INPUT galvanically isolated
DIGITAL INPUT TTL
DIGITAL OUTPUT relay
DIGITAL OUTPUT driver
ANALOG INPUT differential +/-10V
ANALOG INPUT differential +/-20mA
ANALOG INPUT user configure-able
COUNTER with quadrature decoder
ANALOG OUTPUT +/-10V 16bit
ANALOG OUTPUT +/-20mA 16bit
ANALOG OUTPUT frequency
ANALOG OUTPUT user configure-able
Each I/O function block has two parameters which should be configured by the user:
• the cycle time to read respectively write the I/O function
• the channel of the I/O device
After such a function block is inserted, the cycle time is set to the fastest cycle time
available for this device; this is usually the basic cycle time of that device. The channel
number is set to the next free channel. If another compatible device or channel has to be
used, the user must change the channel parameter appropriate.
S57901 User Manual
2-1
Function Block Description
2.1.1 Counter Input for Quadratur-Decoder
output:
purpose:
one analog output
reading of pulse counter or velocity.
For each quadratur decoder 2 such inputs may be used. Input 0 counts the pulses of
decoder 1, input 1 shows the number of pulses per second. Input 2 and 3 are used in the
same way for decoder 2. You should use long time masks for the velocity inputs if you
count slow pulse rates to get continuous input signals. The connection of the encoders is
shown in the technical description of S5701 and S5703.
2.1.2 Analog Input, User Specified
output:
one analog output
These inputs has to be adjusted appropriate. The jumpers must be set to the desired
places and the software must be adjusted for the right type of input.
2.1.3 Fieldbus Input
output:
purpose:
one digital or one analog output
reading of a value from another controller at the field bus.
From each other controller connected to the field bus up to 16 digital and up to 16 analog variables may be received. You must adjust the address of the other controller and
the channel number. For analog values the field bus address is used, for digital values
the field bus address + 1 is used.
2.1.4 Fieldbus Output
input:
purpose:
one digital or one analog input
sending a value to another controller at the field bus.
Each controller S5701 or S5703 can export up to 16 digital and up to 16 analog values
to the field bus. which may received by other controllers
.
2-2
S57901 User Manual
Input/Output Functions
2.1.5 Serial Input
library entry:
length:
outputs:
purpose:
FncRSDI, FncRSAI
16 bytes
one digital respectively one analog output
Setting of a digital or an analog variable.
These functions get an identification number automatically after being inserted into the
user program. This number is used to identify the corresponding variable.
Example of a command being entered at the serial port:
VSD <no> 0
VSD <no> 1
VSA <no> 3.14
Clearing of the digital output <no>
Setting of the digital output <no>
Setting of the analog output <no>
2.1.6 Serial Output
library entry:
length:
inputs:
purpose:
FncRSDO, FncRSAO
16 bytes
one digital respectively one analog input
Request of a value using a serial port.
These functions get an identification number automatically after being inserted into the
user program.
Example:
VRD <no>
VD <no> 1
VRA <no>
VA <no> 8.4
S57901 User Manual
Request of a digital value
Answer of the device
Request of an analog value
Answer of the device
2-3
Function Block Description
2.2 Logical Functions
Generally digital values 0 are FALSE and 1 are TRUE.
2.2.1 Logical AND
library entry:
length:
inputs:
outputs:
purpose:
FncAnd
12 bytes
two digital inputs
one digital output
logical AND of the two inputs
input 1
input 2
output
0
0
0
1
0
0
0
1
0
1
1
1
2.2.2 Logical NAND
library entry:
length:
inputs:
outputs:
purpose:
FncNand
12 bytes
two digital inputs
one digital output
logical NAND of the two inputs
input 1
input 2
output
0
0
1
0
1
1
1
0
1
1
1
0
2.2.3 Logical OR
library entry:
length:
inputs:
outputs:
purpose:
2-4
FncOr
12 bytes
two digital inputs
one digital output
logical OR of the two inputs
input 1
input 2
output
0
0
0
0
1
1
1
0
1
1
1
1
S57901 User Manual
Logical Functions
2.2.4 Logical NOR
library entry:
length:
inputs:
outputs:
purpose:
FncNor
12 bytes
two digital inputs
one digital output
logical NOR of the two inputs
input 1
input 2
output
0
0
1
0
1
0
1
0
0
1
1
0
2.2.5 Logical EXOR
library entry:
length:
inputs:
outputs:
purpose:
FncExor
12 bytes
two digital inputs
one digital output
logical EXOR of the two inputs
input 1
input 2
output
0
0
0
0
1
1
1
0
1
1
1
0
2.2.6 Logical EXNOR
library entry:
length:
inputs:
outputs:
purpose:
FncExnor
12 bytes
two digital inputs
one digital output
logical EXNOR of the two inputs
input 1
input 2
output
0
0
1
0
1
0
1
0
0
1
1
1
S57901 User Manual
2-5
Function Block Description
2.2.7 Logical NOT
library entry:
length:
inputs:
outputs:
purpose:
FncNot
10 bytes
one digital input
one digital output
logical NOT of the input
input
output
0
1
1
0
2.2.8 Logical AND with 4 or 8 Inputs
library entry:
length:
inputs:
outputs:
purpose:
Fnc4And. Fnc8And
16 or 24 bytes, respectively
4 or 8 digital inputs, respectively
one digital output
logical AND of the inputs
2.2.9 Logical OR with 4 or 8 Inputs
library entry:
length:
inputs:
outputs:
purpose:
2-6
S57901 User Manual
Fnc4Or. Fnc8Or
16 or 24 bytes, respectively
4 or 8 digital inputs, respectively
one digital output
logical OR of the inputs
Flip Flops
2.3 Flip Flops
2.3.1 SR Flip Flop
library entry:
length:
inputs:
outputs:
purpose:
FncSRFlip
18 bytes
3 digital inputs
2 digital output
behave like an SR FLip Flop
At the rising edge of the clock input the inputs s and r are evaluated. Then the outputs q
and inv are set accordingly.
2.3.2 JK Flip Flop
library entry:
length:
inputs:
outputs:
purpose:
FncJKFlip
18 bytes
3 digital inputs
2 digital output
behave like a JK FLip Flop
At the rising edge of the clock input the inputs j and k are evaluated. At the next cycle
the outputs q and inv are set accordingly.
2.3.3 D Flip Flop
library entry:
length:
inputs:
outputs:
purpose:
FncDFlip
16 bytes
2 digital inputs
2 digital output
behave like a D FLip Flop
At the rising edge of the clock input the input d is evaluated. At the next cycle the outputs are set accordingly.
2.3.4 T Flip Flop
library entry:
length:
inputs:
outputs:
purpose:
FncTFlip
16 bytes
2 digital inputs
2 digital output
behave like a T FLip Flop
At the rising edge of the clock input the input t is evaluated. If it is true, the current
value of the output is saved and at the next cycle the outputs are set accordingly.
S57901 User Manual
2-7
Function Block Description
2.3.5 Monostable Flip Flop
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncMonoFlip
22 bytes
1 digital input
2 digital outputs
the number of cycles to hold the output
behave like a Mono Flop
After the input changes to TRUE, the output also becomes TRUE. After the input
changed to FALSE, the output keeps TRUE for the selected number of cycles.
2.3.6 SR Flip Flop without Clock
library entry:
length:
inputs:
outputs:
purpose:
FncSRN
14 bytes
2 digital inputs
2 digital output
behave like an SR FLip Flop
If the input s is set, the output q is set and q is cleared. If the input r is set, the output q is
cleared and q is set. The input r has the higher priority.
2-8
S57901 User Manual
Further Digital Functions
2.4 Further Digital Functions
2.4.1 Digital Constant
library entry:
length:
outputs:
parameters:
purpose:
FncDgConst
10 bytes
1 digital output
TRUE or FALSE
set the output to a constant TRUE or FALSE
2.4.2 Digital Delay
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncDgDelay
40 bytes
1 digital inputs
4 digital outputs
no. of cycles to delay
delay the digital input
On output 1 the input signal is delayed the specified number of cycles. The other outputs delay 2, 4 and 8 times the number of specified cycles, respectively. Note that the
input is scanned only at the specified intervals so fast changes of the input signal do not
appear on the outputs.
output
delay
output 1
1 ∗ no of specified cycles
output 2
2 ∗ no of specified cycles
output 3
4 ∗ no of specified cycles
output 4
8 ∗ no of specified cycles
2.4.3 Pulse Generator
library entry:
length:
outputs:
parameter:
purpose:
FncPlsGen
16 bytes
1 digital output
no. of cycles between pulses
generate pulses
This function sets the output TRUE for the duration of 1 cycle. The time between these
pulses is defined by the parameter.
S57901 User Manual
2-9
Function Block Description
2.4.4 System Time Switch
library entry:
length:
outputs:
parameter:
purpose:
FncTmrSw
24 bytes
1 digital output
system time to switch on and off
generate TRUE between two times
This function sets the output TRUE at the specified system time “on”, the output is set
back to FALSE at the specified system time “off”.
2.4.5 Timer
library entry:
length:
input:
output:
parameter:
purpose:
FncTimer
138 bytes
1 digital input
1 digital output
times to turn on the output.
programmable timer switch
This function turns on the output at the desired times. At all other times the output is
turned off. If the enable input is connected and off, the output will neither be set nor
cleared to allow parallel connection of several timers (tristate output).
range
accuracy
1 hour
1 minute
1 day
5 minutes
1 week
1 hour
1 month
1 hour
1 year
1 day
2.4.6 Cron Switch
library entry:
length:
outputs:
parameter:
purpose:
FncCronSw
72 bytes
1 digital output
cron time to switch on and off
generate TRUE at specified times
This function sets the output TRUE if the time matches the specified cron time. For a
description of the cron format see “Time Dependent Starting of Program Segments” on
page 3-11.
2-10
S57901 User Manual
Further Digital Functions
2.4.7 Digital Delay for Switching ON
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncOnDel
18 bytes
1 digital inputs
1 digital outputs
no. of cycles to delay
delay the rising edge of the digital input
When the input changes from LOW to HIGH, the output change is delayed by the specified number of cycles. When the input changes from HIGH to LOW, the output follows
immediately.
2.4.8 Digital Delay for Switching OFF
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncOffDel
18 bytes
1 digital inputs
1 digital outputs
no. of cycles to delay
delay the falling edge of the digital input
When the input changes from HIGH to LOW, the output change is delayed by the specified number of cycles. When the input changes from LOW to HIGH, the output follows
immediately.
2.4.9 Flow Control
library entry:
length:
inputs:
outputs:
purpose:
FncCtl
52 bytes
1 analog input
2 digital inputs
1 analog output
16 digital outputs
flow control of digital outputs
If the enable input “E” is off, all outputs are zero. At the rising edge of the enable input
the value of the set input “S” is read, if connected. Then the corresponding output is
set, otherwise the first output is set. At each rising edge of the input “+” the current output is cleared and the next output is set until the last output is reached or an output is not
connected. Then the function block continues with the first output. The analog output
“A” contains the number of the active output or zero if no output is set.
S57901 User Manual
2-11
Function Block Description
2.5 System Near Functions
2.5.1 System Reset
library entry:
length:
inputs:
parameter:
purpose:
FncSysRS
20 bytes
1 digital input
the parts of the system to be reset
system initialization
At the rising edge of the input the desired reset of the system is performed:
Reset of the buffers
all buffers
only write buffers
only read buffers
a specified buffer
Reset of the function blocks
Reset of the variables
Reset of the counter inputs
Activation of the power on function blocks
2.5.2 Start of Another Segment
library entry:
length:
inputs:
parameter:
purpose:
FncSegm
16 bytes
1 digital input
which segment should be started how
start or stop other program segments
If the input variable becomes TRUE the segment will be started or stopped:
start segment, ignore cron condition:
the segment runs if the input is TRUE.
stop segment ignore cron condition:
the segment runs if the input is FALSE.
run only if cron condition fulfilled:
segment runs if input is TRUE
and the cron condition is fulfilled.
run also if cron condition fulfilled:
segment runs if input is TRUE
or the cron condition is fulfilled.
2-12
S57901 User Manual
System Near Functions
2.5.3 Alarm
library entry:
length:
outputs:
parameter:
purpose:
FncWarn
18 bytes
1 digital output
Alarm condition and supplement value
To inform about several system states
The output becomes TRUE at the occurrence of the selected condition:
Cycle time becomes greater than a given limit
A buffer is full
Communication to a specified field bus device failed
A modem message could not be sent
If the device features an ISDN interface, also one of the following may be selected:
No physical or logical ISDN link
ISDN connection troubles
outgoing ISDN connections
incoming ISDN connections
Example:
To allow endless buffering of data, this function may be used to switch between two
buffers. If the first buffer becomes full, the data is buffered in the second buffer while
the content of the first one is transmitted to the PC.
2.5.4 Power On Pulses
library entry:
length:
outputs:
parameter:
purpose:
FncPwrOn
20 bytes
4 digital outputs
number of cycles to generate the power on pulses
generate signals after power on
This function generates the signals indicated by the icon after power on as well as after
each loading of the program. These signals may be used to reset the user software. After
the number of cycles specified by the parameter, the first two outputs will change their
value. The same time later the second two outputs change their value. After another
period of this time the first two outputs are reset to their initial value.
Cycles after Power On
Output 1
Output 2
Output 3
Output 4
< (n+1)
0
1
0
1
(n + 1) .. (2*n + 2)
0
1
1
0
(2*n + 3) .. (3*n + 3)
1
0
1
0
> (3*n + 3)
1
0
0
1
The table above shows the states of the outputs with n as parameter “number of cycles”.
S57901 User Manual
2-13
Function Block Description
2.6 Mathematical Functions
2.6.1 Addition
library entry:
length:
inputs:
outputs:
purpose:
FncAdd
12 bytes
2 analog inputs
1 analog output
add two analog values
output = input1 + input2
2.6.2 Subtraction
library entry:
length:
inputs:
outputs:
purpose:
FncSub
12 bytes
2 analog inputs
1 analog output
subtract two analog values
output = input1 – input2
2.6.3 Multiplication
library entry:
length:
inputs:
outputs:
purpose:
FncAdd
12 bytes
2 analog inputs
1 analog output
multiply two analog values
output = input1 × input2
2.6.4 Division
library entry:
length:
inputs:
outputs:
purpose:
FncDiv
12 bytes
2 analog inputs
1 analog output
divide two analog values
output = ( input1 ) ⁄ ( input2 )
2-14
S57901 User Manual
Mathematical Functions
2.6.5 Linear Transformation
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncNormAB
22 bytes
1 analog input
1 analog output
time mask, A and B
transform a measurement value
This function performs a linear transformation of the input at the specified cycles.
output = A × input + B
2.6.6 Logarithm
library entry:
length:
inputs:
outputs:
purpose:
FncLog
10 bytes
1 analog input
1 analog output
calculate the logarithm of an analog value
output = log ( input )
2.6.7 Sine
library entry:
length:
inputs:
outputs:
purpose:
FncSin
10 bytes
1 analog input
1 analog output
calculate the sine of an analog value
output = sin ( input )
2.6.8 Cosine
library entry:
length:
inputs:
outputs:
purpose:
FncCos
10 bytes
1 analog input
1 analog output
calculate the cosine of an analog value
output = cos ( input )
S57901 User Manual
2-15
Function Block Description
2.6.9 Square Root
library entry:
length:
inputs:
outputs:
purpose:
FncSqrt
10 bytes
1 analog input
1 analog output
calculate the square root of an analog value
output =
input
2.6.10 Square
library entry:
length:
inputs:
outputs:
purpose:
FncX2
10 bytes
1 analog input
1 analog output
calculate the square of an analog value
output = ( input ) 2
2.6.11 Arcus Tangens
library entry:
length:
inputs:
outputs:
purpose:
FncAtan
10 bytes
1 analog input
1 analog output
calculate the arcus tangens of an analog value
output = atan ( input )
2.6.12 Absolute Value
library entry:
length:
inputs:
outputs:
purpose:
FncAbs
10 bytes
1 analog input
1 analog output
calculate the absolute value of an analog value
output = input
2-16
S57901 User Manual
Mathematical Functions
2.6.13 Analog Constant
library entry:
length:
outputs:
parameters:
purpose:
FncAnConst
10 bytes
1 analog output
the analog value to be set
set the output to a constant value
output = parameter
2.6.14 Differenciator
library entry:
length:
inputs:
outputs:
purpose:
FncDNNDT
14 bytes
1 analog input
1 analog output
calculate the changing of an analog value
output = ( ∂n ) ⁄ ( ∂t )
The output is the changing of the input per second. It is calculated each cycle.
2.6.15 Exponential Function with Base as Variable
library entry:
length:
inputs:
outputs:
purpose:
FncPow
12 bytes
2 analog inputs
1 analog output
calculation of x to the power of y
output = x y
2.6.16 Exponential Function with Constant Base
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncExpo
14 bytes
1 analog input
1 analog output
base
calculation of n to the power of x
output = n x
S57901 User Manual
2-17
Function Block Description
2.6.17 Integer Value of an Analog Variable
library entry:
length:
inputs:
outputs:
purpose:
FncInt
10 bytes
1 analog input
1 analog output
calculation of the integer part of an analog variable
output = floor ( input )
The value of the analog input is truncated to the next smaller integer value, e.g.:
Input Value
Output Value
0
0
3.14
3
-5.23
-5
2.6.18 Calculation in Dependence of Digital Input
library entry:
length:
inputs:
outputs:
parameters:
purpose:
Fnccreq
24 bytes
1 analog input
1 digital input
1 analog output
kind of operation, operators
calculation dependent of digital value
For each state of the digital input the operation (addition, multiplication) and the value
of the operator may be selected. So it is possible to e.g. invert the signal at one time and
add an offset at another time.
2-18
S57901 User Manual
Multiplexer Functions
2.7 Multiplexer Functions
2.7.1 Digital Multiplexer
library entry:
length:
inputs:
outputs:
purpose:
FncDgMux
32 bytes
12 digital inputs
one digital output
select one of eight inputs
The binary value of the 3 address inputs refers to one of the eight digital inputs. If the
enable input is TRUE, the output is set due to the value of the selected input. Otherwise
the output is left unchanged. This allows to connect more than one multiplexer output
together (tristate output).
2.7.2 Digital Demultiplexer
library entry:
length:
inputs:
outputs:
purpose:
FncDgDemux
32 bytes
5 digital inputs
8 digital output
select one of eight outputs
The binary value of the 3 address inputs refers to one of the eight digital outputs. If the
enable input is TRUE, the selected output is set due to the value of the input. Otherwise
the output is left unchanged. This allows to connect more than one demultiplexer output
together (tristate output).
2.7.3 Analog Multiplexer
library entry:
length:
inputs:
outputs:
purpose:
FncAnMux
32 bytes
8 analog inputs
4 digital inputs
one analog output
select one of eight inputs
The binary value of the 3 address inputs refers to one of the eight digital inputs. If the
enable input is TRUE, the output is set due to the value of the selected input. Otherwise
the output is left unchanged. This allows to connect more than one multiplexer output
together (tristate output).
S57901 User Manual
2-19
Function Block Description
2.7.4 Analog Demultiplexer
library entry:
length:
inputs:
outputs:
purpose:
FncAnDemux
32 bytes
1 analog input
4 digital inputs
8 analog output (tristate)
select one of eight outputs
The binary value of the 3 address inputs refers to one of the eight digital outputs. If the
enable input is TRUE, the selected output is set due to the value of the input. Otherwise
the output is left unchanged. This allows to connect more than one demultiplexer output
together (tristate output).
2-20
S57901 User Manual
Compare Functions
2.8 Compare Functions
All compare functions have their input 1 above their input 2.
2.8.1 Greater Than
library entry:
length:
inputs:
outputs:
purpose:
inputs
FncGT
12 bytes
2 analog inputs
1 digital output
compare two analog values
output
in1 > in2
1
in1 ≤ in2
0
2.8.2 Greater or Equal
library entry:
length:
inputs:
outputs:
purpose:
FncGE
12 bytes
2 analog inputs
1 digital output
compare two analog values
inputs
output
in1 Š in2
1
in1 < in2
0
2.8.3 Equal
library entry:
length:
inputs:
outputs:
purpose:
FncEQ
12 bytes
2 analog inputs
1 digital output
compare two analog values
inputs
output
in1 ≡ in2
1
in1 ≠ in2
0
This function should be used with care because two floating values seldom appear to be
equal. Usually the functions FncGT and FncLT should be used to build a comparing
function.
S57901 User Manual
2-21
Function Block Description
2.8.4 Less or Equal
library entry:
length:
inputs:
outputs:
purpose:
FncLE
12 bytes
2 analog inputs
1 digital output
compare two analog values
inputs
output
in1 ≤ in2
1
in1 > in2
0
2.8.5 Less Than
library entry:
length:
inputs:
outputs:
purpose:
inputs
FncLT
12 bytes
2 analog inputs
1 digital output
compare two analog values
output
in1 < in2
1
in1 Š in2
0
2.8.6 Not Equal
library entry:
length:
inputs:
outputs:
purpose:
2-22
FncNE
12 bytes
2 analog inputs
1 digital output
compare two analog values
inputs
output
in1 ≠ in2
1
in1 ≡ in2
0
S57901 User Manual
Compare Functions
2.8.7 Compare with Hysteresis
library entry:
length:
inputs:
outputs:
parameters:
purpose:
Fnccohy
18 bytes
2 analog inputs
1 digital output
hysteresis, operation
compare two values
The output depends of the input values and of the kind of operation. The hysteresis
avoids fast output changes if the input values are nearly the same.
2.8.8 Minimum
library entry:
length:
inputs:
outputs:
purpose:
FncMin
12 bytes
2 analog inputs
1 analog output
select minimum of two inputs
inputs
output
in1 < in2
input 1
in1 > in2
input 2
2.8.9 Maximum
library entry:
length:
inputs:
outputs:
purpose:
FncMax
12 bytes
2 analog inputs
1 analog output
select maximum of two inputs
inputs
output
in1 > in2
input 1
in1 < in2
input 2
S57901 User Manual
2-23
Function Block Description
2.8.10 Limiter
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncLim
22 bytes
1 analog input
1 analog output
2 digital output
Maximum
Minimum
limiting of the input value
If the input exceeds the maximum parameter, the digital output + is set and the output
value becomes the maximum parameter. If the input value is less than the minimum
parameter, the digital output - is set and the output value equals the minimum parameter.
2.8.11 Storage of Extreme Values
library entry:
length:
inputs:
outputs:
purpose:
FncStore
14 bytes
1 analog input
1 digital input (reset)
2 analog outputs
Storage of the maximum and of the minimum
The analog output Max stores the maximal value of the input signal while the analog
output Min stores the minimal value. If the rst input is TRUE, both Min and Max output
follow the input signal.
2-24
S57901 User Manual
Switches
2.9 Switches
2.9.1 Enable
library entry:
length:
inputs:
FncEnable
12 bytes
1 analog inputs
1 digital input
1 analog output (tristate)
enable an analog output
outputs:
purpose:
input ENA
output
TRUE
≡ input
FALSE
tristate
2.9.2 Analog Switch
library entry:
length:
inputs:
FncAnaSw
14 bytes
2 analog inputs
1 digital input
1 analog output
select an analog output
outputs:
purpose:
input ENA
output
TRUE
input 1
FALSE
input 0
2.9.3 Minimum with Enable
library entry:
length:
inputs:
FncMinEna
14 bytes
2 analog inputs
1 digital input
1 analog output (tristate)
select minimum
outputs:
purpose:
enable
analog inputs
output
TRUE
in1 < inref
in1
TRUE
in1 > inref
inref
FALSE
don’t care
tristate
S57901 User Manual
2-25
Function Block Description
2.9.4 Maximum with Enable
library entry:
length:
inputs:
FncMaxEna
14 bytes
2 analog inputs
1 digital input
1 analog output (tristate)
select maximum
outputs:
purpose:
enable
analog inputs
output
TRUE
in1 > inref
in1
TRUE
in1 < inref
inref
FALSE
don’t care
tristate
2.9.5 Soft Switch
library entry:
length:
inputs:
FncSoftSw
96 bytes
2 analog inputs
1 digital input
1 analog output
delay time
number of filter points
maximum difference for filtering
time mask for filter
select an analog output
outputs:
parameters:
purpose:
input ENA
output
TRUE
input 1
FALSE
input 0
This function implements a filter if it switches the inputs. As long as the difference
between the output value and the value of the selected input exceeds the parameter
“diff”, the input is filtered before it is put to the output. This filter may be adjusted to
use 2, 4, 8 or 16 steps until the output becomes equal to the input. It behaves like the
function block “Filter” on page 2-35 which always uses eight steps. After the specified
number of cycles after a switching, specified by the parameter “delay”, the output follows the selected input.
2-26
S57901 User Manual
Regulators
2.10 Regulators
2.10.1 PID Regulator
library entry:
length:
inputs:
outputs:
purpose:
FncPID
50 bytes
2 analog inputs
1 digital input (enable)
1 analog output (tristate)
2 digital outputs (tristate)
This function behaves like a PID regulator.
“M” is the measured analog input, and “s” is the analog input representing the value that
should be achieved. The digital input “e” is used to enable the PID regulator. If the output value is higher than the defined upper limit (constant ul), the digital output “u” is
set. If the output value is lower than the defined lower limit (constant ll), the digital output “l” is set. The output “o” is calculated according to the following formula:
o = proportional + integral + der
proportional = (s - m) × p
integral = integral + (s - m) × i
der = ((s - m) - dp) × d
dp = s - m
with:
p - proportional value specified as a constant
i - integral value specified as a constant
d - derivative value specified as a constant
2.10.2 PID Regulator with Enable I and D
library entry:
length:
inputs:
outputs:
purpose:
FncPID_1D
54 bytes
2 analog inputs
2 digital inputs (enable)
1 analog output (tristate)
2 digital outputs (tristate)
This function behaves like a PID regulator.
The functionality of this regulator is the same as the one described previously. This
function allows to disable the integral or the derivational part of the regulator by putting
FALSE to the respective enable input.
S57901 User Manual
2-27
Function Block Description
2.10.3 Parametric PID Regulator
library entry:
length:
inputs:
outputs:
purpose:
FncPID_2
54 bytes
5 analog inputs
1 digital input (enable)
1 analog output (tristate)
2 digital outputs (tristate)
This function behaves like a PID regulator.
The functionality of this regulator is the same as the one described previously. This
function takes the parameters for proportional, integral and derivational part from the
respective analog inputs. This allows to build adaptive regulators.
2.10.4 2 Point PID Regulator
library entry:
length:
inputs:
outputs:
purpose:
Fnc2PID
46 bytes
2 analog inputs
1 digital input (enable)
1 digital output (tristate)
This function behaves like a PID regulator.
This function produces a digital output o with PID behaviour. “M” is a measured analog
input, and “s” is the analog input representing the value that should be achieved. The
digital input “e” is used to enable the PID regulator.
This function block is not implemented in the current firmware version.
2.10.5 3 Point PID Regulator
library entry:
length:
inputs:
outputs:
purpose:
Fnc3PID
74 bytes
2 analog inputs
1 digital input (enable)
2 digital outputs (tristate)
This function behaves like a PID regulator.
This function produces two digital outputs with 3 point PID behaviour. “M” is a measured analog input, and “s” is the analog input representing the value that should be
achieved. The digital input “e” is used to enable the PID regulator.
2-28
S57901 User Manual
Regulators
2.10.6 PI Regulator
library entry:
length:
inputs:
outputs:
purpose:
FncPI
42 bytes
2 analog inputs
1 digital input (enable)
1 analog output (tristate)
2 digital outputs (tristate)
Behaves like a PID regulator with no derivational part.
2.10.7 PI Regulator with Enable I
library entry:
length:
inputs:
outputs:
purpose:
FncPI_1
44 bytes
2 analog inputs
2 digital inputs (enable)
1 analog output (tristate)
2 digital outputs (tristate)
Behaves like a PID regulator with no derivational part.
The integral part of this regulator may be disabled by a logical FALSE (0) at the appropriate enable input.
2.10.8 Parametric PI Regulator
library entry:
length:
inputs:
outputs:
purpose:
FncPI_2
38 bytes
4 analog inputs
1 digital input (enable)
1 analog output (tristate)
2 digital outputs (tristate)
Behaves like a PID regulator with no derivational part.
The functionality of this regulator is the same as the one described previously. This
function takes the parameters for proportional and integral part from the respective analog inputs. This allows to build adaptive regulators.
S57901 User Manual
2-29
Function Block Description
2.11 General Functions
2.11.1 Counter
library entry:
length:
inputs:
outputs:
purpose:
FncCounter
14 bytes
2 digital inputs
1 analog output
This function counts the clock cycles at which the input “I” is TRUE. If the reset input
“R” is TRUE, the output is reset to 0.
2.11.2 Analog Delay
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncAnDelay
40 bytes
1 analog inputs
4 analog outputs
no. of cycles to delay
delay the analog input
On output 1 the input signal is delayed the specified number of cycles. The other outputs delay 2, 4 and 8 times the number of specified cycles, respectively. Note that the
input is scanned only at the specified intervals so fast changes of the input signal do not
appear on the outputs.
output
delay
output 1
1 ∗ no of specified cycles
output 2
2 ∗ no of specified cycles
output 3
4 ∗ no of specified cycles
output 4
8 ∗ no of specified cycles
2.11.3 Analog Shift Register
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncShift
38 bytes
2 analog inputs
3 digital inputs
8 analog outputs
reset at state or rising edge of the digital set input
delay of the analog input signal
At each rising edge of the digital input clk the input signal will be shifted through the
function block. That means that output 8 gets the value of output 7, output 7 gets the
value of output 6 and so on. Finally output 1 gets the value of the analog input in. If ena
2-30
S57901 User Manual
General Functions
is not TRUE, the outputs are tristate. If the digital input set is TRUE or gets a rising
edge, all outputs are set to the value of the analog input set. The set input has higher priority than the clock input.
2.11.4 Analog Dual-Port Shift Register / Stack
library entry:
length:
inputs:
outputs:
purpose:
FncASR
174 bytes
1 analog input
1 digital input to store data
5 digital inputs to read data
3 analog outputs
1 digital output
store up to 16 values
The input clr clears the memory.Each rising edge of the upper input “+” stores the
input value and increments the upper output “n” until the maximum of 16 is reached.
At the rising edge of the input out the last stored value is put to the output. Each rising
edge of the input “-” outputs the previous value and increments the lower output “n”
until the last value is reached. Then the output “x” is also set. The inputs “+” (lower),
and pr are not implemented in the moment.
2.11.5 Digital Shift Register
library entry:
length:
inputs:
outputs:
purpose:
FncDgShi
146 bytes
1 analog input
2 digital inputs
1 digital output
Delay of the digital input due to the value
of the analog input.
At each rising edge of the digital input clk the digital input signal is shifted through the
function block. The analog input defines after how many clock cycles the input is put to
the output. If the analog input is less or equal to 0, the input is put to the output at the
next rising edge of the clock input. If the analog input is greater than 0, the input is
delayed for 1 to a maximum of 1024 clock cycles.
S57901 User Manual
2-31
Function Block Description
2.11.6 Interpolation
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncInterp
90 bytes
1 analog input
1 analog output
10 points for interpolation curve
interpolation of input
10 x values and 10 y values specify 10 points. The input value is linear interpolated
between the two neighboured x values.
2.11.7 Parametric Interpolation Type 1
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncInter1
42 bytes
15 analog input
1 analog output
time mask
interpolation of input
This type of interpolation function calculates 12 equally distant values for the x axis
between the values from the x inputs. For each calculated x value the y value is taken
from the appropriate input. The output is calculated at the specified times.
Note that if the difference between the two x inputs is zero, the output becomes undefined.
2.11.8 Parametric Interpolation Type 2
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncInter2
100 bytes
13 analog input
1 analog output
time mask and XMIN, XMAX
interpolation of input
This type of interpolation function calculates 12 equally distant values for the x axis
from the parameters XMIN and XMAX the first time this function is called. For each calculated x value the y value is taken from the appropriate input. The output is calculated
at the specified times. This function is considerably faster than “Parametric Interpolation Type 1” on page 2-32.
Note that if the difference between the two x parameters is zero, the output becomes
undefined.
2-32
S57901 User Manual
General Functions
2.11.9 Radius
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncRadius
30 bytes
2 analog inputs
2 analog outputs
time mask, thick count and norm factor
calculate radius and media thickness from velocity and rpm.
This is a special function block. If you reel some kind of media onto a roll and you are
able to measure the velocity of the media and the rounds per minute of the roll, this
function may be used to calculate the actual radius of the roll and the thickness of the
medium. The following calculations are performed:
radius = velocity / rpm
thickness = norm × (∆ radius) / rpm
The thickness is calculated only at specified intervals. The parameter “thick count”
specifies the number of cycles to wait between two such calculations.
2.11.10 Slope
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncSlope1
38 bytes
1 analog inputs
3 digital inputs
2 analog outputs
time mask, step and two limits
Build a slope.
If the “set” input is TRUE, the value from the analog input is put to the analog output.
After the “set” input became FALSE, the function starts to work. At each specified
cycle the digital inputs are checked. if the input “+” is TRUE, the output is increased by
the value of the parameter “step”. If the input “-” is TRUE, the output is decreased by
the same value. So if both inputs are TRUE, the output will not change. If the output
exceeds either the lower or the upper limit, the respective digital output becomes TRUE.
2.11.11 Slope Type 2
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncSlp2
20 bytes
2 analog inputs
1 analog outputs
time mask
Build a slope.
At the rising edge of the “set” input, the value from the analog input S is put to the analog output. At each specified cycle the value from the input slp is added to the output.
S57901 User Manual
2-33
Function Block Description
2.11.12 Integrator
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncIntegr
36 bytes
2 analog inputs
1 digital input
1 analog output
2 digital outputs
time mask, factor and two limits
Build a slope.
If the “set” input is TRUE, the value from the analog input “S” is put to the analog output. After the “set” input became FALSE, the function starts to work. At each specified
cycle the analog input “±” is multiplied by factor and added to the output. If the output
exceeds either the lower or the upper limit, the respective digital output becomes TRUE.
2.11.13 Limited Slope
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncSlope2
38 bytes
1 analog input
1 analog output
time mask, limit
Build a slope.
This function limits the speed of output changes. If the input step is smaller than the
parameter “limit”, the output will follow the input. If the input step is larger, the output
will be increased or decreased only by the value of “step”. So this function works like a
low pass filter.
input
cycles
output
stepmax
cycles
2-34
S57901 User Manual
General Functions
2.11.14 Filter
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncFilter
48 bytes
1 analog input
1 analog output
time mask
Limit edges.
This function limits the speed of output changes.
input
cycles
output
cycles
2.11.15 Analog Digital Converter
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncAdc
28 bytes
1 analog input
4 digital outputs
time mask, threshold, step
Convert analog to digital.
This function converts the analog input into one of 16 digital values. If the analog value
is less than “threshold + step”, all digital outputs will be 0. If the analog input exceeds
“threshold” + n * “step”, the digital outputs are set to represent the binary value n.
S57901 User Manual
2-35
Function Block Description
2.11.16 Function Generator
library entry:
length:
inputs:
outputs:
parameters:
purpose:
FncFGen
68 bytes
4 analog inputs
1 digital inputs (enable)
3 analog outputs
2 digital outputs
amplitude, offset, frequency, duty cycle
factors of control inputs
time mask
generation of signals
This function generates sine, triangle and rectangle signals, respectively. The trigger
output becomes one at every start of a cycle. The enable input has to be one to calculate
this function. The control inputs may be used to change the parameters of the output signals.
2.11.17 Rounding
library entry:
length:
inputs:
outputs:
purpose:
FncRound
32 bytes
7 analog inputs
1 digital input (enable)
1 analog output
2 digital outputs (limit reached)
rounding of an input jump
The first input receives the signal which should be rounded. Inputs 2 and 3 are used to
limit the output signal - if the output is limited, the appropriate digital output will be set.
At inputs 4 and 5 the maximum changing of the output signal per second has to be set
for rising and falling edges, respectively. The inputs 6 and 7 get the time (in seconds)
for the upper and lower rounding, respectively. These times should not differ too much
to assure proper functionality.
If the digital input is set to FALSE, the output value will be the same as the input value;
the function is turned off.
2.11.18 Operating Time Counter
library entry:
length:
inputs:
outputs:
purpose:
FncBCnt
20 bytes
2 digital inputs
3 analog outputs
counting of operating time
The reset input is used to clear the sum counter. The day and week counters are cleared
at midnight (the week counter sunday, 0:00) if the user software is running at this time.
The resolution of the counter is one minute, the output values are hours.
2-36
S57901 User Manual
General Functions
2.11.19 Calendar
library entry:
length:
outputs:
purpose:
FncCalendar
18 Bytes
6 analog outputs
output of date and time
At the output s the actual second (0..59) is written.
At the output m the actual minute (0..59) is written.
At the output h the actual hour (0..23) is written.
At the output D the actual date (1..31) is written.
At the output M the actual month (1..12) is written.
At the output WD the actual week day (0..6) is written.
weekday
output
Sunday
0
Monday
1
Tuesday
2
Wednesday
3
Thursday
4
Friday
5
Saturday
6
The values may be used to turn on other function blocks or they may be displayed at the
programmable terminal S83010.
2.11.20 LED-Controller
library entry:
length:
inputs:
outputs:
purpose:
FncLED
40 bytes
8 digital inputs
1 analog outputs
generation of signals for S9704 Bicolour LEDs
For each connected input one of several kinds of LED states may be selected. If no input
is TRUE, the LED remains dark, otherwise it glows or blinks in dependence of the input
value with the highest priority. Beside permanent glowing, blinking or pulsating also
the colour may be selected. The output of this block is connected directly to the input of
the LED output function. If this function block is used for S5612 LEDs, the colours are
ignored. On this device the used channel selects one of the four green LEDs followed by
three yellow and finally one red LED.
S57901 User Manual
2-37
Function Block Description
2.11.21 Advanced Analog-/Digital-Counter
library entry:
length:
inputs:
outputs:
purpose:
FncCntAV
46 bytes
2 analog inputs
4 digital inputs
9 analog outputs
counting of digital pulses or of the difference value of
a counter input
At the rising edge of the period input (bottom most) the actual counter value is stored.
The output “s” contains the start value, the output “e” contains the end value of the last
period with the corresponding time values (green outputs).
The measurement window input parts a measurement periode in several windows. The
pulses are counted for such a window and compared with the maximum value of the
actual period. If it is larger than this maximum, it is stored with the current time and
becomes the new maximum at the output “m”.
The input “*” has to contain a multiplication factor for the input. Additionally the output ”c” contains the current value and the autput “l” contains the value of the last window. The counter output is tristate and may be preset. The time outputs may be used to
display the time with the function block “Calendar” on page 2-37. The input clr is used
to slear the value of the current window..
2.11.22 Up-/Down Counter with Limit
library entry:
length:
inputs:
outputs:
purpose:
FncCntUD
24 Bytes
3 analog inputs
4 digital inputs
1 analog output
counting of digital Pulses
If the input clr is TRUE, the output is set to zero. If the input set is TRUE, the value of
the analog input Set is put to the output.
If none of these inputs is TRUE, the output is incremented at each rising edge of the
input “+”, it is decremented at each rising edge of the input “-”.
If the output becomes larger than the value of the input max, it is set to this value. If the
output becomes less than the value at the input min, it is set to that value.
2-38
S57901 User Manual
General Functions
2.11.23 Digital Analog Converter
library entry:
length:
inputs:
outputs:
purpose:
FncDac
10 bytes
1 digital input
1 analog output
Convert digital to analog.
This function converts the digital input into an analog value of either 0 or 1.0.
S57901 User Manual
2-39
Function Block Description
2.12 Functions for Communication
2.12.1 Message
library entry:
length:
inputs:
parameters:
purpose:
FncMessage
144 bytes
1 analog input
1 digital input
message, dial string, repeat count, time, modem flag
send a message
The ISDN-Option is available only for controllers with built in ISDN.
This function sends a message to the serial port or to the ISDN interface, if available. At
the rising edge of the digital input the value from the analog input is appended to the
defined message. If “modem flag” is FALSE, this message is put to the serial port. If
“modem flag” is TRUE, the “dial- string” is used to dial with the connected modem. If
the connection fails, the specified number of retries is done with “time” seconds
between. The messages are sent in background so the normal cycles are not disturbed.
This function may fail if too many messages were generated and are not yet sent. Therefore a minimum time between two rising edges of the digital input signal should be
assured.
This function block may be used to control several displays at the serial interface. The
option “formatted message” is used for this purpose. It is possible to show the analog
value with a fixed format preceded and/or followed by up to 4 bytes.
If a built in ISDN interface is available, an optional data connection to another ISDNdevice is built and the message is sent using X.75 protocol on the B-channel. After
sending the message and receiving the acknowledge from the X.75 link, the connection
is finished.
It is also possible to send a message to the event log. The message has to be preceded by
a unique number followed by a colon, e.g.
123: MESSAGE FROM ABC
The number is not part of the message; it must have a unique value for each used function block sending to the event log.
2-40
S57901 User Manual
Functions for Communication
To send a message to the alphameric display of the controller S5614 the option “event
log” is used, too. The unique number and the colon are not used in this case. Short messages will be shown static while longer messages will scroll through the display. It is
possible to include date and time information using the ‘$’ escape character:
character
example
output
example
Y
$Y
year
97
M
$M
month
02
D
$D
day
25
h
$h
hour
08
m
$m
minute
02
s
$s
second
59
d
$dd
day
Mon
y
$yy
month
Feb
If the last sequence of the message is “$!” the message will be put to the display immediately. Usually system messages like “case open” or “ISDN not connected” have
higher priority.
To send a message to the display of a remote S5614 controller, a message beginning
with TDIS may be sent using the ISDN option. This message will be shown once. If the
message starts with TALA it will be shown permanently until cleared by an empty
TDIS message. These messages have higher priority than messages from the user software. The control characters mentioned above are not useable in this case.
2.12.2 Display Control for S5614
library entry:
length:
inputs:
purpose:
FncDisp
82 bytes
1 digital input
5 analog inputs
display of analog values, date and time on S5614
Each rising edge of the digital input generates a message to the display.If it contains
more than 16 characters, it will be schown running through the display.
A maximum of 4 values may be included into the text. If the input time contains a time
value from “Calendar” on page 2-37 , this time is used instead of the current system
time. To include a value into the text, the sequence %<N>.<n>f is used. <N> is the
number of digits, <n> is the number of digits after the decimal point. Valid sequences
are e.g: %8.3f %5.0f etc. These sequences are replaced by the values of the analog
inputs. The length of the generated string must not be longer than 250 characters..
See the table above for date and time sequences.
S57901 User Manual
2-41
Function Block Description
2.12.3 Display of Constant Texts for S5614
library entry:
length:
inputs:
purpose:
FncDsptx
168 bytes
10 digital inputs
1 analog input
display of text on S5614
The input time indicates the duration for each text in seconds. The enable input On is
used to activate this function block. If the start input is set, the display of texts starts for
all ativated inputs one after the other. After display of the last text is finished the digital
output is set to allow starting of another of these function blocks. To each input a text of
up to 16 characters may be assigned. If an input is not connected, the previous input
may get accordingly more characters assigned.
2-42
S57901 User Manual
ISDN Communication Functions
2.13 ISDN Communication Functions
All the ISDN function blocks are supported only by controllers featuring a built in
ISDN interface.
2.13.1 Configuration of the ISDN Interface
library entry:
length:
inputs:
parameters:
purpose:
FncISDNc
12 bytes
1 digital input
optional connections, layer 2 behaviour
setting of ISDN parameters
It is possible to select if one, two or no optional connections at all are allowed. Optional
connections are all connections which are not used to transfer data between function
blocks, e.g. configuration calls or speech calls using the S9931 A/B adapter. Incoming
and outgoing calls may be allowed or denied separately.
It is also possible to select automatic reactivation of the signalling link. This allows
faster building of connections.
Upon reception of a datetime INFO -signal from ISDN, the real time clock may be
updated if the difference exceeds one and a half minute.
2.13.2 State of an ISDN Channel
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncISDNs
24 bytes
1 analog input
1 digital input
1 analog output
5 digital outputs
ISDN channel
showing the ISDN state, disconnecting a call
The parameter or the Ch input selects one of the B-channels. There are two channels
available which may have a connection independently. If both B-channels are in use, an
additional incoming call may be detected (knocking). The SETUP message contains
information about the kind of the call (data, configuration, speech). The disconnect
input may be used to disconnect a call. Only a calls with the corresponding output connected to a wire will be disconnected.
S57901 User Manual
2-43
Function Block Description
2.13.3 Exchange of Digital Data
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncISDNd
120 bytes
8 digital inputs
1 analog output
11 digital outputs
ISDN number, block identification
data exchange with a remote controller
Each of two independent systems featuring ISDN uses one of these function blocks. The
ISDN number of the remote station and a unique block identification are the parameters
to identify the partner. The digital data outputs represent the input values of the remote
function block and vice versa. The data transfer may be requested by the external connect input or done automatically if one of the input values changes. Upon request or
when the data values are stable for some time the transfer is disconnected. The control
outputs show the state of the connection.
A data connection will be disconnected if the user software is loaded but it will
remain connected if the user program segment containing this function block is
disabled.
If the option “pulses” is selected, upon each rising edge of the remote input signal a
pulse at the appropriate output line of the function block will be generated for one clock
cycle. This option has no influence of the behaviour of the remote function block.
The control output SS becomes TRUE after the SETUP message to the remote station is
delivered. After reception of CALL PROCEEDING the output CP becomes TRUE.
After the remote controller has answered the SETUP message with ALERTING or
CONNECT the output AL will become TRUE. After reception of an incoming call the
output SR will become TRUE. After building the data link to the remote station the output connected is TRUE.
After disconnecting the link all control outputs become FALSE.
The output Ch-ID is -1 if no B channel is used by this function block. Otherwise it will
be 0 or 1 and may be used to indicate the occupied B channel to another function block
like “State of an ISDN Channel”. The value 2 means reception of data without connection through the “knocking” feature when both channels are used otherwise.
The following parameters are necessary for this function block:
• ISDN-number: following the number a comment may be entered. It has to be separated by ‘#’. An asterisk (‘*’) may be used to suppress comparing the following
numbers upon reception of a call. This is necessary if the calling MSN is not the
same as the receiving MSN.
• Block identification: 5 numeric digits which have to be the same at the two function blocks which should exchange data.
• Automatic setup: The remote station will be called after a change of an input value
is detected.
2-44
S57901 User Manual
ISDN Communication Functions
• Automatic disconnect: If the transmitted and the received data do not change for up
to 5 minutes the data link will be disconnected.
• Master/slave: If both sides initiate a call at the same time the master refuses to
accept the incoming call to avoid two connections to the same remote controller at
the same time.
• Alerting before disconnect: if all input signals are FALSE an incoming call with
data TRUE will be refused if the appropriate option of the ISDN configuration is
enabled. Sending ALERTING before DISCONNECT allows the remote controller
to recognize the reception of the SETUP message.
• Pulses on output: After reception of TRUE data signals, the outputs are activated
for one cycle only. Otherwise the output signals will be cleared after reception of
FALSE data signals.
2.13.4 Exchange of Analog Data
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncISDNa
168 bytes
6 analog inputs
2 digital inputs
7 analog outputs
5 digital outputs
ISDN number, block identification
data exchange with a remote controller
Each of two independent systems featuring ISDN uses one of these function blocks. The
ISDN number of the remote station and a unique block identification is the parameter to
identify the partner. The digital data outputs represent the input values of the remote
function block and vice versa. The data transfer may be requested by the external connect input or done automatically if one of the input values changes. Upon request or
when the data values are stable for some time the transfer is disconnected. The control
outputs show the state of the connection.
A data connection will be disconnected if the user software is loaded but it will
remain connected if the user program segment containing this function block is
disabled.
The control output SS becomes TRUE after the SETUP message to the remote station is
delivered. After reception of CALL PROCEEDING the output CP becomes TRUE.
When he remote controller has answered the SETUP message with ALERTING or
CONNECT the output AL will become TRUE. After reception of an incoming call the
output SR will become TRUE. After building the data link to the remote station the output connected is TRUE. After disconnecting the link all control outputs are FALSE.
The output Ch-ID is -1 if no B-channel is used by this function block. Otherwise it will
be 0 or 1 and may be used to indicate the occupied B channel to another function block
like “State of an ISDN Channel”.
S57901 User Manual
2-45
Function Block Description
The following parameters are necessary for this function block:
• ISDN-number: following the number a comment may be entered. It has to be separated by ‘#’. An asterisk (‘*’) may be used to suppress comparing the following
numbers upon reception of a call. This is necessary if the calling MSN is not the
same as the receiving MSN.
• Block identification: 5 numeric digits which have to be the same at the two function blocks which should exchange data.
• Automatic setup: The remote station will be called after a change of an input value
is detected which is greater than the threshold value.
• Automatic disconnect: If the transmitted and the received data do not change for up
to 5 minutes the data link will be disconnected.
• Master/slave: If both sides initiate a call at the same time the master refuses to
accept the incoming call to avoid two connections to the same remote controller at
the same time.
2.13.5 Charges of an ISDN Connection
library entry:
length:
inputs:
outputs:
parameter:
purpose:
FncISDNk
28 bytes
1 digital input
4 analog outputs
ISDN channel, behaviour upon program update
showing connection fees
The parameter “channel “selects one or both of the B channels. The outputs show the
charges for data connections and optional connections and the sum of both. The fee of
the current connection is also shown. This output is zero if no connection is present. The
value is in local currency. The digital input clr is used to reset the outputs. One of the
parameters select if the charges should be cleared after loading of a new user program or
if they should be kept.
2-46
S57901 User Manual
CHAPTER 3
Programming
The SEAL S57901 Software is the tool for programming, compiling, downloading,
debugging and for all operations with buffers.
3.1 Hardware Requirements
To run S57901 software you need at least the following hardware components:
•
•
•
•
•
•
PC IBM-AT or compatible personal computer with 4MB RAM
Hard disk
EGA or VGA video interface card and monitor
Microsoft compatible mouse
DOS 3.3 or upwards
Microsoft Windows 3.0 or upwards (3.1 recommended)
3.2 Getting Started
Creating your own programs for your SEAL control device is very simple. Start as follows:
• Connect the S5701 box to your PC using a standard male-female cable (NOT
crossed).
• Install the software (if not installed), using Microsoft SETUP.EXE from the Windows Program Manager.
• Start the program S57901
S57901 User Manual
3-1
Programming
3.3 Programming Manager
After starting the SEAL S57901 software, a small window appears which allows the
management of your projects. At first configure your hardware requirements. After that
select a program file and start the program editor. Draw your program and save it. Calling the compiler generates the loadable files from your configuration and user program.
These may be sent to S5701. After the program is loaded, the debug option allows to
watch and set variables of your user program. If you are satisfied with the results, the
PC may be disconnected from S5701.
Next, you will find a short description of the menu items of the programming manager.
FIGURE 32
Programming Manager Window
3.3.1 Project
• New
Creation of a new project. You will be asked for a configuration and a user program
to be used.
• Open
You may select one of the available projects. A project contains a configuration file
which describes the hardware and a set of up to 10 program files, one for each segment.
• Save or Save As ...
Allows to save the current project.
• Delete
You may delete all dependent files (files generated by the compiler) to save disk
space. You may also delete the buffer files or a whole project.
• Print
The print option allows to print the cross reference lists or the I/O configuration if
you selected DISPLAY CROSS REFERENCE or DISPLAY I/O REFERENCE
from the PERFORM menu before starting the compiler.
3.3.2 Configuration
• Set
A standard file selection menu allows to select a configuration file. Standard config-
3-2
S57901 User Manual
Programming Manager
urations are supported by the software. Entering a new name allows to create a new
configuration. The current configuration may be saved using a new name, too.
• Edit Configuration
In this window you can generate the desired hardware configuration for your own
program. In the top left corner of the window the PC is displayed. Double-clicking it
with the left mouse button allows to select an I/O port (COM1 or COM2) and a baud
rate (usually 9600, 2400 for modem operation). Selecting “Devices”, you choose
your hardware and put it into the window pressing the right mouse button. Doubleclicking a specific hardware allows to select cycle time and address. The default
cycle time is set to 100ms. Selecting a wrong cycle time does not affect the functionality of your software, but selecting time masks in the function configurations will
then show wrong entries. In any way the fastest time mask will be the same as the
cycle time of the hardware. The selected address of the master device (S5701,
S5703, S5610 or S67001) has to be 1, the addresses of token bus modules may be
any value greater than 5 and must be the same as selected at the dip-switches of the
corresponding hardware. Extension modules which are connected to other devices
using the serial extension bus must be addressed following the address of the device
to which they are connected. After saving this configuration and exiting the configuration editor, this configuration is available for your program files. The program editor needs this configuration to be aware of available in- and outputs.
• PC Configuration
This is a quick way to select port and baud rate of the PC. Use it if you developed
the program on another PC and now want to send it to S5701 which is not connected
to the same port as it has been at the development PC.
• S83010 Configuration
As a user interface to S5701, the SEAL industrial terminal S83010 may be used.
The graphic LCD display may be configured freely and then down-loaded to the display. This software is described in “Programming of S83010” on page 4-2.
3.3.3 Program
• Select
A standard file selection menu allows to select a program file for each segment.
Entering a new name allows to create a new program. The program editor allows to
save the current program using a new name. At least one segment must be defined.
• Delete Segment
You may delete a segment from the list. The appropriate program file will not be
deleted from the disc. To change the selected program, it is not necessary to delete it
previously.
• Run Conditions
For the program as well as for any segment the run conditions may be selected independently. Be aware that a segment will only run when both the run condition of the
program and of this segment will be fulfilled. To enter the run conditions, the cron
format is used. The default run condition is “always”.
• Edit Segment
On this screen you can generate the desired program for the selected segment. The
editor for the user program is started. It is described in “Program Editor” on
page 3-4.
S57901 User Manual
3-3
Programming
3.3.4 Perform
• Compile
The function COMPILE compiles the user program and generates reference files
and debugging information, if desired.
• Transmit
The function TRANSMIT loads the translated program, date and time into the connected device (e.g. S5701) and starts the program.
• Debug
This function allows you to monitor selected values or to change values which are
not connected to an output clicking the CONST value. All wires which have a debug
probe are available. Pressing the left mouse button while on the name of the debug
variable, the entry may be moved up or down. Double-clicking the name allows to
delete the entry or to insert new entries. All wires which have a name will appear in
this selection. Be aware that these changes are lost after recompiling.
• Buffers
The loading, sending and editing of buffers is described in “Buffer Functions” on
page 3-7.
• Display
The cross reference lists or the I/O reference as well as the content of a previously
loaded buffer may be displayed. During displaying it is possible to print the selected
file.
3.3.5 Options
• Cross Reference List
The compiler generates a cross reference list for each segment if this option is
selected. In this listing all functions are shown with all wires connected to them.
• I/O Reference List
For each input and output the connected variable and the selected time mask is
shown.
• Auto Save
While editing the program file, the file may be saved in specified time intervals.
• Language
You may choose between English and German.
3.4 Program Editor
The graphic editor S57PROG allows to draw a user program like a circuit drawing program. The inputs and outputs as well as several operations are implemented as function
blocks. After inserting such a block into the window and moving it to the desired position, connect the pins by simply drawing wires between them.
By selecting Functions you choose a function block out of 5 different groups of functions. The functions are described inChapter 2 of this manual. “I/O functions” may be
selected only after an appropriate device was configured in the Configuration. “Digital
Functions” contain all functions with digital inputs and digital outputs only. “Analog
Functions” contain all functions with analog inputs and analog outputs only. “Dig/ana
3-4
S57901 User Manual
Program Editor
Functions” contain the functions containing analog and digital inputs and outputs.
“Buffers” allow to include buffers for reading or writing variables in different ways. A
cyclic buffer will overwrite the oldest entries after being filled whereas a “read once”
buffer will stop collecting data after it has been filled. The time mask of the buffer specifies how often the data will be collected. After inserting the buffer symbol you have to
connect a digital variable to its enable input. Data collection will only take place if the
enable input is HIGH (1). To select the variables which should be collected by the
buffer just take the buffer probe symbol out of the buffer or select Insert Buffer Probe
(this is necessary if the buffer symbol itself is not on the current page or in the current
segment). Buffers are independent of segments. Because their enable input must be high
to collect data, the segment where the buffer is located must run at least once to set this
input to 1.
After placing a function block by pressing and releasing the right mouse button the cursor will display the performed actions after moving the mouse to a pin. Selecting a function by pressing the left mouse button allows to move it around. If the left mouse button
is pressed at a pin (the cursor has changed to a soldering device) you can draw a wire to
another pin of the same kind. Digital pins may be connected only to digital pins and
analog pins may be connected only to analog pins. Outputs may be only connected to
inputs if they are not tri-state. Wires which are not connected to an output are displayed
in a dotted style. Double clicking a function block shows the wires which are connected
to the pins and optionally allows to change parameters or time masks. Parameters are
function block specific. Some function blocks (like I/O or PID) support time masks.
These are values defining when to calculate these functions. A time mask may be
selected out of a list. The fastest time mask is the same as the cycle time of the hardware. During a cycle all functions without a time mask and all functions with the time
mask set to the fastest available time mask will be executed. Functions with a time mask
set to 2 are executed every other cycle:
cycle:1
2
3
4
5
6
7
8
9
...
time masks: 1
1,2
1,4
1,2
1,8
1,2
1,4
1,2
1,16
...
This assures that during a specific cycle only functions with time masks set to 1 and
functions with one of the other time mask will be executed. If you have many time consuming functions which do not have to be executed every cycle you may deliver them to
different cycles using different time masks for various groups of functions.
• Page
This menu item allows you to create a new page or to select an existing one. Deleting empty pages is possible, too. The function keys may also be used to switch
between pages. F1 to F16 selects page 1 to 16, respectively; SHIFT F1 to SHIFT
F16 selects page 10 to 26, respectively. To connect wires between pages, use wire
labels. If you want to change the name of the page, double-click the left mouse button in an empty area of the window.
• View
This menu item allows you to change the size of the display. Home sets the default
size. Larger or smaller sizes reduce system performance.
• Gridsnap
The default value is 4. This gives best drawing results in most cases. If you have dif-
S57901 User Manual
3-5
Programming
ficulties to select wires, select the whole drawing and use ALIGN_TO_GRID or
reduce the GRID SNAP.
• Edit
This menu item allows you to delete or copy selected parts or your program and to
paste previous copied or deleted parts. Select several parts on the display using the
mouse. Multiple selections are done by pressing the shift key of the keyboard. Now
select Copy to copy them or Delete to delete the selected parts. The DEL key of the
keyboard allows to delete selected parts, too. If you want to insert previously deleted
or copied parts (only functions and wires are supported) select PASTE. By pressing
the left mouse button, the parts will be put to the screen. Select Net allows to select
a whole wire net. After selecting this menu item, click the left mouse button over the
desired wire. All wires connected to this wire will be high lighted, even if you
change the page.
• Perform
This menu item allows you to perform several checks and to set Wire Labels and
Debug Probes. Wire labels allow an easy identification of connections in reference
listings and during debugging. After placing a wire label, double-clicking it allows
to change the name of the wire net. If you want to connect wires from different
pages, just give them the same name. This is only possible if the wires are of the
same type and if no more than one output is connected to the wire net. All characters
are significant. Variables with debug probes may be displayed or changed using the
Debug option of the S57901 software. Setting a debug probe to a wire which is not
connected to an output (a dashed wire) allows to set the value of this wire during
debugging. Include Comment Text allows to include a line of text into the drawing. If you want to insert more than one line of comment text, just press the SHIFT
key of the keyboard during inserting of comment text with the left mouse button.
Checks show open wire ends or open pins of function blocks, respectively. Statistics shows how many functions and wires are used in the current program.
• Help
shows a short description of the available features of the software.
• File
The File menu allows to Save or Print the current program. Change Segment is a
quick way to edit the program file of another segment. Exit the programming part of
the software brings you back to S57901.
3-6
S57901 User Manual
Buffer Functions
3.5 Buffer Functions
3.5.1 File Format
The first line of the file contains the names of the variables and starts with 2 separation
characters. Each line of the file contains the date and the time of the data collection and
up to 16 entries which represent the data of the variables:
1992.08.10 13:15:00.002 1 0 1 0 0 1 3.1415 2.71828 1
1992.08.10 13:15:00.006 1 0 1 0 0 1 3.1415 2.71828 1
1992.08.10 13:15:01.000 1 0 1 1 0 0 8.2 2.70183 0
1992.08.10 13:15:01.003 1 0 1 1 0 0 8.2 2.69422 0
This example shows a possible buffer file consisting of 4 entries with 7 digital and 2
analog variables each. For these files the separation character (space, tab or semi-colon)
and the type of decimal point (comma or period) may be selected.
3.5.2 Load Buffer
If one or more buffers are defined in a project, their content may be loaded onto the PC.
The buffer will be saved to disk in a file named <project>.B<no> where <project> is the
name of the project and <no> is the number of the buffer (1... 32). The basic name of the
buffer files may be entered by the user. An already existing file of the same name will
be overwritten.
3.5.3 Display Buffer File
You may select the File using a file selection template.
Display Text allows to show a table of the buffer file, Display Graphics shows the
content in a graphic format; one of the variables is displayed in textformat, too.
Maximizing allows to choose out of several ways to fit the display to the screen.
You may also choose the Colors or the Font.
3.5.4 Edit Buffer File
The display format is the same as described previously; the entries of date and time are
not used here.
New File allows to create new buffer files. You may select the number of variables and
the number of entries.
Single Points allows to change each single point of the buffer by pressing the right
mouse button at the desired position. Keeping the button pressed allows to draw continous points.
S57901 User Manual
3-7
Programming
Interpolation is used to set several points of the buffer and afterwards these points may
be connected in one of three ways.
You may Delete or Insert some buffer points after selecting a range with the left mouse
button.
Calculate allows to fill the buffer or parts of it with functions like Sine or Exponent.
3.5.5 Send Buffer
If you have defined writing buffers in your project, you may fill them by sending an
appropriate buffer file to the control device. You may create this file by a read buffer, by
the software just described or even with another text editor or spreadsheed program.
3.6 An Example Program
Start the SEAL S57901 software. Select PROJECT_NEW. Give a name to the project;
select PROJECT_SAVE_AS and enter a name. The next step is to select a configuration. You may select one of the delivered configurations, e.g. S5701. This standard
configuration consists of a PC and an S5701 device at address 1 running with 100ms
cycle time. Select CONFIGURATION_SET, then enter myconf into the file selection,
then select CONFIGURATION_EDIT. A window will appear on the screen as shown
below, but without any devices. Now insert the hardware devices. Select
DEVICE_S5701 and place it somewhere in your window by pressing and releasing the
right mouse button. Your screen should now look like the following window.
FIGURE 33
Configuration Window
If you have inserted an S5703 device, several special features are allowed in the menu.
If you receive a firmware update (S5703.H), you have to copy it to your S57901 directory. LOAD_FIRMWARE allows to load this new firmware to S5703.
3-8
S57901 User Manual
An Example Program
To set the configurations, double-click the PC icon. Now select the communication port
(COM1 or COM2) and 9600 baud. Be sure the appropriate dip switch from the S5701
selects 9600 baud, too. Press the SAVE button, then double click the S5701 device.
The Device Configuration Template will appear.
FIGURE 34
PC Configuration
The address of S5701 has to be 1, the cycle time should be selected according to your
hardware (100 ms). Press the SAVE button. Now you want to save your hardware configuration by selecting FILE_SAVE and FILE_EXIT. This configuration may be used
in future projects.
FIGURE 35
Configuration of a Device
If you use other hardware components, select their time masks appropriately, too. The
field bus addresses have to be selected according to the dip-switch settings.
S57901 User Manual
3-9
Programming
To edit a sample program, select PROGRAM_SELECT_SEGMENT_1 and enter
myprog to the selection menu. Now you may edit this new program by selecting
PROGRAM_EDIT_SEGMENT_1. An empty window will appear. Now you may enter
the example program as shown below.
FIGURE 36
The Example Program
Select one function after the other and enter as many as you need by clicking the right
mouse button. Move the functions by pressing the left mouse button in the middle of the
function. A MOVE cursor will appear and the function will be highlighted. If you want
to move more than one function, click one after the other while pressing the SHIFT key
of the keyboard. You may select a group also using the mouse by pressing the left button in the empty space and then drawing a selection rectangle. If you release the button,
all objects within the rectangle will be selected. They may be moved around or deleted
by pressing the DEL key or by selecting EDIT_CUT. To copy them, select
EDIT_COPY. Previously copied or deleted objects may be placed by selecting
EDIT_PASTE and afterwards by clicking the left mouse button.If you have entered all
the functions, the next step is to connect the pins. Just move the cursor to a pin. A SOLDERING cursor will appear. Press the mouse button and move into the desired direction. A wire will be drawn. By clicking the left mouse button you may draw it in right
angles. To connect the wire to another pin, move to this pin. Again a SOLDERING cursor will appear. By pressing the left mouse button again, the wire will be connected. It is
also possible to connect a wire to another wire as long as there is not more than one output connected to it. Only tri-state outputs may be connected together. Functions with
enable inputs have tri-state outputs. If you want to keep an open end of a wire, e.g. for
debugging purposes, click the right button of the mouse during drawing of a wire. Your
program should now look like the example program.
3-10
S57901 User Manual
Time Dependent Starting of Program Segments
The next step is to enter the parameters of the function blocks. Double-click a function
and a configuration template for this function will appear. Some functions don’t have
any parameters, then only the wire nets connected to them are shown in this template.
After entering the parameters press the SAVE button or the RETURN key.
PERFORM_DEBUG_SET_DEBUG_PROBE is now used to set the debug probes onto
the wires after giving them a name by selecting PERFORM_SET_WIRE_LABEL.
After putting a label to a wire (watch the appearance of the cursor) you have to double
click the wire label to enter a name. Now save your program and exit the programming
window.
Now
you
are
back
to
the
S57901
programming
manager.
OPTIONS_CROSS_REFERENCE and OPTIONS_I/O_REFERENCE should be
checked. After that select PERFORM_COMPILE. The compiler will compile the program and generate the reference listings which may be displayed. After
PERFORM_TRANSMIT the program is loaded to the controller. It may be debugged
by entering the DEBUG mode. A list of the variables which have a debug probe will
appear on the screen. Enter the values of the variables having a CONST flag like in the
example. Digital variables are changed by clicking the CONST entry, analog variables
have to be entered after clicking their symbol.
3.7 Time Dependent Starting of Program Segments
The SEAL S5701 device features a battery buffered time keeper chip. You may run
your program segments on various different time and date conditions, for example:
segment 1 every Monday between 9:00 and 11:00 and segment 2 every Sunday between
17:00 and 17:24 in months January and February. For the whole program and for each
segment you may define your run condition. The default run condition is “always”. The
run condition for each segment is an ASCII string containing five fields being integer
patterns separated by spaces that specify the following:
minute (0-59),
hour (0-23),
day of the month (1-31),
month of the year (1-12),
day of the week (0-6 with 0=Sunday).
Each of these patterns may be either an asterisk (‘*’, meaning all legal values), or a list
of elements separated by commas. An element is either a number, or two numbers separated by a minus sign (meaning an inclusive range). Note that the specification of days
may be made by two fields (day of the month and day of the week). If both are specified
as a list of elements, both are adhered to. For example, 0 0 1,15 * 1 would run a segment on the first and fifteenth of each month, as well as on every Monday. To specify
days by only one field, the other field should be set to * (for example, * * * * 1 would
run a segment only on Mondays). Both the run condition of the program and of a segment must be fulfilled to execute the segment.
S57901 User Manual
3-11
Programming
3.8 Files of S57901 Software
*.exe
s57901.bli
s57901.ini
the SEAL S57901 Software
library of devices and functions
initial file, keeps last project in use
<xxx>.prj
<yyy>.pr
<yyy>.pra
project file; keeps configuration, segments and buffers
program file; one for each used segment
auto save program file; one for each used segment
<xxx>.b<no>
buffer file (no = 1 - 32) of project <xxx>
<xxx>.s83
bmlib.bml
bmalib.bml
S83010 Display configuration file
Bitmaps for digital variables
Bitmaps for analog variables
The following files are generated by the compiler and may be deleted using
the DELETE option in the PROJECT menu:
3-12
<xxx>.ypr
<xxx>.zpr
<xxx>.yio
<xxx>.bu
program files for downloading to hardware
i/o configuration for downloading to hardware
buffer configuration for downloading to hardware
<xxx>.io
<yyy>.xr
<yyy>.fnr
i/o configuration listing
cross reference listing for segment <yyy>
function numbers of the segment <yyy>
<xxx>.db
<xxx>.dba
<xxx>.dbd
variables displayed during debugging
all variables with names, also for debugging
values of debug variables without output (set by user)
S57901 User Manual
CHAPTER 4
Display S83010
The S83010 industrial terminal is a display unit predestined for use with SEAL
S56xx, S57xx, S59xx and S67001 devices. The appearance of the display is freely
programmable by an easy to use PC software. The basic version supports communication via the serial RS232 interface. Optionally a field bus interface (twisted pair token
bus) or an ISDN interface are available.
4.1 Installation
4.1.1 Power Connection
The power supply (9-40VDC) has to be connected to the power connector:
S83010
+-
FIGURE 37
S83010: Power Connection
S57901 User Manual
4-1
Display S83010
4.1.2 PC and Controller Connection
The basic version of S83010 supports a serial port with 9600 Baud. With a not crossed
cable (the same you use for the controller) it may be connected to the PC for programming. After the user program has been downloaded to S83010, the display unit has to
be connected with a crossed RS232 cable to the controller. Use the female 25-pin connector for this purpose.
TABLE 25
Pin
RS-232
V.24
Direction
Description
1
AA
101
Both
Protective Ground
2
BA
103
To S83010
Receive Data
3
BB
104
From S83010
Transmit Data
6
CC
107
From S83010
470 Ohm pull up to 12V
7
AB
102
Both
Signal Ground
8
CF
109
From S83010
470 Ohm pull up to 12V
S83010: RS232 Connector Pin Description
For the connection to the PC or to the controller, only pins 2, 3 and 7 are needed.
4.1.3 LEDs
The three LEDs of S83010 are used to display the status:
• The red LED shows communication errors. Alternatively it may be switched on or
off using the user software. Then it shows the value of a digital variable instead of
communication errors.
• The yellow LED shows that communication is in progress.
• The green LED shows that the device is running. It may be switched on or off using
the user software, too.
4.2 Programming of S83010
Build a user program for one of the SEAL controllers with the PC software S57901.
Variables which should be displayed or set by S83010 must be labeled by applying a
wire label to them. Save the program and compile it. The variables are now available to
the S83010 configuration software; you may select “S83010 CONFIGURATION”.
A window the same size as the display of S83010 will appear on the screen. Use
“EDIT DEFAULT_SIZE” to set the default size if you accidentially resized the window.
You may configure several pages by selecting “NEW PAGE” and switching between
these pages in the same way you do in the S57901 program editor. These pages may be
selected by the function keys of S83010 if you insert a MENU item on a page.
4-2
S57901 User Manual
Programming of S83010
FIGURE 38
Configuration of the display unit S83010
4.2.1 File
• NEW
You may create a new display configuration file.
• OPEN
You may select one of the available S83010 configuration files. These files have
the extension S83. The default configuration file is <project>.S83.
• SAVE or SAVE AS
allows to save the current display configuration.
• EXIT
returns to S57901 programming manager.
4.2.2 Object
Several kinds of objects may be inserted onto your screen.
• COMMENT TEXT
allows to insert a line of text. You may select one of five fonts.
• LINE
Vertical or horizontal lines may be used to build tables. Free lines may be drawn in
any angle as needed.
• VARIABLE
One of the most important objects is a variable. It allows to display or change the
value of any named variable of your user program. After inserting a variable, double-click it to open the configuration template. Now you have to select a variable.
You also may select a font and whether the name of the variable should be displayed, too. If you select an analog variable, you may choose several floating forS57901 User Manual
4-3
Display S83010
mats. For digital variables five different display variations are available. If the
selected variable is not connected to an output, it may be changed by S83010. The
minimum and maximum parameter may be used to set an allowed range. If minimum is the same as maximum, any value may be entered. After saving these parameters, the software calculates the size of the variable object and draws the
appropriate frame.
• VERTICAL BAR
• HORIZONTAL BAR
These bars are graphical representations of analog variables. They may be resized as
desired. The minimum and the maximum must be defined.
• DIGITAL BITMAP
A digital variable is displayed as a bitmap. If the value is 0, the left bitmap is used; if
the value is 1 (TRUE), the right bitmap of the pair is used. To make user specified
bitmaps available, create them as a black/white bitmap of the size 16x16, 16x32,
32x16 or 32x32 bits. Both bitmaps of a pair must be of the same size. Then copy
them to the file bmlib.bml:
copy bmlib.bml bmlib.ori
copy bmlib.ori+mybmp0.bmp+mybmp1.bmp bmlib.bml
• ANALOG BITMAP
For analog bitmaps the first bitmap of the pair of bitmaps shows the outline of the
object when it is empty while the second one shows the filled object. The first bitmap will be drawn unconditionally. The second bitmap of the corresponding pair of
bitmaps will be drawn from bottom to top dependent of the analog value. If the value
is less or equal to the specified minimum, nothing is drawn and the object appears to
be empty. If the value reaches the maximum, the whole bitmap will be drawn and
the object appears to be filled. The file bmalib.bml is used for these bitmaps and may
be modified in the same way as described above.
• RECORDER
The recorder is used to record a variable in suitable time steps. It may be resized as
desired. The minimum and the maximum must be defined.
• INTERPOLATION CURVE
This is a special graphical object to display or change interpolation curves. If you
use an interpolator with parametric inputs, you may display the interpolation curve
with this object. If you keep the inputs open, you may change the curve. You must
select the twelve variables for the Y inputs, the input and the output as well as the
ranges of the X- and Y axis.
• MENU
To switch between several user pages, you need menu objects. These allow to assign
a page to each of the function keys so, that you may select up to ten other pages from
the current one. It is necessary that these pages already exist when you configure the
menu.
• LED CONFIGURATION
is used to turn the red or green LED on or off by the user program. You assign a digital variable to the LED. If this variable is TRUE, the LED will be turned on.
• ALARM
This is a text message associated to a digital variable. It will be displayed only if the
variable is TRUE.
4-4
S57901 User Manual
Using the Display S83010
4.2.3 Page
You may create a new page, delete unused pages or switch between the available pages
as you do in the program editor.
4.2.4 Edit
You may copy all objects of the current page (if no object is selected) or only selected
objects. Afterwards you may insert these objects (on another page) by pasting them.
This is an easy way to build several pages with similar layout.
4.2.5 Perform
• TRANSMIT
is used to send the configuration to the display unit. Connect S83010 to the PC,
select “F1 - LOAD FROM PC” from the display’s main menu, and select this command. The configuration will be transmitted. The status line shows the progress. If
the transfer has finished, you see the amount of used memory on the display unit.
Pressing “ENTER” gets you back to the main menu.
4.2.6 Restricted Usage
If you double click in empty space, you get a password configuration template. This
allows to apply a password to the current page. If this page is selected on the display, the
user has to enter the password to get access to this page. If he does not enter the right
password, the access may be refused or limited to displaying variables without the ability to change them. If the password is “AUTOSTART”, this page will be selected automatically after power on (the first page which owns such a password will be selected).
4.3 Using the Display S83010
After connecting S83010 to the power, it boots from ROM. A total hard reset may be
performed if the “RETURN” key is pressed during this time. After the booting has completed, the main menu is displayed. The function keys are used to select menu items.
F1 to F5 is selected by pressing the appropriate key. F6 to F10 is entered by pressing
SHIFT and the appropriate function key. Red key labels require the SHIFT key, blue
labels are used for text input in ALPHA mode and black key labels are the default keys.
The HELP key may be pressed to get a help screen. Generally inputs are terminated
with RETURN. ESCAPE allows to cancel input.
4.3.1 Main Menu
“System Parameters” allows to select several languages and display options. “Load
From PC” starts the downloading function. It times out after some minutes if nothing is
received from the PC. “Start User Program” selects the first page of the user program.
4.3.2 User Program
After selecting a user page, the configured page is displayed. If there are objects which
allow user input (variables which are not connected to outputs), these objects may be
S57901 User Manual
4-5
Display S83010
selected using the LEFT or RIGHT cursor key. The currently selected object will be
high lighted. If it is a digital variable, the value may be changed by pressing the UP or
DOWN cursor key. If the object represents an analog variable, UP or DOWN increments or decrements the value by 1%, respectively. SHIFT UP or SHIFT DOWN
changes the value by 10% of the difference between configured minimum and maximum. By pressing the MODE key, a value may be entered.
After selecting an interpolator and pressing the MODE key, LEFT and RIGHT may be
used to select a point, to shift or to rotate the curve. UP and DOWN changes it like analog variables. Pressing MODE again allows to enter a value. Pressing ENTER transmits
the changed value to the connected controller.
4-6
S57901 User Manual
Technical Specifications
S5701:
16 Analog Inputs
Resolution:
Auto-ranging:
Full scale:
13bit
∗1, ∗2, ∗4, ∗8, ∗16, ∗32, ∗64, ∗128
10VDC (40kΩ) for channels 0-11
22mADC (421Ω) for channels 12-15
Overload protection: 60VDC continuous for voltage inputs
7VDC continuous for current inputs
8 Analog Outputs
Resolution:
Full scale:
16bit
10VDC for channels 0-5
+20mADC (at 500 Ω max) for channels 6 and 7
Overload protection: Protected with PTC from short circuit to 20VDC
8 Digital Inputs
Voltage range:
Threshold:
Insulation:
S57901 User Manual
0-32VDC
9VDC
500VDC
I
Technical Specifications
8 Digital Outputs
Max. Voltage:
Max. Current:
Insulation:
380V (DC or peak)
3A
1000V
2 Counters
Max. Frequency:
have quadrature encoder and are connected to
digital inputs.
ChanA1
is connected to digital input 0
ChanB1
is connected to digital input 1
ChanA2
is connected to digital input 2
ChanB2
is connected to digital input 3
Null-Index 1 is connected to digital input 4
Null-Index 2 is connected to digital input 5
1MHz
General Features
Data Storage:
Battery-Backup:
Temperature:
Humidity:
Supply voltage:
Power consumption:
Max. field-bus length:
Dimensions:
Weight:
Case:
150kB for user program and buffers
10 years
Operating 0-55°C
Nonoperating -40 to 75°C
5 - 85%, non-condensing
9 - 40VDC
10W
100m with shielded 100 Ohm
twisted-pair cable
296x250x130mm
1950g
IP54 or metal
S5703:
16 Analog Inputs
Resolution:
Full scale:
Overload protection:
II
S57901 User Manual
13bit
10VDC (40kΩ) or 22mADC (421Ω)
user configurable
60VDC continuous for voltage inputs
7VDC continuous for current inputs
Technical Specifications
8 Analog Outputs
Resolution:
Full scale:
Overload protection:
16bit
10VDC or +20mADC user configurable
Short circuit to 20VDC
16 Digital Inputs
Voltage range:
Threshold:
Insulation:
0-32VDC
9VDC
500VDC
16 Digital Outputs
Max. Voltage:
Max. Current:
Insulation:
50VDC
100mA
7500V
2 Counters
Max. Frequency:
have quadrature encoder and are connected to
digital inputs.
ChanA1
is connected to digital input 0
ChanB1
is connected to digital input 1
ChanA2
is connected to digital input 2
ChanB2
is connected to digital input 3
Null-Index 1 is connected to digital input 4
Null-Index 2 is connected to digital input 5
1MHz
General Features
Data Storage:
Battery-Backup:
Temperature:
Humidity:
Supply voltage:
Power consumption:
Max. field-bus length:
Dimensions:
Weight:
Case:
S57901 User Manual
512kB for firmware, user program and buffers
10 years
Operating 0-55°C
Nonoperating -40 to 75°C
5 - 85%, non-condensing
15 - 35VDC
40W
100m with shielded 100 Ohm
twisted-pair cable
296x250x55mm
1950g
metal
III
Technical Specifications
S5611C, S5611D:
4 Analog Inputs, Configurable: Voltage/Current/Pt100/Pt1000
Resolution:
Range:
Overload protection:
12bit
10VDC (40kΩ) for voltage inputs
22mADC (421Ω) for current inputs
125/1250Ω for resistance inputs
60VDC continous for voltage inputs
7VDC continous for current inputs
2 Analog Outputs, Configurable: Voltage/Current
Resolution:
Range:
Overload protection:
8bit
+/-10VDC for voltage outputs
+20mADC (at 500 Ω max) for current outputs
short circuit to 20VDC
8 Digital Inputs
Voltage-Range:
Threshold:
Insulation:
0-32VDC
9VDC
500VDC
4 Digital Outputs
Max. Voltage:
Max. Current:
Insulation:
8 Counters
Max. Frequency:
125VAC/DC
100mA
7500V
Each digital input may be used as a counter.
500 Hz
General Features
Data storage:
Cycle time:
Battery-Backup:
Temperature-range:
Humidity:
Power supply:
Power consumption:
Interfaces:
Fieldbus:
Max. Fieldbus-length:
Dimensions:
Weight:
Case:
IV
S57901 User Manual
500kB-1.5MB for Program and Buffers
5-400 ms
2 month, in flash 20 years (without buffer data)
usage 0-55°C
storage -40 bis 75°C
5 - 85%, not condensing
12-24VDC
5W
2 x RS232, Fieldbus
RS485, 100kBit/s, polarity independent
1km with shielded 100 Ohm
twisted pair cable
S5611C:162x104x44mm
S5611D:288x144x100mm
750g
S5611C:Metal. S5611D:plastic
Technical Specifications
S5612:
4 Analog Inputs, Configurable: Voltage/Current/Pt100/Pt1000
Resolution:
Range:
Overload protection:
12bit
10VDC (40kΩ) for voltage inputs
22mADC (421Ω) for current inputs
125/1250Ω for resistance inputs
60VDC continous for voltage inputs
7VDC continous for current inputs
4 Analog Outputs, Configurable: Voltage/Current
Resolution:
Range:
Overload protection:
8bit
+/-10VDC for voltage outputs
+20mADC (at 500 Ω max) for current outputs
short circuit to 20VDC
16 Digital Inputs
Voltage-Range:
Threshold:
Insulation:
0-32VDC
9VDC
500VDC
4 Digital Outputs
Max. Voltage:
Max. Current:
Insulation:
16 Counters
Max. Frequency:
125VAC/DC
100mA
7500V
Each digital input may be used as a counter.
500 Hz
General Features
Data storage:
Cycle time:
Battery-Backup:
Temperature-range:
Humidity:
Power supply:
Power consumption:
Interfaces:
Fieldbus:
ISDN:
Max. Fieldbus-length:
Dimensions:
Weight:
Case:
S57901 User Manual
1MB for Program and Buffers
5-400 ms
2 month, in flash 20 years (without buffer data)
usage 0-55°C
storage -40 bis 75°C
5 - 85%, not condensing
12-24VDC
5W
2 x RS232, Fieldbus
RS485, 100kBit/s, polarity independent
Basic Rate, Q931, 2 B Channels
Data transfer to remote controllers or PC
1km with shielded 100 Ohm
twisted pair cable
330x210x40mm
750g
Metal, plastic cover
V
Technical Specifications
S5614:
1 Analog Input, Configurable: Voltage/Current/Pt100/Pt1000
Resolution:
Range:
Overload protection:
12bit
10VDC (40kΩ) for voltage inputs
22mADC (421Ω) for current inputs
125/1250Ω for resistance inputs
60VDC continous for voltage inputs
7VDC continous for current inputs
8 Digital Inputs
Voltage-Range:
Threshold:
Insulation:
0-32VDC
9VDC
500VDC
4 Digital Outputs
Max. Voltage:
Max. Current:
Insulation:
8 Counters
Max. Frequency:
125VAC/DC
100mA
7500V
Each digital input may be used as a counter.
500 Hz
LED-Display
Type:
16 Characters written by user program
General Features
Data storage:
Cycle time:
Battery-Backup:
Temperature-range:
Humidity:
Power supply:
Power consumption:
Interfaces:
Fieldbus:
ISDN:
Ethernet:
Max. Fieldbus-length:
Dimensions:
Weight:
Case:
VI
S57901 User Manual
1MB for Program and Buffers
5-400 ms
2 month, in flash 20 years (without buffer data)
usage 0-55°C
storage -40 bis 75°C
5 - 85%, not condensing
12-24VDC
5W
2 x RS232, Fieldbus
RS485, 100kBit/s, polarity independent
Basic Rate, Q931, 2 B Channels
Data transfer to remote controllers or PC
twisted pair, TCP/IP
1km with shielded 100 Ohm
twisted pair cable
330x210x40mm
750g
Metal, plastic cover
Technical Specifications
S5651 (Expansion Module for S56xx):
16 Digital Inputs
Voltage range:
Threshold:
Insulation:
0-32VDC or passive
9VDC (if sctive configured)
500VDC (if sctive configured)
General Features like S5611C
S5661 (Expansion Module for S56xx):
8 Digital Outputs
Max. Voltage:
Max. Current:
Insulation:
125VAC/DC
100mA
7500V
General Features like S5611C
S5671 (Expansion Module for S56xx):
8 Analog Inputs, configurable Voltage/Current/Pt100
Resolution:
Range:
Overload protection:
12bit
+/-10VDC (40kΩ) for voltage inputs
22mADC (421Ω) for current inputs
125/1250Ω for resistance inputs
60VDC continous for voltage inputs
7VDC continous for current inputs
General Features like S5611C
S5681 (Expansion Module for S56xx):
8 Analog Outputs, configurable Voltage/Current
Resolution:
Range:
Overload protection:
12bit
+/-10VDC for voltage outputs
+20mADC (at 500 Ω max) for current outputs
short circuit to 20VDC
General Features like S5611C
S57901 User Manual
VII
Technical Specifications
S5911 (Extension for S57xx):
16 Analog Inputs
Resolution:
Range:
Overload protection:
13bit
10VDC (40kΩ)
40VDC continous
General Features
Temperature range:
Humidity:
Power supply:
Power consumption:
Fieldbus:
Max. fieldbus length:
Dimensions:
Weight:
usage 0-55°C
storage -40 bis 75°C
5 - 85%, not condensing
9 - 40VDC
10W
10MBit/s, Tokenbus
100m with shielded 100 Ohm
twisted pair cable
300x100x50mm
950g
S5912 (Extension for S57xx):
16 Analog Inputs
Resolution:
Range:
Overload protection:
13bit
22mADC (421Ω)
40VDC continous
General Features
Temperature range:
Humidity:
Power supply:
Power consumption:
Fieldbus:
Max. fieldbus length:
Dimensions:
Weight:
VIII
S57901 User Manual
usage 0-55°C
storage -40 bis 75°C
5 - 85%, not condensing
9 - 40VDC
10W
10MBit/s, Tokenbus
100m with shielded 100 Ohm
twisted pair cable
300x100x50mm
950g
Technical Specifications
S83010:
Data Storage:
Battery-Backup:
Temperature:
Humidity:
Supply voltage:
Power consumption:
Max. field-bus length:
Dimensions:
Weight:
Case:
100kB for user configuration
10 years
Operating 0-55°C
Nonoperating -40 to 75°C
5 - 85%, non-condensing
9 - 40VDC
10W
100m with shielded 100 Ohm
twisted-pair cable
288x144x100mm
750g
front panel insertion
S5500:
Typ:
Port-Address-Range:
logical Addresses:
max. no. of cards on bus:
Fieldbus:
Dimensions:
AT-bus plug in for IBM-PC
200H to 7F8H
2, 4 or 6
3
Token-Bus (with S57xx) or
100kb/s RS485Fieldbus (with S56xx)
160x110x16mm
Tecnical data are subject to change without notice!
S57901 User Manual
IX
Technical Specifications
X
S57901 User Manual

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement