Serial Interface c135-6 English
Serial Interface c135-6 English
Serial Interface c135-6 English
Contents
Page
1 Hardware: SIPART DR24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Software: Function ”SIPART DR24 bus interface” . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 Possible applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3.1 Transmission procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3.2 Safety features, error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3.3 Offline parameters of the SES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3.4 Parameter ”onPA” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3.5 Parameter ”oFPA” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3.6 Parameter ”CLPA” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.3.7 Parameter ”hdEF” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.3.8 Parameter ”CAE4”/”CAE5” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.3.9 Settings ”FdEF” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.3.10 Settings ”FCon” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.3.11 Settings ”FPoS” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.3.12 Contents of status register and process variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.3.13 Setting of storage for Batch mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2.3.14 Representation of parameters and process variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
2.3.15 Error messages of the SIPART DR24 which can be eliminated via the SES . . . . . . . . . . . . . . . . . . . 45
2.3.16 Copy protection by means of a keyword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3 PROFIBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.1 PROFIBUS Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.2 Preparations before Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.2.1 Settings on the SIPART DR Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.2.2 Configuring the Slave for the Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.2.3 Parameterization of the Slave for the Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.2.4 Time Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.3 Transmission Procedure with job identification (AKZ) and
parameter number (PNU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.4 Description of the Communication Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.4.1 Interpretation of Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.4.2 Interpretation of Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.4.3 Interpretation of Variable Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.4.4 Interpretation of Conversion Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.5 Universal Communication Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.6 Writing Process Data (Cyclic) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.7 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.8 Table of the DP communication objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
SIPART, SITRANS, SIMATIC
are Siemens registered trademarks.
All other product or system names are (registered) trademarks of their respective owners and must be treated
accordingly.
The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for
damages. All rights created by the granting of patents or registration of a design are reserved.
The protocol procedure described below and the data representation enable fast transfer of data between the
devices on the one hand and also ensure high transmission reliability on the other (Hamming distance d = 4
for the data section).
2.2 General
Alternatively:
D SIPART DR24 bus interface
- V.24/V.28 signals: Txd (103), Rxd (104) and Ground (102) (designations to CCITT V.24)
- Up to 32 controllers possible on one bus (a bus driver is required with 4 or more controllers or long lines)
- Transmission is also possible with TTY signals when using the bus driver
- Half-duplex mode
- (Full-duplex mode) – 300, 600, 1200, 2400, 4800, 9600 baud
- Asynchronous mode
D RS485-bus interface
2.3 Software
C73000ĆB7476ĆC135Ć06 3
Serial SIPART DR24 Bus Interface Operating Instructions
D Character conventions
STX 02H
StNo 40H to 5FH Station number, 32 possible addresses from 00 to 31
StNoA 60H to 7FH Station number with alarm scan; StNoA = StNo + 20H
Station number with alarm scan; StNoA = StNo + 20H to detect a
StNoA 60H to 7FH supply voltage failure on the controller; reset to StNo following scan
Station number in case of unaccepted message; StNoB: = StNo - 20H for
identification of
StNoB 20H to 3FH - Commands on disabled pages
- No enable or interrupted enable for parameterization or structuring
N0 40H to 5FH Number of n0 bytes transmitted by computer (min. 1 = 40H, max. 32 = 5FH)
Number of n1 bytes to be transmitted by the controller (min. 1, max. 32)
N1 60H to 7FH N1 = N0 + 20H
40H to 5FH,
HiAd.0 High adress
60H to 7FH
LoAd.1 ASCII 0 to 9, A to F High nibble (30H to 39H, 41H to 46H) of 1st transmitted byte
LoAd.2 ASCII 0 to 9, A to F Low nibble (30H to 39H, 41H to 46H) of 1st transmitted byte
2*ASCII 0 to 9,
Data
A to F 8 bit as 2 hexadecimal characters (sequence: high nibble, low nibble)
byte
(30Hto39H,41Hto46H)
STN 40H to 7FH Current statuses (new values)
STA 40H to 7FH
Statuses, old values which have occurred since the last alarm scan and which
have been obtained by bit-by-bit ORing of StA and StN once per controller
cycle. StA is set to 00H following an alarm scan.
Longitudinal redundancy check, block check character: obtained by EXORing
Lrc 7 Bit all 7-bit characters excluding STX, including ETX; the parity bit for Lrc is
formed from the 7 bit of the Lrc
Lrc.1 ASCII 0 to 7 High nibble of Lrc, (MSB = 0)
Lrc.2 ASCII 0 to 9, A to F Low nibble of Lrc (in this case longitudinal redundancy check excluding ETX)
# 23H Code to repeat the last valid request
ETX 03H
D Block conventions
(Representationin chronological order from left to right, data transmitted by computer in 1st line, transmitted by the controller
in 2nd line; examples according to block structure type 2).
Command to a controller*
. . STX,StNr,N0,HiAd.0,LoAd.1,LoAd.2, 2*n0 characters (data),ETX,Lrc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STX,StNr or StNrB,ETX,Lrc . . . . . . . . . . .
Controller scan *
. . STX,StNo,N1,HiAd.0,LoAd.1,LoAd.2,ETX,Lrc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next message . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STX,StNo,2*n1 characters (data),ETX,Lrc . . . . . . . . . . . . . . . .
Abbreviated controller scan (repetition of last valid scan, e.g. for cyclic image updating):*
. . STX,StNo,#,ETX,Lrc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next message . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STX,StNo,2*n1 characters (data),ETX,Lrc . . . . . . . . . . . . . . . . . . . . . .
4 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
D Lrc-monitoring
The longitudinal redundancy check Lrc is expected at the last position of the received message if structured
accordingly. This is compared with the internal Lrc value generated during reception. If an error is recognized,
received data will be ignored.
The Lrc is generated by EXORing all characters following the STX up to the last character to be transmitted
before Lrc. Comparison with the received Lrc by means of the EXOR function must result in 00, or 7FH
in the case of complementary Lrc formation. The Lrc results in a Hamming distance d = 4, without Lrc
d = 2.
D Protection from power failure of values for parameterization and structuring transmitted via the interface
The values are protected from power failure if the computer transmits the corresponding characters for end
of parameterization/structuring at the end of the transmission and if the enable conditions for receiving data
have not been changed in the meantime. The data are stored in a non-volatile EEPROM. The non-volatile
storage is guaranteed after a maximum of 30 s if an error has not been signalled.
D Functional sequence
Receive
The controller receives the characters in an interrupt routine. The individual parities are checked for vertical
parity during this interrupt and the horizontal parity is continuously generated once the station number has
been received. The address and length are stored and a receiver buffer reserved according to the length.
The data 1 to n0 are entered into the receiver buffer. The data are transferred at the end of the cycle
from the receiver buffer to their destinations determined by the addresses HiAd, LoAd following EXT, fault-free
Lrc and fault-free procedure, and are then available as input values for the new cycle. The current results
(output values) are calculated from these input values in the new cycle.
C73000ĆB7476ĆC135Ć06 5
Serial SIPART DR24 Bus Interface Operating Instructions
Transmit
The controller starts to transmit the data requested by the controller immediately after correctly receiving the
query message. An auxiliary memory in the main memory RAM is used as a transmitter buffer for this purpose
and is loaded once with the current process image during the controller cycle (but not when transmitting
is taking place). The initial address of the data to be transmitted is determined by HiAd, LoAd and the
number by n1. Transmission takes place sequentially from an interrupt routine and the vertical parity, bit
and horizontal parity are generated.
Only the specified address ranges can be accessed via the SES. If other pages are addressed, an acknowledge-
ment is made with a station number reduced by 20H. The messages are ignored.
Bit ST2
7 X BLS **)
6 X BLPS **)
5 0 –
4 X MEM buSY **) Enable conditions for parameterization via the SES
3 X onPA SES **)
2 0 StrU SES
1 0 Par. via Front module
0 0 Struc. via Front module
*) The bits of the STATi are represented in positive logic, i.e. the bits = 1 when they occur
**) x = don’t care
2. If the enable conditions are satisfied, the computer transmits ST1,Bit7 = 1 (start parameterization).
3. The controller receives ST1,Bit7 = 1 in an interrupt routine and subsequently tests the enable conditions in the
basic cycle. If the conditions are satisfied, onPA/SES is displayed on w/x. The keys T2/T3 and T6/T7 have no
effect. If the enable conditions are satisfied, the following parameter messages are each acknowledged with the
addressed station number.
If they are not satisfied, the message acknowledgement is made with the station number StNoB=StNo-20H and
the parameter messages are ignored.
4. If parameter messages are transmitted without ST1,Bit7 = 1 (start parameterization) having been transmitted
previously a station number reduced by 20H is also transmitted and the messages are ignored.
5. Once ST1,Bit7 = 1 has been transmitted, the computer can transmit any number of parameter messages.
6. The controller stores each message for the destination into the RAM. The parameters are immediately effective in
the process.
7. Whilst the parameter values are being transferred, any additional messages (except structuring messages) can be
exchanged between the computer and the controller.
8. If the enable conditions change during transfer of the parameters (for example by parameterization on the front
module), the acknowledgement is also made with the station number reduced by 20H and the message is not
transferred to the RAM. Previously executed parameter messages have been transferred to the RAM and are
therefore effective. They cannot be transferred to the EEPROM via ST1,Bit6 = 1 (end of parameterization),
however. ST1,Bit7 = 1 (start parameterization) must be transmitted again for further parameter messages.
10. The controller receives ”End parameterization” but only accepts it if ”Start parameterization” was previously
present and the enable conditions have not changed in the meantime, and transfers the parameters from the RAM
to the EEPROM (user memory).
6 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
11. The online parameters are stored in the RAM and are also effective if the computer does not transmit ”End
parameterization”, but they are not stored in the non-volatile EEPROM. If a bus fault is present, the parameters
can be transferred from the RAM to the EEPROM by switching to the parameterization level using the front module
when the parameterization level is left again.
Bit ST2
7 X BLS *)
6 X BLPS *)
5 0 –
4 X MEM buSY *) Enable condition for structuring via the SES
3 0 onPA SES
2 X StrU SES *)
1 0 Par. via Front module
0 0 Struc. via Front module
*) X = don’t care
2. If the enable conditions are satisfied, the computer transmits ST1,Bit5 = 1 (start structuring).
3. The controller receives ST1,Bit5 in an interrupt routine and subsequently tests the enable conditions in the basic
cycle.
If the conditions are satisfied, the controller switches to offline mode, and StrU/SES is displayed on w/x. The LEDs
and the y display are switched off, and the analog and binary outputs are blocked.
The following structuring messages are each acknowledged with the addressed station number.
If the conditions are not satisfied, the message acknowledgement is made with a station number reduced by 20H
and the messages are ignored.
4. If the structuring messages are transmitted without ”Start structuring” having been transmitted previously, they are
also acknowledged with a station number reduced by 20H. The messages are ignored.
5. The computer can transmit any number of structuring messages once ST1,Bit5 = 1 (start structuring) has been
transmitted.
6. The controller transfers each message for the destination to the RAM. The modified structures are not yet effective
because of the offline mode.
7. The structuring switch SES and the offline parameters bdr to Cbt may be contained in the structuring messages
but are not transferred to the RAM. This means that the data must be entered manually on the front module if they
are to be stored in the user memory (EEPROM).
8. Whilst the structuring messages are being transferred, any other additional messages (except onPA parameter
messages) can be exchanged between the computer and the controller.
9. If the enable conditions change during transfer of the structures (for example by structuring on the front module),
the acknowledgement is also made with the station number StNoB = StNo – 20H. The message is not transferred
to the RAM. Previous structuring messages have been transferred to the RAM and are also effective by returning
to online mode. They cannot be transferred to the EEPROM via ST1,Bit4 (end structuring), however. ST1,Bit5 = 1
(start structuring) must be transmitted again for further structuring messages.
10. At the end of structuring, the computer transmits ST1,Bit4 = 1 (end structuring).
11. The controller receives ”End structuring” but only accepts it if ”Start structuring” was previously present and the
enable conditions have not changed in the meantime. The structures are transferred from the RAM to the
EEPROM. A return is made to online mode if no errors have been detected during the error check.
12. The structures are stored in the RAM if the computer does not transmit ”End structuring” but are not effective
because of the offline mode which is still present and are not stored in the non-volatile EEPROM.
If a bus fault is present, offline mode can be selected again by switching over to structuring on the front module.
These structures are also transferred to the EEPROM when the structuring level is left again.
C73000ĆB7476ĆC135Ć06 7
Serial SIPART DR24 Bus Interface Operating Instructions
13. The computer reads ST2/ST3/ST4 after the maximum write time of 30 s:
It detects from ST3/Bit 0 to 2 and from ST4/Bit 1 to 7 that no connection or positioning errors were present. ST3/Bit
3 and ST2/Bit 2 provide the acknowledgements for offline mode and structuring via the SES.
1. bdr Data transmission rate, adjustable to: 9600, 4800, 2400, 1200, 600, 300 characters per second
2. Lrc Horizontal parity generation: 0 = normal, 1 = complementary
3. LEt Horizontal parity position: 0 = without Lrc, 1 = Lrc following ETX, 2 = Lrc before ETX
4. Prt Vertical parity generation: 0 = even, 1 = odd
5. Snr Station number: 0 to 31
6. cbt CB time-out monitoring As multiple of cycle time: off, 1 to 30 s in steps
8 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 9
Serial SIPART DR24 Bus Interface Operating Instructions
10 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 11
Serial SIPART DR24 Bus Interface Operating Instructions
Ain4 tin 5AH 2 LOG 1.000 to 9984 s Analog integrator 4 Integrating time
Ain4 tr 5CH 2 LOG oFF, 1.000 to 9984 s Tracking time (ramp)
Ain4 LiA 5EH 2 LIN -199.9 to 199.9 % Output limiting. start.
Ain4 LiE 60H 2 LIN -199.9 to 199.9 % Output limiting. end
bin3 tin 62H 2 LOG ProG, 1 to 9984 s Binary integrator 3 Integrating time
bin3 tr 64H 2 LOG oFF, 1.000 to 9984 s Tracking time (ramp)
bin3 LiA 66H 2 LIN -199.9 to 199.9 % Output limiting, start
bin3 LiE 68H 2 LIN -199.9 to 199.9 % Output limiting, end
bin4 tin 6AH 2 LOG ProG, 1 to 9984 s Binary integrator 4 Integrating time
bin4 tr 6CH 2 LOG oFF, 1.000 to 9984 s Tracking time (ramp)
bin4 LiA 6EH 2 LIN -199.9 to 199.9 % Output limiting, start
bin4 LiE 70H 2 LIN -199.9 to 199.9 % Output limiting, end
bin5 tin 72H 2 LOG ProG, 1 to 9984 s Binary integrator 5 Integrating time
bin5 tr 74H 2 LOG oFF, 1.000 to 9984 s Tracking time (ramp)
bin5 LiA 76H 2 LIN -199.9 to 199.9 % Output limiting, start
bin5 LiE 78H 2 LIN -199.9 to 199.9 % Output limiting, end
bin6 tin 7AH 2 LOG ProG, 1 to 9984 s Binary integrator 6 Integrating time
bin6 tr 7CH 2 LOG oFF, 1.000 to 9984 s Tracking time (ramp)
bin6 LiA 7EH 2 LIN -199.9 to 199.9 % Output limiting, start
bin6 LiE 80H 2 LIN -199.9 to 199.9 % Output limiting, end
Ccn3 cP 82H 2 LOG 0.100 to 100.0 1 Controller K 3 Proportional gain
Ccn3 tn 84H 2 LOG 1.000 to 9984 s Reset time
Ccn3 tv 86H 2 LOG oFF, 1.000 to 2992 s Derivative action time
Ccn3 vv 88H 2 LOG 0.100 to 10.00 1 Derivative action gain
Ccn3 AH 8AH 2 LIN 0.0 to 10.0 % Response threshold
Ccn3 Yo 8CH 2 LIN AUto, 0.0 to 100.0 % Working point of P contr.
Ccn3 YA 8EH 2 LIN -10.0 to 110.0 % Manip. variable limit., start
Ccn3 YE 90H 2 LIN -10.0 to 110.0 % Manip. variable limit., end
Ccn3 tY 92H 2 LOG 10 to 1000 s Positioning time
Ccn4 cP 94H 2 LOG 0.100 to 100.0 1 Controller K 4 Proportional gain
Ccn4 tn 96H 2 LOG 1.000 to 9984 s Reset time
Ccn4 tv 98H 2 LOG oFF, 1.000 to 2992 s Derivative action time
Ccn4 vv 9AH 2 LOG 0.100 to 10.00 1 Derivative action gain
Ccn4 AH 9CH 2 LIN 0.0 to 10.0 % Response threshold
Ccn4 Yo 9EH 2 LIN AUto, 0.0 to 100.0 % Working point of P contr.
Ccn4 YA A0H 2 LIN -10.0 to 110.0 % Manip. variable limit., start
Ccn4 YE A2H 2 LIN -10.0 to 110.0 % Manip. variable limit., end
Ccn4 tY A4H 2 LOG 10 to 1000 s Positioning time
CSE3 cP A6H 2 LOG 0.100 to 100.0 1 Controller S extern 3 Proportional gain
CSE3 tn A8H 2 LOG 1.000 to 9984 s Reset time
CSE3 tv AAH 2 LOG oFF, 1.000 to 2992 s Derivative action time
CSE3 vv ACH 2 LOG 0.100 to 10.00 1 Derivative action gain
CSE3 AH AEH 2 LIN 0.0 to 10.0 % Response threshold
CSE3 Yo B0H 2 LIN AUto, 0.0 to 100.0 % Working point of P contr.
CSE3 YA B2H 2 LIN -10.0 to 110.0 % Manip. variable limit., start
CSE3 YE B4H 2 LIN -10.0 to 110.0 % Manip. variable limit., end
CSE3 tY B6H 2 LOG 10 to 1000 s Positioning time
CSE3 tA B8H 2 FIX 20 to 600 ms Min. pos. pulse pause
CSE3 tE BAH 2 FIX 20 to 600 ms Min. pos. pulse length
CSE4 cP BCH 2 LOG 0.100 to 100.0 1 Controller S extern 4 Proportional gain
CSE4 tn BEH 2 LOG 1.000 to 9984 s Reset time
CSE4 tv C0H 2 LOG oFF, 1.000 to 2992 s Derivative action time
CSE4 vv C2H 2 LOG 0.100 to 10.00 1 Derivative action gain
CSE4 AH C4H 2 LIN 0.0 to 10.0 % Response threshold
CSE4 Yo C6H 2 LIN AUto, 0.0 to 100.0 % Working point of P contr.
CSE4 YA C8H 2 LIN -10.0 to 110.0 % Manip. variable limit., start
CSE4 YE CAH 2 LIN -10.0 to 110.0 % Manip. variable limit., end
CSE4 tY CCH 2 LOG 10 to 1000 s Positioning time
CSE4 tA CEH 2 FIX 20 to 600 ms Min. pos. pulse pause
CSE4 tE D0H 2 FIX 20 to 600 ms Min. pos. pulse length
12 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 13
Serial SIPART DR24 Bus Interface Operating Instructions
14 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 15
Serial SIPART DR24 Bus Interface Operating Instructions
1) Interpretation:
Dezimal- FIX value *)
dd2 dd3 dd1 Meaning
code HiBY LoBY
SES bdr 300 0 00H 00H
600 1 02H
1200 2 # 04H
2400 3 06H
4800 4 08H
9600 5 00H 0AH
Lrc norM 0 00H 00H Normal
CMPL 1 00H 02H Complement
LEt no L 0 00H 00H Without Lrc
Et-L 1 # 02H With Lrc following ETX
L-Et 2 00H 04H With Lrc before ETX
Prt EvEn 0 00H 00H Even
odd 1 00H 02H Odd
Snr 0 to 125 0 to 125 00H 00H to FAH
Cbt oFF 0 00H 00H
1 1 02H
2 2 04H
3 3 06H
4 4 08H
5 5 # 0AH
7 6 0CH
10 7 0EH
15 8 10H
20 9 12H
30 10 00H 14H
*) HiBY = High byte; LoBY = Low byte
16 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
HiAd: 43H
LoAD: With 2-byte variables ! in-page address of the High byte
Name Setting range Dimen-
LoAd Byte Type Parameter meaning/remarks
dd2 dd3 dd1 sion
CLFo – 00H 2 FIX 1) Format of relative clock
CLCy – 02H 2 FIX 1 Number of program cycles
CLSb – 04H 2 FIX 1 Factor for clock high-speed
CLPr --.1 06H 2 FIX
CLPr --.2 08H 2 FIX
2)
CLPr --.3 0AH 2 FIX Number of intervals per program
CLPr --.4 0CH 2 FIX – (max. total 40 intervals for max. 8 possible programs)
CLPr --.5 0EH 2 FIX
no = no interval
CLPr --.6 10H 2 FIX
CLPr --.7 12H 2 FIX
CLPr --.8 14H 2 FIX
1) h, min, s
2) Interpretation:
FIX value *)
dd2 dd3 dd1 Dezimal code Meaning
HiBY LoBY
CLFo – h, ’ or 0 00H 00H
’, ” 1 00H 02H
CLCY – CYCL, 1 to 255 0 to 255 00H to 01H 00H to FEH CYCL = cyclic
CLSb – 3 0 00H 00H
6 1 02H
12 2 04H
24 3 # 06H
60 4 08H
120 5 0AH
168 6 0CH
360 7 00H 0EH
CLPr --.1
# no, 01 to 40 0 to 40 00H 00H to 50H no = no interval
--.8
*) HiBY = High byte; LoBY = Low byte
HiAd: 43H
Name Setting range Dimen-
LoAd Byte Type Parameter meaning
dd2 dd3 dd1 sion
CLti xx.y 20H 2 BIN
CLti xx.y 22H 2 BIN
CLti xx.y 24H 2 BIN
CLti xx.y 26H 2 BIN
CLti xx.y 28H 2 BIN
CLti xx.y 2AH 2 BIN
CLti xx.y 2CH 2 BIN
CLti xx.y 2EH 2 BIN 00.01
CLti xx.y 30H 2 BIN to For all For all
CLti xx.y 32H 2 BIN pro-
59.59 programs
CLti xx.y 34H 2 BIN grams
or depen- Time duration per interval xx in program y
CLti xx.y 36H 2 BIN 00.01 depen- ding on
CLti xx.y 38H 2 BIN to ding on CLFo
CLti xx.y 3AH 2 BIN 23.59 CLFo
CLti xx.y 3CH 2 BIN
CLti xx.y 3EH 2 BIN
CLti xx.y 40H 2 BIN
CLti xx.y 42H 2 BIN
CLti xx.y 44H 2 BIN
CLti xx.y 46H 2 BIN
CLti xx.y 48H 2 BIN
CLti xx.y 4AH 2 BIN
C73000ĆB7476ĆC135Ć06 17
Serial SIPART DR24 Bus Interface Operating Instructions
18 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Note:
xx = 00 to max. 40 intervals
y = 1 to max. 8 programs
C73000ĆB7476ĆC135Ć06 19
Serial SIPART DR24 Bus Interface Operating Instructions
HiAd: 45H
Name Setting range Dimen-
LoAd Byte Type Parameter meaning
dd2 dd3 dd1 sion
CLA2 xx.y 00H 2 LIN
CLA2 xx.y 02H 2 LIN
CLA2 xx.y 04H 2 LIN
CLA2 xx.y 06H 2 LIN
CLA2 xx.y 08H 2 LIN
CLA2 xx.y 0AH 2 LIN
CLA2 xx.y 0CH 2 LIN
CLA2 xx.y 0EH 2 LIN
CLA2 xx.y 10H 2 LIN
CLA2 xx.y 12H 2 LIN
CLA2 xx.y 14H 2 LIN
CLA2 xx.y 16H 2 LIN
CLA2 xx.y 18H 2 LIN
CLA2 xx.y 1AH 2 LIN
CLA2 xx.y 1CH 2 LIN
CLA2 xx.y 1EH 2 LIN
CLA2 xx.y 20H 2 LIN
CLA2 xx.y 22H 2 LIN
CLA2 xx.y 24H 2 LIN
CLA2 xx.y 26H 2 LIN
CLA2 xx.y 28H 2 LIN
CLA2 xx.y 2AH 2 LIN
CLA2 xx.y 2CH 2 LIN
CLA2 xx.y 2EH 2 LIN -199.9 to 199.9,
% Analog output 2, amplitude in interval XX of program y
CLA2 xx.y 30H 2 LIN noP 1)
CLA2 xx.y 32H 2 LIN
CLA2 xx.y 34H 2 LIN
CLA2 xx.y 36H 2 LIN
CLA2 xx.y 38H 2 LIN
CLA2 xx.y 3AH 2 LIN
CLA2 xx.y 3CH 2 LIN
CLA2 xx.y 3EH 2 LIN
CLA2 xx.y 40H 2 LIN
CLA2 xx.y 42H 2 LIN
CLA2 xx.y 44H 2 LIN
CLA2 xx.y 46H 2 LIN
CLA2 xx.y 48H 2 LIN
CLA2 xx.y 4AH 2 LIN
CLA2 xx.y 4CH 2 LIN
CLA2 xx.y 4EH 2 LIN
CLA2 xx.y 50H 2 LIN
CLA2 xx.y 52H 2 LIN
CLA2 xx.y 54H 2 LIN
CLA2 xx.y 56H 2 LIN
CLA2 xx.y 58H 2 LIN
CLA2 xx.y 5AH 2 LIN
CLA2 xx.y 5CH 2 LIN
CLA2 xx.y 5EH 2 LIN
1) noP = 200.0 % = FFH, FEH as LiN value
Note:
xx =00 to max. 40 intervals
y = 1 to max. 8 programs
20 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
CLti(m,n) = 30 + 2 m + ǒ n-1
ȍ I_k Ǔ
k=0
where: m = 1, ..., 40 = Interval no. within the n-th program
n = 0, ..., 8 = Program no. of observed parameter
I_k = Interval no. of k-th program
I_0 = 0 per definition
! Since the CLti parameters are present on page HiAd 43H of the ERAM, the HiAd starting address of the HiBY
of CLti(3,4) is therefore:
! 4334H
CLb_x(m,n) = 126 + 2 m + ǒ
n-1
ȍ
k=0
I_k
Ǔ
where: m = 1, ..., 40 = Interval no. within the n-th program
n = 0, ..., 8 = Program no. of observed parameter
I_k = Interval no. of k-th program
C73000ĆB7476ĆC135Ć06 21
Serial SIPART DR24 Bus Interface Operating Instructions
CLAj(m,n) = 2
ǒ m-1+ ȍ
n-1
I_k +
n
ȍ P_k Ǔ
k=0 k=0
where: j = 1, 2
m = 0, ..., 40 = Interval no. within the n-th program
n = 0, ..., 8 = Program no. of observed parameter
I_k = Interval no. of k-th program
I_0 = 0 per definition!
P_k= Number of defined starting intervals of the k-th program
P_0= 0 per definition
! Since the CLA2 parameters are present on page HiAd 45H of the ERAM, the HiAd starting address of the HiBY
of CLA2(3,4) is therefore:
! 451AH
Example 2: given: ! see a)
wanted:In-page address of parameter CLA1 in the 0-th interval of the 8th program
! CLA1(0,8)= 2(0 Ć 1 + 12 + 4) = 30 ! 1EH
8
ȍ P_k = (0) + 1 + 0 + 1 + 1 + 0 + 0 + 0 + 1 = 4
k=0
7
ȍ I_k = (0) + 3 + 0 + 5 + 4 + 0 + 0 + 0 = 12
k=0
³ Since the CLA1 parameters are present on page HiAd 44H of the ERAM, the HiAd starting address of the HiBY
of CLA1(0,8) is therefore:
! 441EH
22 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Note: Specific reference is again made to the fact that changing the parameter ”CLPr” is not a trivial modifi-
cation but results in complex restoring within the parameters CLti to CLb_x. This restoring is carried
out automatically when operations are made on the front panel (AUTO-DELETE, AUTO-INSERT).
In the case of operations via the SES, restoring must be carried out by the host computer.
Interpretation of the contents of the CLPA parameters must always be oriented according to the cur-
rent number of defined programs ”CLPr” and the number of installed intervals per program using the
above formulae.
! The meaning of the parameters ”CLFo to CLSb” can be obtained from the following table ”TAB1”:
C73000ĆB7476ĆC135Ć06 23
Serial SIPART DR24 Bus Interface Operating Instructions
24 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 25
Serial SIPART DR24 Bus Interface Operating Instructions
26 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 27
Serial SIPART DR24 Bus Interface Operating Instructions
28 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
HiAd: 65H ³ HiBY pointer of the source Name LoAd Name LoAd
HiAd: 68H ³ LoBY pointer of the source dd2 dd2
h2.16 80H L04.U C3H
Name LoAd Name LoAd h2.17 81H L05.1 C4H
dd2 dd2 h2.18 82H L05.2 C5H
c01.2 00H d1.06 40H AA1.1 83H L05.U C6H
c01.3 01H d1.07 41H AA1.2 84H L06.1 C7H
c01.4 02H d1.08 42H AA2.1 85H L06.2 C8H
c02.1 03H d1.09 43H AA2.2 86H L06.U C9H
c02.2 04H d1.10 44H AA3.1 87H L07.1 CAH
c02.3 05H d1.11 45H AA3.2 88H L07.2 CBH
c02.4 06H d1.12 46H AA4.1 89H L07.U CCH
c03.1 07H d2.01 47H AA4.2 8AH L08.1 CDH
c03.2 08H d2.02 48H – 1) 8BH L08.2 CEH
c03.3 09H d2.03 49H – 1) 8CH L08.U CFH
c03.4 0AH d2.04 4AH – 1) 8DH L09.1 D0H
c04.1 0BH d2.05 4BH – 1) 8EH L09.2 D1H
c04.2 0CH d2.06 4CH – 1) 8FH L09.U D2H
c04.3 0DH d2.07 4DH – 1) 90H L10.1 D3H
c04.4 0EH d2.08 4EH AA.U 91H L10.2 D4H
c05.1 0FH d2.09 4FH bA1.1 92H L10.U D5H
c05.2 10H d2.10 50H bA1.2 93H L11.1 D6H
c05.3 11H d2.11 51H bA2.1 94H L11.2 D7H
c05.4 12H d2.12 52H bA2.2 95H L11.U D8H
c06.1 13H d3.01 53H bA3.1 96H L12.1 D9H
c06.2 14H d3.02 54H bA3.2 97H L12.2 DAH
c06.3 15H d3.03 55H bA4.1 98H L12.U DBH
c06.4 16H d3.04 56H bA4.2 99H L13.1 DCH
c07.1 17H d3.05 57H bA05 9AH L13.2 DDH
c07.2 18H d3.06 58H bA06 9BH L13.U DEH
c07.3 19H d3.07 59H bA07 9CH L14.0 DFH
c07.4 1AH d3.08 5AH bA08 9DH L14.1 E0H
c08.1 1BH d3.09 5BH bA09 9EH L14.2 E1H
c08.2 1CH d3.10 5CH bA10 9FH L14.3 E2H
c08.3 1DH d3.11 5DH bA11 A0H L14.4 E3H
c08.4 1EH d3.12 5EH bA12 A1H L14.5 E4H
c09.1 1FH h1.01 5FH bA13 A2H L14.6 E5H
c09.2 20H h1.02 60H bA14 A3H L14.7 E6H
c09.3 21H h1.03 61H bA15 A4H L14.8 E7H
c09.4 22H h1.04 62H bA16 A5H L14.9 E8H
c10.1 23H h1.05 63H bA.U A6H SAA1 E9H
c01.2 24H h1.06 64H bLPS A7H SAA2 EAH
c10.3 25H h1.07 65H bLS A8H SAA3 EBH
c10.4 26H h1.08 66H dA1.1 A9H SAA4 ECH
c11.1 27H h1.09 67H dA1.2 AAH SAA5 EDH
c11.2 28H h1.10 68H dA1.U ABH SAA6 EEH
c11.3 29H h1.11 69H dA2.1 ACH SAA7 EFH
c11.4 2AH h1.12 6AH dA2.2 ADH SAA8 F0H
c12.1 2BH h1.13 6BH dA2.U AEH SA1.1 F1H
c12.2 2CH h1.14 6CH dd1.1 AFH SA1.2 F2H
c12.3 2DH h1.15 6DH dd1.2 B0H SA2.1 F3H
c12.4 2EH h1.16 6EH dd1.U B1H SA2.2 F4H
c13.1 2FH h1.17 6FH dd2.1 B2H SA3.1 F5H
c13.2 30H h1.18 70H dd2.2 B3H SA3.2 F6H
c13.3 31H h2.01 71H dd2.U B4H SA4.1 F7H
c13.4 32H h2.02 72H dd3.1 B5H SA4.2 F8H
c14.1 33H h2.03 73H dd3.2 B6H SA5.1 F9H
c14.2 34H h2.04 74H dd3.U B7H SA5.2 FAH
c14.3 35H h2.05 75H L01.1 B8H SA6.1 FBH
c14.4 36H h2.06 76H L01.2 B9H SA6.2 FCH
c15.1 37H h2.07 77H L01.U BAH SA7.1 FDH
c15.2 38H h2.08 78H L02.1 BBH SA7.2 FEH
c15.3 39H h2.09 79H L02.2 BCH SA8.1 FFH
c15.4 3AH h2.10 7AH L02.U BDH
d1.01 3BH h2.11 7BH L03.1 BEH
d1.02 3CH h2.12 7CH L03.2 BFH
d1.03 3DH h2.13 7DH L03.U C0H
d1.04 3EH h2.14 7EH L04.1 C1H
d1.05 3FH h2.15 7FH L04.2 C2H *) reserved
C73000ĆB7476ĆC135Ć06 29
Serial SIPART DR24 Bus Interface Operating Instructions
HiAd: 66H ³ HiBY pointer of the source Name LoAd Name LoAd
HiAd: 69H ³ LoBY pointer of the source dd2 dd2
c16.1 48H c32.2 89H
Name LoAd c16.2 49H c32.3 8AH
dd2 c16.3 4AH c32.4 8BH
SA8.2 00H c16.4 4BH c33.1 8CH
SbA1 01H c17.1 4CH c33.2 8DH
SbA2 02H c17.2 4DH c33.3 8EH
SbA3 03H c17.3 4EH c33.4 8FH
SbA4 04H c17.4 4FH d4.01 90H
SbA5 05H c18.1 50H d4.02 91H
SbA6 06H c18.2 51H d4.03 92H
SbA7 07H c18.3 52H d4.04 93H
SbA8 08H c18.4 53H d4.05 94H
tA1.U 09H c19.1 54H d4.06 95H
tA2.U 0AH c19.2 55H d4.07 96H
tA3.U 0BH c19.3 56H d4.08 97H
tA4.U 0CH c19.4 57H d4.09 98H
tA5.U 0DH c20.1 58H d4.10 99H
tA6.U 0EH c20.2 59H d4.11 9AH
tA7.U 0FH c20.3 5AH d4.12 9BH
c20.4 5BH h3.01 9CH
c21.1 5CH h3.02 9DH
c21.2 5DH h3.03 9EH
c21.3 5EH h3.04 9FH
HiAd: 54H ³ HiBY pointer of the source only 6DR2410 c21.4 5FH h3.05 A0H
HiAd: 56H ³ LoBY pointer of the source only 6DR2410 c22.1 60H h3.06 A1H
c22.2 61H h3.07 A2H
c22.3 62H h3.08 A3H
Name LoAd Name LoAd c22.4 63H h3.09 A4H
dd2 dd2 c23.1 64H h3.10 A5H
b86.1 00H b98.1 24H c23.2 65H h3.11 A6H
b86.2 01H b98.2 25H c23.3 66H h3.12 A7H
b86.3 02H b98.3 26H c23.4 67H h3.13 A8H
b87.1 03H b99.1 27H c24.1 68H h3.14 A9H
b87.2 04H b99.2 28H c24.2 69H h3.15 AAH
b87.3 05H b99.3 29H c24.3 6AH h3.16 ABH
b88.1 06H bH0.1 2AH c24.4 6BH h3.17 ACH
b88.2 07H bH0.2 2BH c25.1 6CH h3.18 ADH
b88.3 08H bH0.3 2CH c25.2 6DH h4.01 AEH
b89.1 09H bH1.1 2DH c25.3 6EH h4.02 AFH
b89.2 0AH bH1.2 2EH c25.4 6FH h4.03 B0H
b89.3 0BH bH1.3 2FH c26.1 70H h4.04 B1H
b90.1 0CH bH2.1 30H c26.2 71H h4.05 B2H
b90.2 0DH bH2.2 31H c26.3 72H h4.06 B3H
b90.3 0EH bH2.3 32H c26.4 73H h4.07 B4H
b91.1 0FH bH3.1 33H c27.1 74H h4.08 B5H
b91.2 10H bH3.2 34H c27.2 75H h4.09 B6H
b91.3 11H bH3.3 35H c27.3 76H h4.10 B7H
b92.1 12H bH4.1 36H c27.4 77H h4.11 B8H
b92.2 13H bH4.2 37H c28.1 78H h4.12 B9H
b92.3 14H bH4.3 38H c28.2 79H h4.13 BAH
b93.1 15H bH5.1 39H c28.3 7AH h4.14 BBH
b93.2 16H bH5.2 3AH c28.4 7BH h4.15 BCH
b93.3 17H bH5.3 3BH c29.1 7CH h4.16 BDH
b94.1 18H bH6.1 3CH c29.2 7DH h4.17 BEH
b94.2 19H bH6.2 3DH c29.3 7EH h4.18 BFH
b94.3 1AH bH6.3 3EH c29.4 7FH AA5.1 C0H
b95.1 1BH bH7.1 3FH c30.1 80H AA6.1 C1H
b95.2 1CH bH7.2 40H c30.2 81H AA7.1 C2H
b95.3 1DH bH7.3 41H c30.3 82H AA8.1 C3H
b96.1 1EH bH8.1 42H c30.4 83H AA9.1 C4H
b96.2 1FH bH8.2 43H c31.1 84H blb C5H
b96.3 20H bH8.3 44H c31.2 85H dA1.3 C6H
b97.1 21H bH9.1 45H c31.3 86H dA1.4 C7H
b97.2 22H bH9.2 46H c31.4 87H dA1.M C8H
b97.3 23H bH9.3 47H c32.1 88H dA2.3 C9H
30 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
HiAd: 54H ³ HiBY pointer of the source (continued) HiAd: 55H ³ HiBY pointer of the source
HiAd: 56H ³ LoBY pointer of the source (continued) HiAd: 57H ³ LoBY pointer of the source
C73000ĆB7476ĆC135Ć06 31
Serial SIPART DR24 Bus Interface Operating Instructions
32 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 33
Serial SIPART DR24 Bus Interface Operating Instructions
Binary outputs
Outputs HiBY LoBY Outputs HiBY LoBY Outputs HiBY LoBY
dd1 dd1 dd1
AdAP 4AH F2H tA1D 68H 7FH tA76 4BH 45H
AE1! 4AH F3H tA1E 68H 80H tA7A 68H A0H
AE2! 4AH F4H tA1F 68H 81H tA7B 68H A1H
AE3! 4AH F5H tA21 4BH 22H tA7C 68H A2H
AE4! 4AH F6H tA22 4BH 23H tA7D 68H A3H
AE5! 4AH F7H tA23 4BH 24H tA7E 68H A4H
AE6! 4AH F8H tA24 4BH 25H tA7F 68H A5H
AE7! 4AH F9H tA25 4BH 26H tAC1 68H A6H
AE8! 4AH FAH tA26 4BH 27H tAC2 68H A7H
AE9! 68H 6EH tA2A 68H 82H tACt 4BH 46H
A10! 68H 6FH tA2B 68H 83H
A11! 68H 70H tA2C 68H 84H
bA13 4AH FBH tA2D 68H 85H
bA23 4AH FCH tA2E 68H 86H
bA33 4AH FDH tA2F 68H 87H
bA43 4AH FEH tA31 4BH 28H
bE01 4AH FFH tA32 4BH 29H Example:
bE02 4BH 00H tA33 4BH 2AH Connection input b22.2 with AE1A
bE03 4BH 01H tA34 4BH 2BH
bE04 4BH 02H tA35 4BH 2CH HiAd LoAd Contents
bE05 4BH 03H tA36 4BH 2DH
64H 40H 4AH
bE06 4BH 04H tA3A 68H 88H
bE07 4BH 05H tA3B 68H 89H 67H 40H 9EH
bE08 4BH 06H tA3C 68H 8AH
bE09 4BH 07H tA3D 68H 8BH
bE10 4BH 08H tA3E 68H 8CH
bE11 4BH 09H tA3F 68H 8DH
bE12 4BH 0AH tA41 4BH 2EH
bE13 4BH 0BH tA42 4BH 2FH
bE14 4BH 0CH tA43 4BH 30H
Hi 4BH 0DH tA44 4BH 31H
Lo 4BH 0EH tA45 4BH 32H
nAE! 4BH 0FH tA46 4BH 33H
nPAR 4BH 10H tA4A 68H 8EH
nPon 4BH 12H tA4B 68H 8FH
nStr 4BH 13H tA4C 68H 90H
oPEr 68H 71H tA4D 68H 91H
rES1 68H 72H tA4E 68H 92H
rES2 68H 73H tA4F 68H 93H
SbE1 4BH 14H tA53 4BH 36H
SbE2 4BH 15H tA54 4BH 37H
SbE3 4BH 16H tA55 4BH 38H
SbE4 4BH 17H tA56 4BH 39H
SbE5 4BH 18H tA5C 68H 96H
SbE6 4BH 19H ta5D 68H 97H
SbE7 4BH 1AH tA5E 68H 98H
SbE8 4BH 1BH tA5F 68H 99H
SbE9 68H 74H tA61 4BH 3AH
SbF0 68H 75H tA62 4BH 3BH
SbF1 68H 76H tA63 4BH 3CH
SbF2 68H 77H tA64 4BH 3DH
SbF3 68H 78H tA65 4BH 3EH
SbF4 68H 79H tA66 4BH 3FH
SbF5 68H 7AH tA6A 68H 9AH
SbF6 68H 7BH tA6B 68H 9BH
tA11 4BH 1CH tA6C 68H 9CH
tA12 4BH 1DH tA6D 68H 9DH
tA13 4BH 1EH tA6E 68H 9EH
tA14 4BH 1FH tA6F 68H 9FH
tA15 4BH 20H tA71 4BH 40H
tA16 4BH 21H tA72 4BH 41H
tA1A 68H 7CH tA73 4BH 42H
tA1B 68H 7DH tA74 4BH 43H
tA1C 68H 7EH tA75 4BH 45H
34 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Time processing of the defined functions is described by 2 bytes which contain the function identification.
HiAD: 74H
HiAd: 75H**)
LoAD: 00H to AEH for n001 to n175
contains 40H for b01.F to b85.F
c01.F to c15.F
d01.F to d03.F
h01.F to h02.F
nPoS
60H for b86.F to bH9.F
c16.F to c33.F
d04.F
h03.F to h04.F
Example:
– Block n004 is set with b02.F
– Block n174 is set with c16.F
HiAd LoAd Contents
74H 03H 02H FdEF identification b02.F
75H 03H 40H
74H ADH 18H FdEF identification c16.F
75H ADH 60H
C73000ĆB7476ĆC135Ć06 35
Serial SIPART DR24 Bus Interface Operating Instructions
*) only 6DR2410
36 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
1 — 4)
0 (LSB) — 4)
*) only 6DR2410
C73000ĆB7476ĆC135Ć06 37
Serial SIPART DR24 Bus Interface Operating Instructions
and structuring
5
4 Status MEM_bUSY ! Storage taking place in user memory 1)
38 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
4
3 Status nStr (OFFL) ! Offline mode
2 Error ncon/Err (highest priority) 2)
1 Error -PoS/Err 2)
C73000ĆB7476ĆC135Ć06 39
Serial SIPART DR24 Bus Interface Operating Instructions
Byte ST11
MESSAGE STATUS
Bit TRANSMITTER FAULT
7 AE8
6 AE7
5 AE6
4 AE5
3 AE4
2 AE3
1 AE2
0 AE1
40 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Byte ST14
MESSAGE STATUS
Bit TRANSMITTER FAULT
7 x
6 x
5 x
4 x
3 x
2 AE11
1 AE10
0 AE9
6 SbA15
5 SbA14
4 SbA13
3 SbA12
2 SbA11
1 SbA10
0 SbA9
C73000ĆB7476ĆC135Ć06 41
Serial SIPART DR24 Bus Interface Operating Instructions
7 0 2)
6 0/1 3)
5 AE
4 SbA5 4)
3 SbA4 4)
2 SbA3 4)
1 SbA2 4)
0 SbA1 4)
7 0 2)
6 1
5 AE
4 SbA5 4)
3 SbA4 4)
2 SbA3 4)
1 SbA2 4)
0 SbA1 4)
42 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
*) The structuring switch “SES” cannot be transmitted to the DR24 via the SES. The transmitted value is ignored internally.
D Copy of parameters
The parameters can be transmitted completely or individually.
To enable a complete copy (batch mode), the following pages must be transmitted taking into account the
address limitations:
*) only 6DR2410
**) The parameters ”SES bdr” to ”SES Cbt” = A0H to ABH cannot be transmitted to the controller via the SES!
C73000ĆB7476ĆC135Ć06 43
Serial SIPART DR24 Bus Interface Operating Instructions
D LOG
High Byte Low Byte
D FIX
High Byte Low Byte
2+14 20 Sign
D LIN
High Byte Low Byte
20 2Ć14 Sign
Examples:
1. 100.0 % = 1.000 = 80H, 00H
2. Smallest parameter value = Ć199.9 % = Ć1.999 = FFH, DFH (approximation)
3. Largest parameter value = 199.9 % = 1.999 = FFH, DEH (approximation)
4. Special case: parameter = AUto = 00H, 01H
44 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
2.3.15 Error messages of the SIPART DR24 which can be eliminated via the SES
D The error messages are arranged according to priority. If several errors occur simultaneously, they are displayed
on the front module according to their priority. Most faults are also signalled in various status bytes for
evaluation by the SES. The errors listed here can all be eliminated either by acknowledgement or correction.
D It is recommendable to correct the errors since only then can the desired function of the controller be guaranteed.
D An acknowledgement should be the exception.
D The following error priority exists:
1. FdEF/Err1 ! Can be corrected via front module or SES
2. FdEF/Err2 ! Can be corrected via front module or SES
3. hdEF/Err ! Can be corrected via front module or SES
4. FCon/Err ! Can be corrected via front module or SES
5. FPoS/Err1 ! Can be corrected via front module or SES
6. FPoS/Err2 ! Can be corrected via front module or SES
7. FPoS/Err3 ! Can be corrected via front module or SES
8. ncon/Err ! Can be acknowledged via front module or SES
9. -PoS/Err ! Can be acknowledged via front module or SES
10. nPoS/Err ! Can be acknowledged via front module or SES
D The error messages have the following meaning:
- FdEF/Err1 ! Illegal function code
- FdEF/Err2 ! Illegal multiple definition of a function
- hdEF/Err ! Illegal structuring switch contents
- FCon/Err ! Illegal connection of source and destination
- FPoS/Err1 ! Illegal positioning address
- FPoS/Err2 ! Illegal multiple positioning of a block
- FPoS/Err3 ! Illegal positioning of an undefined block
- ncon/Err ! Data sinks exist which are not yet connected (apart from those of the
display units)
- -PoS/Err ! Blocks exist which are defined but not positioned
- nPoS/Err ! A position number which has not yet been positioned still exist within
a positioning series
C73000ĆB7476ĆC135Ć06 45
Serial SIPART DR24 Bus Interface Operating Instructions
Error elimination
The signalled error disappears automatically following a successful modification, correction or acknowledgement.
46 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 47
Serial SIPART DR24 Bus Interface Operating Instructions
48 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
– When reading the configuration, 00H will be transmitted instead of the data
– Any attempt to write onto protected areas will be acknowledged with StNoB in the response
– If an attempt is made to disable the copy protection with the wrong keyword, an attempt can only be repeated
after a defined time (dependent on the number of failed attempts)
C73000ĆB7476ĆC135Ć06 49
Serial SIPART DR24 Bus Interface Operating Instructions
50 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
3 PROFIBUS
The device data base files (GSD) DR0200A7.GSD and DR0300A7.GSD (software version –C4 upwards) accompany
this and can also be downloaded from the Internet at www.ad.siemens.de/csi/gsd PROFIBUS GSD files/Control.
Special programs (standard function blocks) are available for the Siemens PLC Simatic S5/S7 masters to allow
interfacing with the SIPART DR.
The file DR0200A7.GSD is already contained in the PROFIBUS configuration tool from Siemens. It is also required
when the standard function blocks (FB) are used.
The file DR0300A7.GSD is recommended (from software version –C4!) if the standard function blocks (FB) are
not to be used for S5/S7 or a different master is used.
C73000ĆB7476ĆC135Ć06 51
Serial SIPART DR24 Bus Interface Operating Instructions
If the SIPART is also to react correspondingly to the ”Master only transmits zeros” (e.g. PLC in stop), an uneven
last parameter byte 0x01 must also be sent (software version –C4 onwards).
52 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Bit Meaning
7 PNU as process data (PCD) suitable for cyclic reading (writing)
6 PNU is an array (a sequence of data from the same type)
5 Writable only with PNU 0 = 2/3 (bit 1 in status ST_U)
4 Writable only with PNU 0 = 1/3 (bit 0 in status ST_U)
3 –
2 Special formats (”off” / ”auto” / ”nop”) permitted
1 Not writable
0 Limit values not relevant
Note:
1.) Order of bytes always from high to low
2). The two low mantissa bytes should be 0 when float values are written
C73000ĆB7476ĆC135Ć06 53
Serial SIPART DR24 Bus Interface Operating Instructions
Examples:
e.g.:
Transmitted PNU value: 0x0064 (int16 ––> 100)
Conversion index: 0XFF (–1 in 2 complement)
Special cases:
54 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Bit Meaning
4 Front parameterization enabled
3 Front structuring enabled
2 Write protection for job to be carried out available
1 Front access to ”onPA” parameter with identifier bit 5 in identification has occurred (not with DR20!)
0 Front access to ”Stru” parameter with identifier bit 4 in identification has occurred (not with DR20!)
C73000ĆB7476ĆC135Ć06 55
Serial SIPART DR24 Bus Interface Operating Instructions
7.) The system identifier consisting of 4*4 byte ASCII is writable/readable. The data are saved on the module
with no--volt protection.
8./9.) The PNUs 10 to 41 or 42 to 49 are a replica of the extended parameters for setting the read/write
data in the cyclic data transfer. They only have to be filled when the master does not have extended
parameter capability.
The data are then saved on the module with no--volt protection.
These data must be written using AKZ and PNU in earlier versions.
Each config byte from the 0xA2 form creates 3 byte output with consistency over all 3 bytes. This allows one
process variable for each to be written.
The PNU number of the variable to be written must be set in the extended parameters from byte no. 65.
3.7 Examples
Using job identification (AKZ) and parameter number (PNU) (1. Config Byte = 0xF3)
56 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
3.) Reading DR2410 PNU 357 [0x165] (if not via cyclical process data)
(device value: AE1 = 0,75 = 75 %)
C73000ĆB7476ĆC135Ć06 57
Serial SIPART DR24 Bus Interface Operating Instructions
6.) Writing ”onpa” parameter Pd05 = 2.500 PNU 110 [0x6E] and PL01 = 1.000 PNU 122 [0x7A]
6.1.) Writing ST_U Bit.1 = 1 –> writing of ”onpa” parameters possible
58 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Note:
as of software version –C4 of the modules and –B3 of the controller DR2410 it is possible to write single
parameters without controlling with ST_U.
7.) Writing DR2410 ”stru” parameter L1.0 = 25 % PNU 262 [0x106] and dP11 =2 PNU 231 [0xE7]
7.1.) Writing ST_U Bit.0 = 1 –> Writing of ”stru” parameters possible
C73000ĆB7476ĆC135Ć06 59
Serial SIPART DR24 Bus Interface Operating Instructions
8.) Reading DR2410 process variables AE3 PNU 359 [0x167] via AKZ and PNU (device value for AE3=35 %)
60 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
9.) Writing DR2410 process variables SA1.3 PNU 370 [0x172] via AKZ and PNU (transmitted value = 11%)
C73000ĆB7476ĆC135Ć06 61
Serial SIPART DR24 Bus Interface Operating Instructions
Config bytes: 0xF3 / 0x55 (for e.g. 6 PZDs) / 0x00 / 0xA2 / 0xA2 / 0xA2 / 0xA2
65.Param 0x01
66.Param 0x71
67.Param 0x01
68.Param 0x72
69.Param 0x01
70.Param 0x73
71.Param 0x01
72.Param 0x79
62 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Parameter ”onPA”
C73000ĆB7476ĆC135Ć06 63
Serial SIPART DR24 Bus Interface Operating Instructions
64 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 65
Serial SIPART DR24 Bus Interface Operating Instructions
66 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 67
Serial SIPART DR24 Bus Interface Operating Instructions
68 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 69
Serial SIPART DR24 Bus Interface Operating Instructions
70 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 71
Serial SIPART DR24 Bus Interface Operating Instructions
72 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 73
Serial SIPART DR24 Bus Interface Operating Instructions
Parameter ”oFPA”
74 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 75
Serial SIPART DR24 Bus Interface Operating Instructions
76 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 77
Serial SIPART DR24 Bus Interface Operating Instructions
Parameter ”ClPA”
CAE4
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
578 | 00010000/int16| 0 | 0 | 7 | 0 / 0 |”Sen4”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
579 | 00010000/int16| 0 | 0 | 2 | 0 / 0 |”uni4”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
580 | 00010000/int16| 0 | 0 | 10 | 0 / 0 |”typ4”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
581 | 00010000/int16| 0 | 0 | 10000 | 23 /–2 |”Mr4 ”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
582 | 00010000/int16| 0 | 0 | 4000 | 17/ –1 |”tb4 ”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
583 | 00010000/int16| 0 | 0 | 3 | 0 / 0 |”MP4 ”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
584 | 00010000/int16| 0 | –1999 | 19999 | 0 / 0 |”MA4 ”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
585 | 00010000/int16| 0 | –1999 | 19999 | 0 / 0 |”ME4 ”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
78 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
CAE5
C73000ĆB7476ĆC135Ć06 79
Serial SIPART DR24 Bus Interface Operating Instructions
Parameter ”HdEF”
80 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 81
Serial SIPART DR24 Bus Interface Operating Instructions
82 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
C73000ĆB7476ĆC135Ć06 83
Serial SIPART DR24 Bus Interface Operating Instructions
84 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
Processdata (write–/readable)
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
369 | 10000000/bs16 | 0 | 0 | 00FF | 0 / 0 | ”ST5” | 8.)
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
370 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA13”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
371 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA23”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
372 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA33”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
373 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA43”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
374 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA53”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
375 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA63”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
376 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA73”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
377 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH | ”SA83”|
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
378 | 10000000/bs16 | 0 | 0 | 00FF | 0 / 0 | ”ST6 ”| 9.)
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
626 | 10000000/bs16 | 0 | 0 | 00FF | 0 / 0 |”ST13” | 10.)
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
627 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S_93” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
628 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S103” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
629 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S113” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
630 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S123” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
631 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S133” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
632 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S143” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
633 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S153” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
634 | 10000000/int16| 0 | –199.9 | 199.9 | 0 /7FH |”S163” |
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
C73000ĆB7476ĆC135Ć06 85
Serial SIPART DR24 Bus Interface Operating Instructions
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
| BIT 15 : X | BIT 7: X
| BIT 14 : X | BIT 6: X
| BIT 13 : MUF | BIT 5: X
| BIT 12 : SbA5 | BIT 4: X
| BIT 11 : SbA4 | BIT 3: X
| BIT 10 : SbA3 | BIT 2: X
| BIT 9 : SbA2 | BIT 1: X
| BIT 8 : SbA1 | BIT 0: X
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
86 C73000-B7476-C135-06
Operating Instructions Serial SIPART DR24 Bus Interface
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
| BIT 15 : 0 | BIT 7: X
| BIT 14 : 0 | BIT 6: X
| BIT 13 : 0 | BIT 5: X
| BIT 12 : 0 | BIT 4: X
| BIT 11 : 0 | BIT 3: X
| BIT 10 : 0 | BIT 2: AE11#
| BIT 9 : 0 | BIT 1: AE10#
| BIT 8 : 0 | BIT 0: AE9#
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
C73000ĆB7476ĆC135Ć06 87
Serial SIPART DR24 Bus Interface Operating Instructions
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
88 C73000-B7476-C135-06
Siemens AG
Bereich Automatisierungs- und Antriebstechnik
Geschäftsgebiet A&D PA
D-76181 Karlsruhe E Siemens AG 1991 All rights reserved