ASM 421 module
Cold start and restart
Checking entry and exit of MDS
in SLG transmission window
System and transmission times
Troubleshooting and
error messages
Warnings
1
2
3
4
5
6
7
8
6GT2 097-3AH00-0DA2
Published in March 2002
Page 2
Safety Guidelines
This manual contains notices which you should observe to ensure your own personal safety, as well to protect the
product and connected equipment. These notices are highlighted in the manual by a warning triangle and are marked as follows to the level of danger.
Danger
!
indicates that death, severe personal injury or substantial property damage will result if proper precautions are not taken.
Warning
!
indicates that death, severe personal injury or substantial property damage can result if proper precautions are not taken.
Caution
!
indicates that minor personal injury or property damage can result if proper precautions are not
taken.
Note
draws your attention to particularly important information on the product, handling the product, or to
a particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are defined
as persons who are authorized to commission, to ground, and to tag circuits, equipment, and systems in accordance with established safety practices and standards.
Correct Usage
Note the following:
Warning
!
This device and its components may only be used for the applications described in the catalog or
technical description, and only in connection with devices or components from other manufactorers
which have been approved or recommended by Siemens.
This product can only function correctly and savely if it is transported, stored, set up, and installed
correctly, and operated and maintained as recommended.
Trademarks
SIMATIC and MOBY are registered trademarks of SIEMENS AG.
Copyright
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, including rights created by patent grant or registration of
a utility model or design, are reserved.
Siemens AG
Automation & Drives (A&D)
Systems Engineering (A&D SE)
P.O. Box 23 55, D-90713 Fuerth
We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely,
we cannot guarantee full agreement. However, the data in this manual are
reviewed regularly and any necessary corrections included in subsequent
editions. Suggestions for improvement are welcomed.
Siemens AG 2002
Technical data subject to change.
The ASM 421 is a serial interface module for the MOBY I identification system. It can be driven from any
computer, PC or PLC using the 3964R procedure. The MOBY I file handler is implemented on the
ASM 421.
What is the file handler?
The file handler is a data management system for the MOBY I identification system. It consists of a program that runs on the interface module. The MDS (mobile data carrier) and SLG (read-write unit) components of MOBY I are identical with and without file handler.
For better understanding of the MOBY file handler, it works in much the same way as a floppy disk system.
MOBY I File HandlerFloppy Disk System
MDS:
Data is stored electronically in
the MDS on a memory chip
(RAM or EEPROM).
SLG:
The SLG modulates the data
stream arriving from the ASM
and demodulates the data
stream arriving from the MDS.
The positioning of the MDS
must lie within the transmission window of the SLG. This
amounts to several centimeters.
The MOBY I interface module
(ASM 421) provides the user
interface. A USART module on
the ASM produces the serial
data stream for the SLG.
Floppy Disk:
Data is written magnetically on
a floppy disk.
Floppy Drive:
The floppy drive converts the
data impulses arriving from the
PC into a write string for the
read/write head (or vice versa)
The floppy disk must be positioned very exactly over the
read/write head as this generates only very small magnetic
fields.
A PC controls the floppy drive
and exchanges data with it via
a parallel interface. The coding
and decoding of the data takes
place in a floppy controller in
the PC.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Similarities between MOBY file handler and a floppy disk
– The user does not access physical memory addresses
– The user addresses the data via logical names, which consist of up to eight letters
– The conversion of the logical names into physical memory addresses is carried out by software
in the interface module:
File handler ↔ Disk-Operating-System (DOS)
– Contiguous data blocks are called files
– The management of files of differing lengths is carried out by a software procedure (file handler)
– The memory is divided into 3 areas:
The system area contains general system data:
System area
Directory
– Volume name
– Format and size of memory
– Data coding
All file names and file lengths are stored in the directory. The file handler calculates
the physical addresses of the user data from these entries.
User data
The largest memory area is reserved for user data, which can be stored in any
form (ASCII, binary, hexadecimal, decimal, etc.). The user data is managed by the
file handler in blocks. On a floppy, these blocks are known as “sectors” or “logical
blocks”.
Advantages of the file handler for the MOBY I user.
– When specifying a system, it is only necessary to define the names (file names) of the individual
data objects that are to be stored on the MDS.
– The project engineer does not need to structure MDS memory at all.
– The list of data objects can be changed or extended as required during detailed planning. The
MDS data structure does not need to be taken into account.
– The lengths of the individual data objects do not need to be known.
– The description of each data object is a name of up to eight letters. The choice of name can be
directly related to the object (e.g., WORKSNO; SERIALNO; QUALITY; ADDRESS; ORDER;
Drillprog; Turnprog; Millprog;...)
– The programmer does not need to work with absolute addresses. Several sources of program-
ming errors are thus excluded (e.g. double addressing, input errors leading to wrong addresses
and file lengths). The file handler converts the file names into physical MDS addresses.
– Details of the files stored on the MDS can be requested by the “directory” command.
– Data objects can be accessed simply and rapidly using the STG 4F service and test unit. This i s
of great advantage to commissioning and maintenance personnel.
– The documentation of the MDS memory structure is very simple and easy to understand, con-
sisting only of a list of file names.
– The user can allocate access rights. Unauthorized deletion and overwriting of user data is thus
MDS units with various memory sizes are available with MOBY I. Each type of MDS must be formatted
before processing with the file handler. During formatting, the MDS is given a data structure, divided into
system area, directory and user data. The MDS type is passed to the file handler by the FORMAT command (see section 3.4.1).
The following table shows how the file handler structures the various types of MDS:
Type
(Hex)
Enter this
parameter
when initializing
MDS capacity
in bytes (gross)
Total MDS
memory size
01H
81H
02H
03H
83H
04H
84H
05H
85H
06H
86H
2.045
1.778**
8,189
7,154
32,765
28,658**
* With ECC operation
62
42 *
62
128
112
Max. no. of
files
Max.number of
files that can
be stored
1
1
2
3
3
16
16
32
*
32
64
64
User data in
bytes (net)
Max. no. of user
bytes that can be
written to the MDS
27
7
12
60
45
1.680
1.440
7,456
6,464
31,488
27,520
Number of
blocks
The product of no. of blocks
and block size gives the user
data length (net) in bytes
1
1
2
6
5
105
90
233
202
246
215
Block size
in bytes
27
7
6
10
9
16
16
32
32
128
128
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
3 LEDs:
redLED: indicates a fault (see table in chap. 7)
yellow LED: indicates that the SLG device is active
green LED: indicates that an MDS is present
9–way subminiature D connector (screw locking)
(X2) for connecting the SLG read/write device
(The SLG can also be connected via the back–
plane connector if required).
Optional control and signal line
Optional SLG connection
Protective ground (shield)
0 V
Interface (type dependent)
V.24RS422TTY
––
RxD
––
DI0
MDS entry when EAKO=2
R+
D+
D–
and EAKO=3***
DO0
free
+EM
+SE
––*
z2
z4
z6
z8
z10
z12
z14
24 V
Interface (type dependent)
V.24RS422TTY
TxD
–
GND
DI1
MDS exit when EAKO=3***
DO1
free
E+
R–
E–
–EM
–SE
––
b16
ASM has user data or
z16
Select module (Select)
acknowledgement (Request)
b18
Error code (same as
z18
red LED)
b20**
b22**
b24
b26
b28
b30
b32
R+(terminating resistor)TxD(transmit data)
E+(receive)RxD(receive data)
D+(transmit)+EM(receive)
R–(terminating resistor)–EM(receive)
D–(transmit)+SE(transmit)
E–(receive) –SE(transmit)
*Pin b8 must not be connected in TTY mode!
** These data connections to the SLG are available as options on the backplane connector. They are identical to the
***EAKO = entry/exit checking (see chapter 5)
****The presence of an MDS is indicated with 0 V level on this pin.
SLG receive +
SLG transmit +
Protective ground
()
0 V
corresponding connections on the 9-pole submin. D connector.
Connector: The connector used with the ASM 520 is a 48-way male connector conforming to DIN 41612
design F, whose soldering pins are bent through 90°. Rows z and b only are connected and
soldered directly to the ASM 520.
Socket:Female connectors conforming to DIN 41612 design F must be used as mating components
for the ASM 421 connector. In principle, all 48-way “female connectors conforming to
DIN 41612 design F” are suitable.
Various types of female connectors are available, e.g.:
– with solder terminations
– with a screw connection
– as a wire wrap version
e.g. SFL 0,5 / F 32 / 2 B:
10.523.614.8
zbd
Features:
– 3 rows of connectors
– Number of contacts: 32 (2 rows, each with 16 contacts)
Female connector with screw connection 0.5 mm2; rows z and b connected
– Contact principle: insulation displacement connector with double-sided contact spring
– Catch hooks and elements to ensure secure contact between male and female connectors
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
The SLG read/write device can be connected to
either the X1 backplane connector or the 9-way
subminiature D connector X2.
SIEMENS
SLG
read/write
device
SIEMENS
Serial
interface*
Computer/PC
RequestSelect
DIDO
Please note:
The Select and Request lines may be
omitted if only one
ASM 421 is being
driven fro m a s e r i a l interface. The external
wiring of unnecessary
signals can also be
omitted.
* Daisy-chain configurations are only
possible with the
RS422 and TTY interfaces.
SLG
read/write
device
PLC, PC
serial
or
computer
interface
Two standard configurations
are available
– rack with 4 slots
– rack with 8 slots.
one select line
for each
ASM 421
one request line
for each
ASM 421
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
ASM 421 interface modules can only be daisy-chained if they are using an RS422 or TTY interface. This
allows up to 16 interface modules to be driven from one serial interface.
The computer/PC must have a digital input (DI) and a digital output (DO) for each ASM 421.
Mode of operation:
Programming the ASM:
The computer/PC “selects” the module and then sends it the task telegram.
Command processing:
The ASM then processes the command. How long this takes depends on the command and can
last any amount of time (when there is no MDS in the field).
Send result to user:
By setting the “Request” flag, the ASM indicates that it wants to send a telegram. The computer/PC
recognizes this and “selects” the module. The selected ASM then sends the result telegram.
Select interrogate
Select
*
**
Request
Data
t
1
Task telegram
to ASM
t
t
2
3
t
t
5
4
Response
telegram from ASM
t
2
t1 100 ms:Wait time from select until data transmission.
t2 0:Wait time from data transmission until deselection of ASM 421
t3Depends on:Processing of user command by the ASM 421
command
t4 0:Time from “request active“ until selection of ASM 421
t5=0 ... 30 ms:Time from selection of the module until transmission of the result telegram
Important:*At the result telegram the ASM only interrogates the “select” at the beginning of a
transmission. If the “select” is deactivated during transmission of the telegram, the
ASM will nevertheless send the complete telegram to the computer.
This ensures that no garbled telegrams from the ASM are transmitted.
**The select line must be set high for the entire time that an outgoing telegram is being
The cable between the ASM 421 and the SLG read/write device is a 6-core shielded cable, of which 4
cores are dedicated to the data interface and 2 to the power supply for the SLG read/write device. The
maximum length of the data cables can, depending on the physical interface, be anything up to 1000 m.
The maximum permitted cable run is generally shorter if the 24 V supply for the SLG read/write device is
used by the ASM 421. The maximum cable length also depends on the level of voltage drop. The following
table gives an overview of permitted cable lengths:
Conductor
crosssection
2
[mm
0.07
0.2
0.5
0.8
1.5
Conductor
dia.
[mm]
]
0.3
0.5
0.8
1.0
1.4
Resistance
/km *)
550
185
70
50
24
SLG 40 / SLG 41
(I=90 mA)
Max. cable length when
120
360
950
1000
1000
UV = 30 V
240
720
1000
1000
1000
UV = 24 V
SLG 42 (I=180 mA)
Max. cable length when Max. cable length when
UV = 24 V UV = 30 V
40100
120300
310790
4401000
9201000
SLG 43 (I=250 mA)
UV = 24 V UV = 30 V
3070
85210
230570
320800
6601000
SLG 44 (I=80 mA)
Max. cable length when
UV = 24 V UV = 30 V
90200
250650
7001000
10001000
10001000
*) The values for resistance are average values and relate to the feed and return conductors. An individu-
al conductor has half the quoted resistance.
If cable runs longer than those specified in the table are used, the 24 V supply for the SLG read/write
device must not be used by the ASM 421. Instead, a 24 V supply must be fed directly to the SLG. (See
manual for configuration, installation and service; chapter 3.10; cable and connector allocation.)
Highlighted field:
The standard shielded LiYCY 6 x 0.25 cable recommended by SIEMENS. This cable is available from
SIEMENS under the order number 6GT2090-0A...1).
24 V supply to ASM 421:
The maximum length of the power supply cable for the ASM 421 is restricted to 20 m. If a longer cable is
used, or several ASMs are supplied from a single cable, the voltage drop on the supply cable to both
the ASM 421 and SLG read/write device must be taken into account. If necessary, the cross section o f
the supply cable should be increased.
1
) According to length code
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
The ASM module does not contain any power sources for energizing the active part of the TTY interface.
Should, however, it become necessary for the ASM to power the interface, the ASM should be wired as
follows to make it active:
SLG
ASM 421 (active)
X2
X1
Computer (passive)
1–9
z2
RR
b30/
TxD
z30
RxD
z6
RxD
b6
z4
b4
R
TxD
R
b32
max.
length
1000 m
The resistors R should each have a value of 470 Ohms to produce a current loop of 20 ... 30 mA
(P = 0.5 W).
Example of a daisy-chain configuration (see 2.4.1)
ASM 421 Technical Description6GT2 097-3AH00-0DA2
CP
or
Computer
Request
dig.
inputs
Select
dig.
out–
puts
+SE
–SE
+EM
–EM
SLG
ASM 421 No. 1ASM 421 No. 2ASM 421 No. 4
+24 V
z4
4
7
z4
b16
z16
0
+24 V
4
7
0
470
470
b32
b32
b4
***
b6z6
**
SLGSLG
.......
z4b4
.......
b6z6
*
b16
z16
z4
b4
b6
b16
z16
activepassivepassive
passive
*)This line must be looped through from the computer to the last ASM!
Where possible, the computer should handle the active part of the TTY interface, in which case the resistors shown on ASM no. 1 will not be needed.
If this is not possible (as shown in the diagram), the active part of the interface must be simulated in the
connector of ASM no. 1 using 4 resistors (R = 470 Ohm).
The numbers in the diagram refer to pins in the 48-way female connector.
Note:With this cabling, all the wired ASMs must actually be connected, otherwise the circuit will
remain open!
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
*)The cable can be terminated on the receiving side with jumpers z4 – b4 and z8 – z6. This improves the interference immunity of
the system particularly when long cables are used (i.e., > 200 m). The jumpers may only be wired on the last ASM 421 when daisy
chain operation is used (see chapter 2.4.1).
**)The indicated terminal resistors (R = 200 to 1000 Ohm) must be present on the computer side. These resistors can be wired on
the ASM side when short cables are used. This means jumpers z6 – z8 and b4 – z4 are omitted and 2 jumpers are added
(i.e., b4 – b6 and z6 – b8).
Example of a daisy-chain configuration (see 2.4.1)
The 3964R procedure provides secure data transmission across a point-to-point connection. Security is
achieved by transmitting the data one block at a time with parity check, block check character (BCC) and
acknowledgement of receipt. All characters from 00hex to FFhex can be present in the data block.
Initialization of a transmit operation (signals ready–to–send)
Marks the end of a transmission block
Ready–to–receive (or DLE duplication in data stream)
Negative response on block–check–error or unrecognized
start character
DLE DLE
10 10
DLE duplication in data block; used if the value 10hex
occurs in the data stream.
t
Next
character
Stop bit
Start step
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
To protect data against transmission errors, a parity bit is attached to each character transmitted. It is
supplemented by an odd or even quantity of “ones”. In addition, the sum of the respective bits of each
character in a block is supplemented by a further bit to even parity (EXOR operation on all characters).
The resulting block check character (BCC) is itself secured by the character parity principle and is transmitted at the end of the block. All characters in the block are saved except the start control character STX.
Repeat counter
If no acknowledgement or a negative acknowledgement is received, the telegram will be sent again. The
3964R has a repeat counter. If a block cannot be correctly transmitted after a number of repeats, the transmission will be terminated. The telegram is lost or the user receives an error message.
Initiation conflict
Since both stations have equal rights, an initiation conflict can arise if both partners try to transmit at the
same time. To avoid this, one station is given a higher priority (master) than the other (slave). This can be
set using switch 4 (see section 2.3).
Watchdog timers
Two watchdog timers are used to monitor the data transfer:
– Acknowledgement watchdog timer tQ = 300 ms
The acknowledgement watchdog timer is started after transmission of the control character STX, or
DLE ETX BCC.
If a positive acknowledgement fails to arrive within tQ, the whole data block is sent again. If the transmission has still not been performed correctly after three attempts, an error message is sent to the user
or the telegram is rejected by the ASM and an error indicated by the red LED.
– Character watchdog timer tZ = 300 ms
The receiving ASM 421 monitors the arrival of the individual characters with time constant tz.
If a character fails to arrive within the watchdog period, receiving is aborted and an error indicated by
the red LED.
The user communicates with the file handler via telegrams. Telegrams from the user are checked, interpreted and processed by the file handler. The user then receives an acknowledgement telegram containing user data and status information.
The following schematic shows the general telegram format:
Telegram heading (always present)
012/34/56/78/910
res.
ABS
res.
EMPF
res.
LFN
Command
CCCI
Command index
’I’: MOBY I command from ASM
xx : MOBY I status byte: acknowledgement from ASM
ADBDBN
Total number of data blocks to be transmitted (dual)
DBLUser data
The user data depends on the command (see 3.4)
Length of user data following (dual)
Current data block number (dual)
76543210
reserved
(always 00)
1 = The RAM battery is poor or exhausted (always set for
1 = Aux. battery is poor or exhausted (only valid for
MDS 507; otherwise always 1).
1 = WARNING: MDS was outside the transmission window during
command processing.
1 = WARNING: File read had length = 0.
1 = An MDS with a new directory has entered: the bit is set when the file handler
has carried out a read operation on the complete MDS directory. In some
applications, the new directory can be backed up by the MOVE command.
Command code:
’I’: FORMAT(Format)
’B’ : CREATE(Open file)
’Q’ : QUEUE-WRITE(Set up complete data carrier)
’W’ : WRITE
’U’ : UPDATE(Write complete file)
’R’ : READ
’D’ : DELETE
’Y’ : ATTRIB(Set access rights for a file)
’C’ : COVER(Protect MDS structure)
’G’ : DIR(Read file directory)
’N’ : NEXT(Process next MDS)
’X’ : RESET(Reset file handler)
’F’ : MDS-STATUS(Request MDS status)
’S’ : ASM-STATUS(ASM status request)
’L’ : LOAD(Transmit directory to ASM)
’M’ : MOVE(Read MDS directory out from ASM)
’T’ : TRACE(absolute read)
’H’ : Start-up message from ASM
’Z’ : Special telegram (ANW message)
reserved for sequence number
(The file handler transmits the parameter LFN from the command in the
acknowledgement. It is not evaluated by the file handler)
reserved for receiver recognition*
(presently always 00)
The result of the last command will be delayed by the directory operation.
1 = Command terminated with error; the user
data contains error information.
1 = Only with ECC: data from the MDS has been
corrected and is OK.
EEPROM MDS).
reserved for sender identifier*
(MOBY I: code ’F’ is reserved for STG )
* The file handler interchanges sender and receiver identifiers.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Since it is not possible to work with telegrams of indefinite length, the telegram is formed into blocks, i.e.
telegrams are transmitted in segments.
Blocking can be used with READ, WRITE, UPDATE, QUEUE-WRITE, DIR and TRACE commands.
Blocking is controlled by the parameters ADB (no. of data blocks) and DBN (current data block no.) in the
telegram heading.
The file description immediately follows the DBL parameter in the first command telegram to the file
handler (DBN = 1). It contains the file name, start address and length of the file. The file description is
omitted from subsequent telegram segments (DBN > 1).
Schematic sequence (example WRITE):
File description
CC CIADBDBNDBL
’I’0003User data
1st command telegram from user to ASM
The command consists of three telegram segments
CC CIADBDBNDBL
000003
0001
0001
Processing of 1st telegram
segment by the file handler on
the ASM 421
00
1st acknowledgement telegram from ASM to user
The user processes the acknowledgement and issues the 2nd
command segment
2nd acknowledgement telegram from ASM to user
The user processes the acknowledgement and issues the 3rd
command segment
CC CIADB
’I’0003User data
2nd command telegram from user to ASM
CC CI
CC CI
3rd or last command telegram from user to ASM
CC
ADBDBNDBL
000003
ADBDBNDBL
’I’0003
CIADBDBNDBL
0003
0000
DBNDBL
0002
0002
0003User data
0003
00
Processing of 2nd telegram
segment by the file handler on
the ASM 421
Processing of last telegram
segment and terminating the
command by the file handler on
the ASM 421
The maximum block length (maximum length of a telegram segment) can be set using the RESET command. The default value for the block length is 128. The maximum block length that can be set is 255.
The blocking sequence can be aborted using the RESET command. The blocking sequence will be ended. No further acknowledgement of the aborted command will be issued.
All other commands within a blocking sequence will be rejected by the ASM 421 with an error message.
The present status of the blocking sequence remains unchanged.
3.4File handler commands
The following table lists all file handler commands
CommandCC PurposePrio
FORMAT
CREATECreate file on MDSB
Format and initialize MDS
ID
WD
W
WDWRITEWrite part or complete file
UWDUPDATEUpdate complete file
RREADRead data from file
RWD
RWDEQUEUE-READRead complete data medium
WDYATTRIBSet file attribute
DCCOVERProtect MDS structure
RWDGDIRRead MDS directory
RWDSASM-ST ATUSRead ASM status
RWDFMDS-STA TUSRead MDS status
RWDXRESETReset command to ASM
*
Telegram format (to ASM)
00 00 0000 ’I’0001 0001 0C Volume Type Parameter’I’
xx 00 0000 ’E’0001 0001 DBL Option Res Leng.’I’Data
00 00 0000 ’D’0001 0001 08 F.name’I’
DDDELETEDelete file
00 00 0000 ’Y’0001 0001 09 F.name Attr.’I’
00 00 0000 ’C’0001 0001 09 Volume User’I’
00 00 0000 ’G’0001 0001 00’I’
00 00 0000 ’S’0001 0001 00’I’
00 00 0000 ’F’0001 0001 00’I’
00 00 0000 ’X’0001 0001 07’I’
Mode EAKO ECC No. Prior. Reg.
00 00 0000 ’N’0001 0001 00’I’
RWDNNEXTProcess the next MDS
00 00 0000 ’T’0001 0001 06 Startadr’I’Leng.
RWDTTRACEMDS absolute read
LRWDLOADTransmit directory to ASM
MRWDMOVERetrieve directory from ASM
00 00 0000 ’L’ADB 0001 DBL Leng.’I’Data
00 00 0000 ’M’0001 0001 00’I’
00 00 0000 ’H’0001 0001 0000**
RWDHStartup messageReported by ASM when
power returns
00 00 0000 ’Z’0001 0001 05 00 00 00 00 ANW00
RWDZPresenceProximity message from ASM
*The priority and access rights of the interface module are switch selectable (see section 2.3).
** This message is from ASM only. Switch 8 must be on as described in section 2.3.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
The FORMAT command erases the complete MDS. The directory, file allocation table (FAT) and system
area on the MDS will be re-created. Some counter contents in the system area will be retained. The current counter contents can be interrogated by the MDS STATUS command.
Telegram to the file handler:
012/34 56/78/91011/1819202122
CC CI ADB DBN DBL
xx 00 000000010CH VolumeMDS typeOPTIONSINIT modeINIT value
’I’
’I’0001
The complete MDS will be erased
and written with this data if the
parameter ‘INIT mode’ has the value
‘L’.
’K’ = Not initialized; only DIR and FAT will be
re-created o n the MDS. The old user data
remains physically in memory.
‘L’ = Initialized; the whole MDS will be written
with the data in ‘INIT value’.
01H =62 bytes without ECC
81H =42 bytes withECC
02H =62 bytes without ECC
03H =128 bytes without ECC
83H =112 bytes withECC
04H =2045 bytes without ECC
84H =1778 bytes withECC
05H =8189 bytes without ECC
85H =7154 bytes withECC
06H = 32765 bytes without ECC
86H = 28658 bytes withECC
MDS name; 8 ASCII characters (20H-7EH)
76543210Bit
0000
See table
in Chapter 1
0 = Always read DIR and FAT completely
when this MDS enters the field.
1 = Check sum mechanism enabled; DIR
and FAT are only read if the checksum
in the interface module does not
correspond with the checksum in the
MDS.
0 = Complete old directory will be erased
(normal)
1 = The old directory in the MDS will be
re-created in the MDS. The existing user
data lengths of the files remain unchanged.
The user data area will be over-written by
the specified data.
The directory to be formatted can also be
loaded into the ASM immediately before
the start of the format command by use of
the ’L’ command (this option is only
meaningful if the INIT mode parameter
(byte 21) is set to ’L ’).
0 = Complete MDS will be erased
1 = DIR + FAT are erased; the user data is
preserved
0 = Normal
1 = The counters for write cycles or ECC offsets are
always retained. The counters are also retained even
when the system area is faulty (e.g., ECC error).
Acknowledgement:
012/3456/78/9 10
CC Status ADB DBN DBL
00 xx 00000001
’I’
000001 00
Important: A new MDS must be formatted before being used in the system.
A new file is established on the MDS by the CREATE command. An entry will be made in the MDS directory for each CREATE command. DIR and FAT in the MDS will be updated.
Telegram to the file handler:
012/34 56/78/91011/181920/22
CC CI ADB DBN DBL
xx 00 000000010CH F.nameAttributeData length to be res.
’B’
’I’0001
The file handler reserves the file length given here. If
000000H is given as the data length, the file handler
reserves a block as standard procedure.
Note:
Specification of a data length is not mandatory . If the data
written later exceeds the data length given here, the file
handler will automatically reserve more memory for the
file. MDS memory is managed dynamically by the file
handler.
Acknowledgement:
012/3456/78/9 10
CC Status ADB DBN DBL
00 xx 00000001
’B’
000001 00
Setting of access rights for this file:
00H → No attribute
01H → Read only; the file can only be read
02H → Write once; the data may only be written once. New data can
be appended. The file cannot be erased with DELETE. The
data must be written using the automatic append function.
File name; 8 ASCII characters (20H - 7EH)
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
This command combines several WRITE commands into one command. This gives you the following
advantages:
1. Writing of several files is faster since writing is not dependent on the serial transmission to the ASM.
2. The files are provided with a fixed length.
3. Filling in any pattern is possible.
4. Attributes can be assigned.
This function cannot be executed unless the addressed MDS has been formatted correctly. In addition,
this command is aborted with error message C006 if the addressed MDS leaves the transmission window
prematurely (handling same as for the FORMAT command).
Telegram to the file handler:
012/34 56/78/91011–1222–24
CC CI ADB DBN DBL
xx 00 0000ADBDBLOptionxxxxxxxx
Option:The following applies if the data carrier already contains an existing file structure:
File name:File name
Attribute:Attribute for this file. The attribute is not set until the data have been written.
Reserved:1 byte is reserved.
’Q’
’I’0001xxxxxx
8 bytes1 byte3 bytes 1 byte1 byte
File name Attribute
Option = 0000H:The file structure is overwritten or deleted with the QUEUE-WRITE
Option = 0001H:The file structure is added to the existing file structure with the
13–1819–2125 ...
Length of the
file entries
DisregardFor WRITE:
Length
Data entry
command.
QUEUE-WRITE command. A check is made to determine whether the file
to be set up already exists.
length of
the user
data
Reserved
File entries
Number of bytes
corresponds to
“length”
Skip
Data
Additional data entries
Skip:Skip specifies how many bytes are between the previous file entry and the next file entry.
Length:Length in bytes of the subsequent data for the specified file.
Data:The data to be written. These data can also be a filling pattern. The amount of data in bytes must
Example: skip = 00hex (i.e., the file name of the next file entry immediately follows the data of the
previous file entry).
correspond to the “length” parameter.
Note:1. The start address of the QUEUE-WRITE command always starts at the
address 000000 hex in the respective file.
2. One block is always reserved by the file handler if the length is 0 hex.
Since the file entry does not contain data when the length = 0, the
QUEUE-WRITE command corresponds to a multiple execution of the
CREATE command in this case.
If the file handler detects a syntax error in the structure of the transmitted file entry, the QUEUE-WRITE
command is aborted with an appropriate error message. In addition, the QUEUE-WRITE command is
aborted with the option = 0001 hex if the file handler determines that the file to be set up already exists.
Error Identification for Parameter Error in File Entry:
K xxx
“xxx” stands for the number of the file entry in which an error was found. Counting of the file entries begins
with 1.
Example: Error message “K002” → Error in the second file entry.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Total length of data to be written (no. of bytes in hex
format)
Offset address within the file:
000000 → Normal write command for the complete file.
xxxxxx→ Only part of the existing file is to be overwritten. The start
address must remain within the bounds of the existing
file.
FFFFFF → The automatic append function is activated by the start
address –1. New data will be appended to the existing
file.
Length of the data following in the telegram
Number of command segments for the write command. The
user must calculate ADB correctly.
’W’→ WRITE: All or only part of a file can be written with the write
’U’→ UPDATE: The UPDATE command always writes a complete file.
command. If only part of the file is written, old file data will
remain at the beginning or end of the file.
The start address must always be given a value of 000000. If the
new file data is shorter than the old data, the new file has the
length of the new data. The memory already reserved for this
file nevertheless remains.
Acknowledgement:
012/3456/78/9 10
CC Status ADB DBN DBL
00 xx 0000ADB
’W’
000001 00
’U’
File name; 8 ASCII characters (20H-7EH)
The file must already be entered in the directory.
The file ‘EXAMPLE’ is to be written from position 0 with a length of 500 bytes. Assumption: the file already
exists, there is enough free memory available on the MDS and the write operation will be performed without error. 514 bytes of user data are to be transmitted (500 + 14 for name, start address, length).
The block length specified as 255 bytes results in 3 telegram segments with user data lengths of 230, 244
and 26 bytes.
1st telegram
segment to file
handler:
Acknowledgement:
2nd telegram
segment to file
handler:
Acknowledgement:
012/3456/78/910
CC CI ADB DBN DBL
xx 00 00000003
012/3456/78/9 10
00 xx 00000003
012/3456/78/910
xx 00 00000003
012/3456/78/9 10
00 xx 00000003
’W’
CC Status ADB DBN DBL
’W’
000001 00
CC CI ADB DBN DBL
’W’
CC Status ADB DBN DBL
’W’
000002 00
0001 F4H’I’’EXAMPLE’ 000000 0001F4H xxxx
0002 F4H’I’xx xx xx xx xx xx xx xx xxxx
11/1819/2122/2425..254
File name Start addr Length Data (230 bytes)
11..254
Data (244 bytes)
3rd telegram
segment to file
handler:
Acknowledgement:
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Length of file data to be read (in bytes)
000000 → The presence of the file in the directory is
xxxxxx→ The amount of data specified here is read
FFFFFF → If a length of –1 is passed, the file handler
Offset address within the file (hex).
A data file always begins at address 000000. If only a part of the file
is read in order to give rapid access to important MDS data, the start
address can be set here.
Important: The start address must lie within the bounds of the
existing file.
File name; 8 ASCII characters (20H-7EH)
checked. No data are transmitted to the
user. If the file is not present, an error
message results.
from the MDS. If the MDS does not
contain as much data as specified here,
the actual amount of data is transmitted
to the user in the DBL and a WARNING
is set in the status byte.
reads the complete file. (The start
address must be given a value of
000000). The actual data length will be
passed to the user in the DBL parameter.
If a start address not equal to 000000 is
entered, the file handler reads the file
from the specified address to the end of
file.
* Important:A value of 0001H must always be entered for the parameters ADB and DBN in the first
telegram of a read command. The file handler calculates the actual number of ADBs and
sends this to the user in the first acknowledgement telegram (see example on the next
page).
The QUEUE-READ command is used to read several files (max. of 15) with one command from the MDS.
The complete MDS with all files can also be read as an option.
Telegram to the filehandler:
012/3456/78/91011/1213/2122/2425..254
KK KI ADB DBN DBL
xx 00 00000001DBLOptionIn reserveLengthData
'E'
'I'0001
The user data contain the files to be read
(max. of 16 file entries).
Length of the subsequent data
starting at byte 25 (in hex format)
0000No option. The data contain the files to be read.
0001(Res. for QUEUE-WRITE)
0002All files of the MDS are read. No data starting at byte 25.
Length is 000000 (bytes 22 to 24).
0004If the actual file length is longer than the file length reserved in the data,
no error message is generated.
0008The user data contain the files that are not to be read. This means that
all files of the data memory are read except the files specified in the
command. The “length” parameter in the file entry can be disregarded
for this option.
0010The read file data are organized by word and are directly appended to
each other. This means that a skip byte with the value 20hex is added to
odd length files. The “skip” parameter has the value 0001 in the acknowledgment. With this option “length” must always be set to FFFFFF in the
file entries.
The options are bit-coded. Several options can be set at the same time.
Example: 000C, 0012, 0018, and so on.
Length of the subsequent data in the telegram
Number of subcommands is always 0001 with the command. The filehandler
supplies the correct number (ADB) in the first acknowledgment telegram.
'E' = QUEUEREAD: Several files can be read with one command.
FFFFFF Read the complete file.
xxxxxxReserved data length in the acknowledgment telegram.
The file data in the acknowledgment are always
xxxxxx bytes (xxxxxx
File length < xxxxxx:
The acknowledgment telegram is filled with 20hex up to the parameterized length xxxxxx. The number of filled bytes is supplied by the filehandler in the data word “skip.”
File length > xxxxxx:
The file data are only supplied in the acknowledgment telegram up to a
length of xxxxxx. The remaining data are cut off. When option 0004 is
set there is no error message. Otherwise the QUEUE-READ is terminated at this point with error F006.
The file name is identical to
the file name in the com
mand (with option 0008 the
unparameterized file
names appear here).
11/255
Data (max. of 244 bytes)
One file entry
File dataSkip bytes
Optional: The skip bytes are only in
serted when skip has a value other
than 0000. The contents of the skip
byte are always blank" (20hex).
Number of data bytes after the data up to the beginning of
the next file name. Skip is always valid. With some options
skip always has the value 0000.
Length of the file data for this file. The data may cover
several subtelegrams.
Remarks:
The file entries with the file data can be placed anywhere in the data of the acknowledgment tele
gram. For example, part of the file name may be located in the first acknowledgment telegram.
The rest of the file name is then located in the next acknowledgment telegram.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
The file is removed from the MDS directory. The reserved memory area is released, and becomes available for other MDS operations. DELETE does not erase old user data.
A delete protected file cannot be deleted: it must have its delete protection attribute removed using the
ATTRIB command before it can be deleted.
Telegram to the file handler:
012/3456/78/910
CC CI ADB DBN DBL
xx 00 00000001
’D’
0001 08H’I’
Acknowledgement:
012/3456/78/910
CC Status ADBDBN DBL
00 xx 00000001
’D’
0001 0000
11/18
F.name
Name of file to be deleted; 8 ASCII characters (20H-7EH)
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
1. The file structure of an MDS can be protected against unauthorized access. This means that commands which cause changes in a checksum or create additional DIR or FAT entries can only be issued
by authorized users (superusers).
An unauthorized access includes the following:
– Files are deleted or set up.
– File lengths are shortened or lengthened.
– Data carriers are formatted although they have been formatted already.
– Attributes are deleted or new ones are assigned.
After generating the valid file structure on the MDS, an authorized user (superuser) must protect this
with the COVER command. This prevents other users from destroying checksums by accessing the
data carrier. An illegal command is rejected with error message D022.
2. If the superuser wants to format the MDS or delete/set up files, he/she must first “open” the data carrier
again with the COVER command.
3. A COVER command for an unformatted MDS is rejected with error D015.
4. Specification of a volume name (i.e., MDS name) with the COVER command ensures that a data carrier must be unmistakably identified by the superuser. The COVER command is rejected with error
D023 when the two MDS names (i.e., data carrier name and volume name in the COVER command)
are not identical. Specification of a user identifier (byte 19 in the command telegram) greater than
01 hex is rejected with error message D005.
Telegram to the file handler:
012/3456/78/91011/1819
CC CI ADB DBN DBL
xx 00 0000VolumeUser
’C’
’I’0001 090001
01H: The MDS is to be protected against unauthorized access.
00H: Changes to the MDS file structure are permitted again.
A data record with the
form as shown is
transmitted to the user
Length of file in bytes
(10 bytes in this case)
File name; 8 ASCII characters
3633/35
Attribute for this file
(no attribute in this case)
00 = no attribute
01 = read only
02 = write once; over-
writing not possible
04 = Fixed length.
The length cannot be
changed with write
commands.
05 = Same as 04. The file
may only be read.
Free memory space in MDS in bytes
(4 bytes, hex)
Check sum calculated by file handler via DIR and F AT. The check sum
is placed in the system area on the MDS.
Name of MDS; 8 ASCII characters
If the MDS directory contains a large number of files, the directory data will be transmitted as blocks
(ADB > 1 in the first acknowledgement). The user must request the additional blocks.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
MDS type:
The MDS was formatted with this MDS type by the FORMAT command (see section 3.4.1) (1 byte/hex)
Volume:
Name of MDS; 8 ASCII characters (20H-7EH); the name was assigned during FORMAT.
– 37 –
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Page 40
ASM 421 Technical Description6GT2 097-3AH00-0DA2
3.4.11ASM STATUS
The ASM STATUS command provides information from the file handler. The command can be used to
look for errors. It shows the telegram traffic performed by the ASM 421.
Telegram to the file handler:
012/3456/78/910
CC CI ADB DBN DBL
xx 00 00000001
’S’
0001 00’I’
Acknowledgement:
012/3456/78/91011/1819/4471
CC Status ADB DBN DBL
00 xx 00000001Vers. no.Last instructionConnection status
*Only the data are valid that pertain to the telegram header.
The data in the telegram can have any content.
’S’
000001 3DHLast ack.
26 bytes:byte 0 to byte 25 of the last command to the ASM *
Version ident. of the file handler; 8 bytes ASCII
45/70
Status information regarding state
of SLG hardware (24 V supply
present; fuse OK; cable to SLG OK;
SLG OK)
00H → Connection t o SLG is OK
01H → Fault in connection to
SLG
26 bytes:byte 0 t o byte 25 of the acknowledge-
ment of the last command *
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
The TRACE command provides a physical dump of the MDS memory. It can be very useful for test purposes. The selected type of entry / exit checking is irrelevant as far as this command is concerned. It is
always executed immediately.
If a data block that exceeds the maximum telegram length is to be read, the data will be transmitted in
blocks. Refer to the example in section 3.4.5 to see how the blocking function works.
Telegram to the file handler:
012/3456/78/910
CC CI ADB DBN DBL
xx 00 00000001
’T’
0001 06’I’
11/13
Start addr.
xxxxxxH
Physical start address in the MDS of the data to be
read (3 bytes hex)
14/16
Length
xxxxxxH
Length of the data to be read (3 bytes hex)
Acknowledgement:
012/3456/78/910
CC Status ADBDBN DBL
00 xx 00000001
’T’
0001 xx00
If data length > telegram length:
the file handler calculates ADB and sends the value to the user in the first
acknowledgement telegram
11/254
Data
Data
The TRACE command is the only file handler command that does not return an error indicator in the
acknowledgement when processing an MDS that is not formatted (but is initialized). In each case the
acknowledgement contains the physical MDS addresses.
The ECC mode should be set correctly with the RESET command before using the TRACE command.
The ATTRIB command enables access rights to be assigned to individual files. T ogether with the access
rights that can be set for each ASM with the DIL switches, each user can individually set the desired access rights. The access rights from the DIL switch and ATTRIB command should be ‘ORed’ together, i.e.
both access rights must be correct in order to carry out the command.
Telegram to the file handler:
012/3456/78/910
CC CI ADB DBN DBL
xx 00 00000001
’Y’
0001 09’I’F.name
11/1819
Attribute
Assigning or changing access rights for this file
00H: no attribute for the data entered or delete existing attribute
01H: attribute “read only”
The file can only be read (no DELETE or WRITE or
UPDATE permissible).
02H: attribute “write once”
The file can be written once and then only read
(DELETE or WRITE or UPDATE not permitted).
04H: attribute “fixed length”
The length of the file cannot be changed by write
commands such as UPDATE, WRITE or APPEND
(i.e., the checksum in the system area is not changed
by a write access to this file.
05H: Same as 01H
When other access rights are specified in the ATTRIB
command, this is rejected with error message D005.
File name; 8 ASCII characters (20H-7EH)
Acknowledgement:
012/3456/78/910
CC Status ADBDBN DBL
00 xx 00000001
’Y’
0001 0000
Example:
DIL Switch:DELETE(all commands allowed)
Attribute of file “EXAMPLE”:02H(write once)
The file “EXAMPLE” can be read and can be written once. Deletion of the file is not possible. However, the
MDS can be completely erased with the FORMAT command.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
The NEXT command terminates the processing of an MDS. The command after the NEXT command will
only be processed if a new MDS enters the transmission window of the SLG.
Telegram to the file handler:
012/3456/78/910
CC CI ADB DBN DBL
xx 00 00000001
’N’
0001 00’I’
Acknowledgement:
012/3456/78/910
CC Status ADBDBN DBL
00 xx 00000001
’N’
0001 0000
It is essential to program the NEXT command for the following types of entry / exit checking (EAKO):
– MDS recognition by field scanning:EAKO = 0 (see section 5.1)
– MDS control via 1 DI:EAKO = 2 and field scanning (see section 5.3)
– MDS control via 2 DI:EAKO = 3 (see section 5.4)
The NEXT command does not need to be programmed for the operating modes “timeout” and “without
entry / exit checking”. Should it nevertheless be programmed, it will be processed in all its aspects by the
file handler.
Further information about this command can be found in section 5.
SLG number of this ASM/SLG station:
the value entered here will be placed in the system
area of the MDS before command processing begins. It forms an important feature of the entry/exit
checking. If an MDS moves outside the field and
comes back, the file handler knows that it is the old
MDS that has just been processed.
Range of values:
0000= reserved
0001 ... FFFE= normal SLG no.
FFFF= Test function:
ABTAST
Scanning interval for
presence check (for
operation of MDS
507/407E,
see page 43)
Max. telegram length;
the file handler will not send an
acknowledgement telegram that
exceeds the length given here.
Range of values:
64 ... 254
0 = Sets the default value of
128 bytes
If the data length exceeds the
max. block length, the data will be
transmitted in block form (see
section 3.3)
Important:
Each SLG in a system must
have a different SLG number.
The next MDS can be the same
one despite the NEXT command.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
’0’ = ECC disabled (default)
’1’ = ECC mode
A description and function of ECC (error correction code)
can be found in the FB 250 description.
Type of entry/exit checking (1 byte, ASCII)
’0’ = MDS recognition by field scanning; NEXT command is man-
datory (see section 5.1)
’1’ = Without entry/exit control; timeout on ASM 421
(see section 5.2)
’2’ = MDS control via 1 DI and field scanning (see section 5.3)
’3’ = MDS control via 2 DIs (see section 5.4)
’4’ = Without entry/exit control (see section 5.5)
’5’ = Special operating mode: If the check sum changes, system
area may only be written, no NEXT (see section 5.6)
’B’ = Break (hard reset); all MDS actions are immediately aborted. Data in the
MDS may possibly no longer be consistent
’C’ = Close (soft reset); The command currently being processed will be termi-
nated and the directory updated. The data in the MDS are guaranteed to be
consistent. The acknowledgement of the soft reset may be delayed.
Proximity status (1 byte ASCII)
’0’ = no MDS in the SLG field
’1’ = MDS in SLG field
The error code is normally 0000. These 4 characters only contain
information if the status byte (byte 5) shows an error.
Important:
The ASM 421 must receive a RESET telegram from the user whenever power is restored. Any other
type of telegram will be rejected with an error.
A RESET command sets the parameters for the file handler on the ASM 421 , which starts to function (the
single blinking of the red LED ceases and the yellow LED must come on, if the connection to the SLG is
OK). The RESET command is required when a command or a sequence of telegram blocks is to be
aborted.
If a command is terminated by the file handler with an error, no RESET command is necessary.
Please note:
A RESET command declares the current MDS directory on the ASM to be invalid. For the next MDS to be
processed, the directory must in each case first be read from the MDS. To avoid the time delay inherent in
reading the directory, the MDS directory can be loaded by the user into the ASM with the LOAD command
immediately after the RESET command (see section 3.4.16).
Definition of t
t
ABTAST
is parameterized as a hex value.
ABTAST
:
Bit:76543210
Time value: 00-3F
Time factor:
00 =0.01 sec
01 =0.1sec
10 =1sec
11 =10sec
For detailed explanation of t
, see the configuration manual for SLG 44/MDS 507/MDS 407E.
The LOAD and MOVE commands are optional file handler commands. These allow access times to MDS
data following a cold start or restart to be optimized. The time spent reading a directory is eliminated for the
first MDS to enter the field. The LOAD/MOVE commands are only meaningful if the same directory is
present in all data carriers in the system.
LOAD:
A protected directory is transmitted from the user to the ASM. This command can be issued by the user
after the RESET, to load the old directory into the ASM. When the first MDS to arrive is processed, the
directory does not then need to be read in from the MDS. The time for the directory to be read does not
need to be considered when designing the system. Especially important in dynamic operation: the first
MDS to arrive after a RESET can immediately be processed at full transport speed.
The file handler checks the directory transmitted by the ‘L’ command for plausibility. Check sums and directory data must correspond. If this is not the case, the user receives the error message D007 in the
acknowledgement. The file handler continues to function normally despite this error message. The directory transmitted by the ‘L’ command will be rejected. The file handler reads the directory from the first MDS
to arrive.
Telegram to the file handler:
012/3456/78/9 10 11/1213 ...
CC CI ADB DBN DBL
00xx0000ADBDBL Length
’L’
’I’0001DIR + F AT
Data protected in user control by the MOVE command
The data block count is calculated from the length of the data
(bytes 11/12). It must be calculated correctly by the user (see
example in section 3.4.4).
Data
Acknowledgement:
012/3456/78/9 10
CC Status ADB DBN DBL
00 xx 0000ADB00
’L’
000001
Warning:A RESET command deletes the directory stored in the ASM, i.e. the complete
directory will be read from the next MDS following a RESET command.
An error message from any command can delete the directory stored in the ASM
as well (see chapter 7).
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
In applications using the LOAD/MOVE commands, a LOAD command must
therefore be programmed after each RESET command and after each error
message.
The MOVE command provides the user with the data in the directory that has just been stored in the ASM
(DIR + FAT + checksum). It can be issued by the user after bit 6 is set in the status byte of the acknowledgement of any command. For a more rapid cold start and restart, the user can store the data of the ‘M’
command in non-volatile memory (battery buffered or magnetic media).
Telegram to the file handler:
012/3456/78/9 10
CC CI ADB DBN DBL
00xx0000000100
’M’
’I’0001
Acknowledgement:
012/3456/78/9 10
CC Status ADB DBN DBL
00 xx 0000xxxxDBL
*Calculation of the actual amount of data to be moved by the MOVE command (see also table in Chapter 1):
’M’
000001
The actual number of telegram segments is passed to the
user here.
11/1213 ...
Data
Length*DIR + FAT
The length of the DIR + FAT data can vary. It will be at its maximum when the maximum
number of files has been created and the whole MDS is full of data.
Length = (DIR + FAT) + 2 bytes
(Byte 11 + 12 of the telegram are already counted in the length)
Max. length. = [(No. of blocks * 2) + (max. no. of files * 14) + 9] bytes
In normal operation the user receives only one telegram (acknowledgement) if a command has previously
been sent to the ASM. In two cases however , the ASM becomes active and sends a telegram to the user
asynchronously:
– Start-up message
– Proximity change
3.5.1Start-up message
Telegram from file handler:
012/3456/78/910
CC Status ADBDBN DBL
00 00 00000001
’H’
0001 0000
(see Chapter 4)
Note:
After sending a start-up message, the file handler firmware will only accept a RESET telegram.
All other commands will be rejected with an error!
The file handler sends the start-up message whenever power is restored. If the user is not ready to receive, a number of repeats will be carried out within the framework of the 3964R procedure
(see section 3.1).
If the user receives a start-up message during operation, the 24 V supply has failed for a short period. A
previously programmed command will no longer be processed by the file handler.
3.5.2Change in proximity status
A change in proximity status (Z message) will only be signalled by the file handler if this has been specified
by setting the DIL switch on the module (see section 2.3).
Telegram from file handler:
012/3456/78/910
CC Status ADBDBN DBL
00 00 00000001
’Z’
0001 0500
11/12/13/1415
Error codeANW
Proximity status of an MDS:
’0’ = No MDS present; the MDS has just moved out of the
transmission window
’1’ = MDS present; an MDS has moved into the transmission
window of the SLG. (green LED on ASM is lit)
EXCEPTION: If the “connection to SLG” has been broken
since proximity (ANW) is reported in this
way. As a result when the user sends his
command to the ASM, he receives the
corresponding error message in the
acknowledgement).
No error code is given for a proximity message (ASCII: ’0000’)
Important:
The proximity change message comes fully asynchronously from the ASM. The user must always
be ready and able to accomodate this message.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Cold start and restart must be performed by the user and the ASM 421 in a coordinated manner. Only then
can ASM and user operations be synchronized properly.
Cold start and restart on the ASM 421 side:
After switc h i n g o n t h e power supply, the ASM 421 performs a comprehensive self-test. This takes about 2
seconds. During this time the ASM cannot communicate with the user. The ASM will not respond to any
telegram from the user (also no NAK at the procedure level).
After the self-test, the ASM sends a start-up message (see section 3.5.1) and is immediately ready to
receive.
If the start-up message is not acknowledged by the user (e.g. user is not ready or switched off) the message will be lost. As a result the red LED flashes 28 times.
The ASM now always expects to receive a RESET telegram containing the relevant parameters from the
user (see section 3.4.15). Any other telegram will not be processed and will be rejected with an error.
Following the RESET, the ASM is able to process all the commands described in section 3.4.
Cold start and restart on the user (computer) side:
The following structogram shows a secure synchronization procedure for restarting the user program:
Computer or PC sw it ched on
Send RESET telegram to ASM 421
Telegram acknowledged correctly ?
YesNo
ASM is synchronized
–ASM was not switched off
–ASM has performed its self-test more quickly than
the computer; the start-up telegram from the ASM is
lost
Wait max. 3 seconds for start-up telegram from the ASM
Start-up telegram re-
YesNo
Send RESET telegram
to ASM and fetch acknowledgement
General evaluation of a start-up telegram by the computer:
The start-up telegram can be sent from the ASM to the user at any time (e.g. following a short power failure). To ensure stable operation, the user must always be in a position to accept and evaluate the incoming telegram.
Telegram received from ASM
Start-up message ?
YesNo
–Send RESET telegram to ASM and fetch acknow-
ledgement
Was command active on
YesNo
–Command is
aborted
–Fault message to
user
–Reissue com-
mand to ASM
the ASM ?
Ready to receive next telegram
–Correct acknowledgement; evaluation of telegram
–Proximity message (Z telegram)
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
5Checking entry and exit of MDS in SLG transmission window
This chapter describes various procedures for recognizing when an MDS is within range of an SLG. The
user can use the procedure most appropriate for the application with the RESET command: EAKO (see
section 3.4.15).
The following table shows the various types of entry/exit checking:
EAKOMDS entryMDS exitCommand executedNEXT
“0”Field scanningField scanningIf MDS presentYesYesNo
“1”UserUserImmediate; error if no
“2”DI0 on ASMField scanningIf MDS is present via
“3”DI0 on ASMDI1 on ASMIf MDS presentYesYesYes
“4”UserUserIf MDS detected by field
“5”UserUserNoNoNo
MDS in field
DI0; error if field
scanning does not
detect MDS
scanning
If MDS detected by field
scanning
command
necessary?
NoNoYes
YesYesYes
NoNoNo
Continuous
MDS flow
control by file
handler
Has filehandler
recognized
defective MDS?
General procedure for an SLG:
For each SLG that is to process an MDS, the station-specific SLG number is written to the system
area of the MDS. The SLG number is written automatically before the first command to be executed on
the MDS. The file handler recognizes from the SLG number whether a new or an old data carrier is currently present in the transmission window of the SLG.
New MDS:SLG numbers (SLG no. on MDS and station-specific SLG no.) do not correspond
Old MDS:SLG numbers correspond
Current MDS:All active commands apply to this MDS
Next MDS bit:Internal status flag in the file handler
ANW bit:Presence bit; the status of this bit is indicated by the green LED and on the backplane
connector (z18). As an option, the user can receive an ANW message if the ANW bit
changes (Z message: switch-selectable parameter).
The old MDS remains current (all commands relate to this MDS) until it is closed by a NEXT command. All
subsequent commands refer on this SLG to the next new MDS. This is achieved by having the file handler
set the “next MDS bit” when it receives a NEXT command. If the old MDS reenters the SLG transmission
window as the next MDS (SLG numbers correspond), no command is issued (the “next MDS bit” remains
set). When a new MDS enters the transmission window, the “next MDS bit” will be reset and the
station-specific SLG number will be written to the system area of the MDS (the new MDS thus becomes
the old/current MDS).
The SLG scans the surrounding area for the presence of a data carrier. If the file handler recognizes a data
carrier, the ANW bit will be set and a Z telegram sent to the user.
After the MDS has left the transmission window, the ANW bit will be reset and a Z telegram will be sent to
the user, while the SLG scans the field for the next MDS.
If the data carrier remains exactly on the border of the transmission window, a hysteresis function ensures
the ANW bit does not continuously toggle between on/off. This hysteresis function is handled by the processor on the ASM. Read/write commands are handled completely transparently by the ASM and have no
effect on proximity detection.
B
SLG
c
L
b
b
h
Hysteresis field for
proximity detection
a
MDS
Transmission window:
Data exchange between
L, B: Dimensions of the transmission window of an SLG
read/write device at operational distance to MDS (See
manual for configuration, installation and service.)
L = Field length; B = Field width
h:Hysteresis: Area in which a just set ANW bit remains set.
MDS and SLG
h = 0.1 ... 15 mm
(depends on MDS type)
a:The point at which the mobile data carrier is detected by the SLG. The pending MOBY command will
now be processed on the MDS. The presence bit is set. The user can receive an ANW message if
required (Z message).
b:The MOBY command must be completed by this point as the data carrier is about to leave the trans-
mission window. The presence bit is still set.
c:The presence bit is reset. The user receives a Z message. The MDS has passed out of range of the
SLG.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
In this mode of operation, the user must ensure (e.g.using proximity switch I) that an MDS is guaranteed to
be present in the transmission window of the SLG before an MDS command is sent to the ASM. Any command now sent to the ASM will be executed immediately . If the ASM 421 does not find an MDS (presence
bit = 0), the command will immediately be terminated with an error. This also occurs if the MDS is defective. No NEXT command is required when MDS processing is complete. The computer is responsible for
controlling the entry and exit of the MDS.
Proximity switch II at the exit point is not absolutely necessary. The notification that an MDS has left the
transmission window is provided by the ASM 421 through the ANW bit and/or the Z message.
The entry of an MDS is detected by a proximity switch connected to DI 0. The switch should be positioned
so that the MDS is guaranteed to be in the transmission window if the switch is activated. If this is not the
case, or if the MDS is defective, an error will be reported. After processing the MDS, it is imperative that
the user send a NEXT command to the ASM. The file handler assumes complete and continuous control
of the MDS.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Entry (E) of an MDS is detected by a proximity switch connected to DI 0. The MDS does not have to be
within the transmission window of the SLG at this time. Command processing begins as soon as the MDS
enters the transmission window. The MDS can move anywhere between points A and E without causing
an error. When the MDS reaches point A (exit), the ASM 421 receives an impulse via DI 1. The ANW bit is
reset. The MDS has passed the Exit.
e, a: The distances from the SLG to the entry and exit proximity switches can largely be chosen at will by
the user. Note, however, that two MDSs can never be between points E and A at the same time.
After processing each MDS, it is imperative that the user sends a NEXT command. The file handler assumes complete and continuous control of the MDS. An error will be reported if:
– the MDS is defective
– two MDSs in succession have passed point E (or the same MDS twice)
– two MDSs in succession have passed point A (or the same MDS twice)
– if no NEXT command is issued following an E-A sequence
Note:
After a RESET, the presence of an MDS will only be detected (ANW bit = 1) if it is already within the transmission window of the SLG!
In this mode of operation, the user assumes control of the MDS. Proximity switch I signals to the computer
that an MDS has entered. The MDS does not have to be within the transmission window of the SLG at this
time. Command processing begins as soon as the MDS enters the transmission window. The user can
check this by interrogating the ANW bit or the Z message.
Proximity switch II at the MDS exit point is not absolutely necessary.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
In this mode of operation absolutely no checking of MDS entry/exit is carried out by the file handler. The
MDS control must be handled entirely by the user.
If a command is issued to the file handler, it will be stored until an MDS arrives in the transmission window
of the SLG. The file handler then commences the processing of the command. When executing commands that do not change the DIR + FAT structure (i.e. no change to the checksum), the system area is
not updated. This increases the processing speed in especially time-critical applications, e.g. ECC operation of EEPROM MDS.
Operating with EAKO 5 automatically precludes the use of the NEXT command.
Note:
The use of EAKO 5 is a special mode of operation and it should therefore be regarded as test
operation.
The following codes are used in the diagram on the following page:
MDMDS absent
MDNnew/next MDS present
MDAcurrent or old (no longer current) MDS present
BDCommand present (the user has already transmitted an MDS command to the MDS)
BDCommand not present (the ASM is not processing an MDS command from the user)
BIACommand in progress (a command is now being executed)
ND“Next MDS bit” set in the file handler (the ASM has received a NEXT command from the
user).The processing of all subsequent commands takes place only with the next/new
MDS.
ND“Next MDS bit” not set in the file handler (the ASM has not yet received a NEXT
command).
File handler action
Status at an SLG station.
Two process sequences will be described as examples:
AEAKO = 0; an MDS is present in the transmission window of the SLG on restart. The file “switch” is
to be read dynamically by the SLG. The computer sets a switch (points) and then waits for the next
MDS.
1.After a Restart and a RESET command from the user, the file handler writes the SLG no. to the
MDS and goes into status
. ANW bit = 1.
3
2.The user sends the READ “switch” command to the ASM. The file handler starts the command and changes to status
3.After executing the command, the ASM sends the data it has read and goes into status
27
.
3
4.After evaluating the data the user sets a switch (points). The MDS has meanwhile left the
transmission window of the SLG: status
5.The user sends a NEXT command: status
; ANW bit = 0
5
. The processing of the MDS is now complete.
11
6.Immediately after the NEXT command, the user sends the command READ “switch”. The
command is temporarily stored in the ASM: status
. This status remains until a new MDS
23
enters the transmission window of the SLG.
7.A new MDS enters the transmission window of the SLG: ANW bit = 1. The file handler begins
processing immediately: the SLG number is written to the MDS and the execution of the command READ “switch” initiated: status
27
.
8.This point is identical to point 3. The MDS processing cycle restarts from the beginning.
.
Status diagram for this application, provided no error occurs:
327351123
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
BEAKO = 1; The user assumes control of the MDS. No MDS is in the transmission window of the
SLG on restart. Processing of the MDS takes place statically. The process consists of the
commands: read “file A”, read “file B” and write “file C”.
1.After restart and RESET from the user, the file handler has the status
11
.
2.The user detects the presence of a new MDS via a proximity switch connected to a digital input
(DI) and stops the conveyor. At the same time, the file handler detects a new MDS: ANW
bit = 1. The file handler begins processing the MDS: the SLG no. is written to the MDS. The
file handler changes to status
.
3
3.The user begins to process the commands : The command READ “file A” is sent to the ASM
and is started by the file handler: Status
4.Acknowledgement of command READ “file A” sent to the user: status
5.Command READ “file B” to ASM: status
6.Acknowledgement of command READ “file B” sent to the user: status
7.Command WRITE “file C” to ASM: status
8.Acknowledgement of command WRITE “file C” sent to the user: status
27
27
27
.
.
3
.
.
3
.
. The user has
3
now completed the processing of the MDS and restarts the conveyor.
9.The MDS leaves the transmission window of the SLG: ANW bit = 0; status
.
5
10. The user detects the presence of an MDS via a proximity switch on DI and stops the conveyor.
At the same time, the file handler recognizes the presence of a new MDS: ANW bit = 1;
status
.
1
1 1. The user begins to send off the commands: the command READ “file A” is sent to the ASM.
The file handler begins processing by writing the SLG no. to the MDS. Finally the READ command is issued: status
27
.
12. This point is identical to point 4. The MDS processing cycle restarts from the beginning.
Status diagram for this application, as long as no error occurs:
11273513
A
B
C
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Example:
You want to know how much time elapses from the start of a read operation until the data is in the PC
memory. The file to be read has a length of 350 bytes and is to be transmitted in 2 blocks. The maximum
block length to the PC is 255 bytes. The mobile data carrier is an MDS 505 (32 kB). It is in the transmission
window of the SLG. The data rate between PC and ASM is 4800 baud.
The command sequence can be divided into the following time slices:
Description
1)Issuing the read command and start of command by the 3964R
driver in the PC
2)Transmission of the command to the ASM:
25 user bytes + 6 procedure bytes
(response times in PC set to zero)
3)File handler processing time
4)Processing time of the MDS by the file handler
a) on the first occasion, when the MDS directory does not yet exist
in the ASM
b) reading of 244 bytes file data (60 ms + n * 1 ms)
5)Transmission of data to the PC:
(244 + 11) bytes user data + 6 procedure bytes
(the acknowledgement times in the PC are set to zero)
6)Processing time in the PC and issuing the second command segment to the 3964R driver
7)Transmission of the second command segment to the ASM:
11 user bytes + 6 procedure bytes
(response times in PC set to zero)
8)File handler processing time
Time in ms
Application
71
––
(940)
304
600
Application
39
––
See diag.
page 59
A
B
C
D
B
A
B
C
9)Processing time of the MDS by the file handler:
Reading of 106 bytes (n * 1 ms)
(Reading the directory is definitely no longer necessary; the constant time for the processing of the system area of an MDS is not
required for each subsequent command segment)
10) Transmission of data to the PC:
(106 + 11) bytes user data + 6 procedure bytes
(acknowledgement time in the PC is set to zero)
11) Processing time in the PC until the data is available to the user
Total time of the read operation
(the times of the PC are set to zero;
the directory already exists on the ASM)
– Read times between ASM and MDS
– Communications between PC and ASM
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
An error message from the file handler always has the same format. The presence of an error is always
indicated in the status byte (5th byte) of the acknowledgement telegram. It is 4 bytes long and in ASCII
format.
Acknowledgement with error:
012/3456/78/910
CC Status ADBDBN DBL
00 xx xxxxxxxx
’x’
Error flag is set (Bit 0 in status byte = 1)
The error flag must always be interrogated by the user
Command code showing where the error occurred
xxxx 0401
When terminated within a block sequence the block in which the
error was detected is shown here.
A block sequence will automatically be interrupted by an error
11/14
Error code
Error number: 000 ... 999
Error group:A = Protocol error
B = SLG error
C = MDS error
D = Task related error
E = Directory error
F = File related error
K = Error in the OUEUE-WRITE command
In general:– An error terminates block creation
– There are no “ignore” or “retry” options
– A “RESET” is not necessary following an error
– The parameters ADB and DBN contain the block number in which the error occurred
– If using the LOAD command:
a LOAD command should be programmed after each error
(As a rule, the directory in the ASM is invalid if the error occurred during a directory
operation. If the error occurred in the data area, the directory in the ASM remains valid. If many errors occur, however, the user cannot know exactly whether the error occurred during the DIR processing or while processing the user data).
The following table contains a summary of all the errors from the ASM 421:
flashes of
red LED
3
4
2
5
6
7
8
10
11
12
13
14
15
Error messages from the file handler
A0 06 Unknown error, the command code CC is invalid
A0 11 DBN not equal to 1 in first command block; CC or DBN incorrect for subsequent blocks;
DBL is wrong or does not fit the transferred data length.
A0 15 Reserved
A0 16 Command from another user being processed
B0 01 Fault in connection to the SLG
B0 02 1. Error when EAKO = 1; no MDS present (Timeout)
2. New MDS in transmission window; no NEXT command but command started (EAKO = 0,2)
3. New MDS has left station without NEXT (EAKO = 0,2)
4. EAKO = 2: MDS entry detected; however no MDS is to be found within the transmission
window
B0 05 EAKO = 3: An MDS has exited the transmission window without having entered it previously.
B0 06 EAKO = 3: new MDS arrives while the old one is still in the transmission window
B0 07 EAKO = 3: 2 x MDS entered without one having exited
C0 02 RAM error in MDS
C0 06 Proximity error
C0 07 Incorrect parameters in TRACE or FORMAT / command cannot be interpreted
C0 08 Too many sync attempts
C0 09 Too many send errors
C0 10 CRC send error
C0 11 reserved
C0 12 FORMAT, cannot initialize MDS
C0 13 FORMAT, timeout
C0 14 FORMAT, not initialized
C0 15 CMD address error
C0 16 ECC error
C0 17 General driver error
Kind of
error
PROTOCOL
ERROR
SLG
ERROR
MDS
ERROR
D0 01 Only RESET command permissible
1
D0 05 Invalid file or volume name
D0 07 The directory specified in the LOAD command is invalid; MOVE command isn’t possible
D0 09 Incorrect parameter in RESET command
D0 14 CREATE and WRITE: the user data area in the MDS is full
D0 15 Only FORMAT command possible; MDS not identified
D0 18 Start address in the command is outside the data area (start address > file length)
D0 22 Directory and/or FAT-changing access to an MDS protected with COVER is illegal.
D0 23 COVER: MDS name is incorrect.
E0 01The MDS type is incorrect or unsuitable for the selected mode of operation (ECC).
E0 02CREATE command; no more directory entries available
E0 03CREATE command; file already exists in directory
E0 05FAT block error detected in READ or WRITE; FAT is incorrect.
F0 01Specified data not present
F0 05WRITE error in file with “Read only” or “Write once” attribute
F0 06Incorrect access rights or switch setting
Kx xx 1. xxx = Number of the incorrect filr entry (See QUEUE-WRITE).
2. QUEUE-WRITE command in parameterized incorrectly.
3. The file to be set up already exists.
––––The ASM has a receive error
27
––––The ASM has a send error
28
* Errors with no digits in this column do not cause the red LED to flash.
TASK-RELATED
ERROR
DIRECTORY-
RELATED
ERROR
FILE-
RELATED
ERROR
QUEUE
PARA-
METERIZATION
SERIAL
INTERFACE
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
Full error description
A0 06:The command code for the started command is not valid (not defined). The correct CC must
be entered (see section 3.4).
A0 11:– for the first command block: DBN (= byte 8/9 in the telegram) does not have the value
0001.
– for subsequent block: DBN from the user is not in the correct ascending sequence or the
CC parameter (= byte 4) is not appropriate for the command now being processed.
A0 16:The file handler is currently processing a command from another user. Command processing
will be delayed until the other user is finished. The command may have to be issued again.
B0 01:Fault in connection to the SLG.
– cable between ASM and SLG is incorrectly wired or cable is damaged
– 24 V supply is not connected or is switched off
– fuse on the ASM is defective
– Hardware fault: ASM 421 or SLG
This error does not occur at the start of the system commands (RESET, NEXT,
ASM STATUS).
B0 02:EAKO 1, 2:– A command has been started, but there is no MDS in the transmission
window of the SLG.
– MDS 507; dialog battery is dead (Batt2 bit is not set; measure battery
voltage).
EAKO 0, 2, 3: – the old/current MDS is out of the transmission window and the next/new
MDS has entered the transmission window. A command has been started
(not NEXT). This command refers to the new MDS, but the old/current
MDS has not been terminated with NEXT.
– a new MDS entered the transmission window of the SLG and left it again
without any command being processed. (MDS has “slipped through”).
EAKO 2:The arrival of an MDS was recognized by the proximity switch on DI 0; how-
ever no MDS is to be found in the transmission window of the SLG.
B0 05:Only when EAKO (I/O Control) = 3:
No MDS is to be found between points E and A; in this state the departure proximity
switch has been activated.
– an MDS has exited the transmission window without having entered it previously.
– after the departure of an MDS, the MDS has been moved back and the departure proxi-
mity switch activated a second time.
B0 06:Only when EAKO = 3: MDS generates an entry signal at DI0 but the old MDS has not exited
completely.
– entry (DI0) and exit (DI1) proximity switches are being triggered simultaneously
– entry and exit are too close together
B0 07:Only when EAKO = 3: two MDS entries have occurred at DI0, but no MDS exited at DI1
– entry and exit are too close together
– an MDS is stationary directly after entry and is moved backwards slightly by the
The MDS has not yet been written or has lost its memory content due to battery failure (not
with EEPROM MDS). Therefore:
– change the MDS (if the battery monitoring bit is set)
– initialize the MDS with the STG 4F
– format the MDS using the FORMAT command
C0 06:During certain important operations (e.g. writing system area of MDS, formatting MDS) the
MDS must not leave the transmission window of the SLG, as otherwise the command will
terminate with this error. Therefore:
– issue the command again
– MDS is standing in the border zone of the SLG transmission window
– at EAKO = 1: The MDS is not in the transmission window of the SLG at the start of a
command.
C0 07:– The FORMAT or TRACE commands have been issued with incorrect parameters. The
physical address requested does not exist in the MDS (MDS memory is smaller than specified in the command)
– With READ/WRITE/UPDATE: the pointer in the FAT is incorrect; it is pointing to a block
that does not exist in the MDS.
C0 08:Field interference at the SLG. The SLG is receiving interference impulses from the surround-
ing area
– external interference field; the interference field can be detected by the “inductive field
indicator” of the STG.
– the distance between two SLGs is too small and does not conform to the design guidelines
– the connection cable to the SLG is subject to interference, is too long or does not conform
to specification
Or MDS 507; dialog battery is dead
– Check Batt2 bit
– Measure voltage on battery.
C0 09:Too many send errors have occurred. The MDS could not receive the command or the data
from the SLG correctly, despite several attempts
– the MDS is standing exactly on the edge of the transmission window
– data transmission to the MDS is being affected by external interference
C0 10:– CRC send error. The monitoring system has detected a data transmission error . Cause of
error as for C0 08.
– The MDS reports CRC errors very frequently. (MDS is on the edge of a transmission
window. MDS or SLG is defective.)
C0 12:The MDS cannot execute the FORMAT command. The MDS is defective.
C0 13:The MDS must be in the SLG field when formatting, otherwise a timeout error occurs, i.e.:
– the MDS is standing exactly on the edge of the transmission window
– the MDS is using too much current (defective).
– EEPROM-MDS type parameterized incorrectly in FORMAT
Or MDS 507; dialog battery is dead
– Check Batt2 bit
– Measure voltage on battery.
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618
– the MDS has a smaller memory than specified in the FORMAT command, i.e. enter the
correct parameters for this type of MDS
– the MDS memory is defective
– an EEPROM MDS has been written too often and has reached the end of its life
C0 15:Address error. The address area of the MDS has been exceeded
– the MDS is not of the correct type
C0 16:An ECC error has occurred. Data cannot be read from the MDS
– the MDS has lost its data (MDS defective)
– the MDS was not formatted by the ECC driver. Reformat the MDS
– an EEPROM MDS has reached the end of its life. The data has been lost. Replace the
MDS
– The MDS left the field during the write access. The MDS is not positioned correctly.
C0 17:The file handler is not working correctly
– check command format and command sequence
– the ASM 421 hardware (firmware) is defective (faulty).
D0 01:The file handler will only accept RESET commands
– the file handler has not yet been initialized by a RESET command
– this situation can only be remedied by a RESET command
D0 05:The FORMAT, CREATE, ATTRIB, WRITE, UPDATE, COVER and QUEUE-WRITE com-
mands have been issued with incorrect parameters
– FORMAT with invalid volume name or MDS type
– CREATE with invalid file name
– invalid file attribute
– WRITE/UPDATE with length 0 (DLNG=0)
– QUEUE-WRITE with invalid option
– COVER with invalid user (Only 1 and 2 are valid.)
D0 07:The data transferred by the LOAD command is incorrect:
– the data from DIR + FAT do not match the transmitted checksum.
– the DLNG is parameterized incorrectly in LOAD.
MOVE command: the DIR + F AT do not fit the checksum. A MOVE command cannot be carried out. The data structure on the MDS may be faulty. Format the MDS.
D0 09:The RESET command has been transmitted to the file handler with incorrect parameters
– check bytes 11 to 17 of the telegram as shown in section 3.4.15
D0 14:WRITE command:there is no longer enough memory available in the MDS. Not all the
data has been written to the MDS
CREATE command: no data blocks can be reserved when creating a file. No more blocks
are free
D0 15:The MDS could not be identified by the file handler. Reformat the MDS.
D0 18:The physical address requested lies outside the file. There is an error in the FAT. Reformat
the MDS.
D0 22:The MDS is protected by the COVER command. A write command (e.g. UPDATE, CREATE)
must not modify the memory structure and is therefore rejected.
Hazardous voltages are present in this equipment during operation.
To ensure safe operation of the equipment, maintenance shall only be
performed by qualified personnel in accordance with the instructions
in the MOBY catalog1 and technical description.
Failure to observe these instructions can result in death, severe personal injury or substantial damage to property.
The following instructions and those on all product labels must be
followed when carrying out any maintenance work.
Warning
Always disconnect and earth the equipment before starting
any maintenance.
Use only spare parts authorized by the manufacturer.
The servicing intervals as well as the instructions for repair
and replacement shall be duly observed.
A lithium battery is contained in mobile data memories with
RAM. The following instructions must be observed:
To avoid the risk of fire, explosion and severe burns, the bat-
tery should not be recharged, dismantled, exposed to heat
over 100 degrees Celsius, ignited, or brought into contact
with water.
The special instructions must be followed when using heat-resistant
data storage media.
1 Should you not be in possession of the MOBY catalog, it can be
obtained through your local Siemens office.
Deutsch
!
Beim Betrieb elektrischer Geräte stehen zwangsläufig bestimmte
Teile dieser Geräte unter gefährlicher Spannung.
Sicherer Betrieb der Geräte setzt voraus, dass diese von qualifiziertem Personal sachgemäß unter Beachtung der im MOBY-Katalog
und der technischen Beschreibung enthaltenen Hinweise eingesetzt
werden.
Bei Nichtbeachtung können Tod, schwere Körperverletzung oder erheblicher Sachschaden die Folge sein.
Beachten Sie daher auch bei Instandhaltungsmaßnahmen an diesem
Gerät alle hier und auf dem Produkt selbst aufgeführten Hinweise.
Warnung
Vor Beginn jeglicher Arbeiten ist das Gerät vom Netz zu tren-
nen und zu erden.
Es dürfen nur vom Hersteller zugelassene Ersatzteile verwen-
det werden.
Die vorgeschriebenen Wartungsintervalle sowie die Anwei-
sungen für Reparatur und Austausch sind unbedingt einzuhalten.
Bei einem mobilen Datenspeicher mit RAM ist eine Lithium-
batterie integriert, hierzu sind folgende Hinweise zu beachten:
Vermeiden Sie das Risiko von Feuer, Explosionen und schwe-
ren Verbrennungen. Die Batterie darf nicht nachgeladen, auseinandergebaut, über 100° Celsius erwärmt, entzündet oder
ihr Inhalt mit Wasser in Berührung gebracht werden.
Beim hitzefesten Datenträger sind die besonderen Hinweise zu berücksichtigen.
1 Sollten Sie nicht im Besitz des MOBY-Katalogs sein, so kann er
über jede örtliche SIEMENS-Niederlassung bestellt werden.
Le fonctionnement d’un équipement électrique implique nécessairement la
présence de tensions dangereuses sur certaines de ses parties.
L’exploitation sûre de cet équipement implique qu’il soit mis en oeuvre de
façon adéquate par des personnes qualifiées, en respectant les consignes de
sécurité figurant au catalogue MOBY1 et aux descriptions techniques.
Le non-respect des consignes de sécurité peut conduire à la mort, à des
lésions corporelles graves ou à un dommage matériel important.
Ne procéder à l’entretien que dans le plus grand respect des règles de sécurité énoncées ici ou figurant sur le produit.
AttentionPericolo
Avant toute intervention, mettre l’appareil hors tension et à la terre.
N’utiliser que des pièces de rechange autorisées.
Respecter la périodicité d’entretien et les instructions de réparation
et de remplacement.
Les mémoires embarquées (RAM) sont équipées d’une pile au li-
thium.
Ne pas exposer la pile au feu, danger d’explosion et de lésions gra-
ves. La pile ne doit pas être rechargée, ouverte exposée à des
températures supérieures à 100° C ou exposée au feu. Son contenu
ne doit pas entrer en contact avec de l’eau.
En ce qui concerne les supports de données résistants à la chaleur, respecter
les consignes spécifiques.
1 Si vous ne disposez pas ou du catalogue MOBY, ce peuvent être com-
mandés auprès de votre agence SIEMENS.
Durante il funzionamento di apparecchi elettrici, determinate parti di tali
apparecchi si trovano inevitabilmente sotto tensione pericolosa.
Per un funzionamento sicuro di questi apparecchi è necessario che essi
vengano adoperati, nel modo opportuno, solo da personale qualificato,
che osservi le indicazioni contenute nel catalogo1 per gli apparecchi
MOBY e nella descrizione tecnica.
In caso di non osservanza si possono verificare la morte, gravi lesioni alle
persone o notevoli vanni alle cose.
Per questo motivo è necessario che le avvertenze riportate qui e sul prodotto stesso vengano rispettate anche nel caso di misure di manutenzione
degli apparecchi.
Prima di iniziare qualsiasi lavoro è necessario staccare l’apparec-
chio dalla rete ed effettuare una messa a terra.
Possono essere utilizzati solo pezzi di ricambio prodotti dal cos-
truttore.
E’assolutamente necessario rispettare i tempi di manutenzione
previsti e le indicazioni riguardanti il ricambio e la riparazione.
In una memoria dati mobile dotata di RAM è integrata una batte-
ria al litio; in questo caso è necessario osservare le seguenti indicazioni:
evitare il pericolo di incendio, di esplosioni e di gravi ustioni.
E’vietato ricaricare, smontare, riscaldare oltre i 100° C o incendiare la batteria, oppure mettere il suo contenuto a contatto con
acqua.
Nel caso di un supporto dati resistente al calore è necessario osservare le
indicazioni speciali al riguardo.
1 Se non doveste essere in possesso del catalogo MOBY, potete ordi-
narlo presso qualsiasi filiale SIEMENS di zona.
EspañolSvensk
!!
Durante el funcionamiento de los equipos eléctricos hay partes de los mismos que se encuentran forzosamente bajo tensión peligrosa.
Un funcionamiento seguro de los equipos presupone que han sido instalados correctamente por personal calificado observando las indicaciones
contenidas en el Catálogo1 de los equipos MOBY y la Descripción técnica.
La no observación de dichas indicaciones puede provocar la muerte, lesiones corporales graves o daños materiales considerables.
Por este motivo es preciso observar también durante las operaciones de
mantenimiento y reparación en dicho equipo todas las indicaciones que figuran aquí y en el producto.
Antes de comenzar cualquier trabajo es preciso seccionar de la red
Solo deben utilizarse repuestos homologados por el fabricante.
Es imprescindible observar los intervalos de mantenimiento especi-
Las memorias de datos móviles con RAM tienen integrada una
En los soportes de datos con protección térmica es preciso observar las indicaciones particulares respectivas.
1
Precaución
el equipo y ponerlo a tierra.
ficados asi como las instrucciones de reparación y reemplazo.
batería de litio; al respecto es preciso observar las indicaciones
siguientes:
Evite riesgos de fuego, explosiones y quemaduras graves. La batería no debe ser recargada, desmontada, calentada a mas de 100
grados centígrados, inflamada: su contenido no deberá ponerse en
contacto con agua.
Si no dispone del catálogo MOBY, estos pueden pedirse a través de
cualquier sucursal local de SIEMENS.
Vid drift av elektrisk utrustning ligger det alltid en farlig spänning på vissa
delar av utrustningen.
Säker drift av utrustningen förutsätter att den utförs av kvalificerad personal med uppmärksamhet på anvisningarna i MOBY-katalogen1 samt de
anvisningarsom ges i den tekniska beskrivningen.
Om dessa anvisningar ej beaktas kan följden bli dödsfall, svår kroppskada
eller avsevärda materielskador.
Uppmärksamma vid underhållsarbete också anvisningar som ges här och
på själva produkten.
Före allt arbete skall utrustningen skiljas fran nätet och jordas.
Bara reservdelar som godkänts av tillverkaren får användas.
lakttag alltid föreskrivna underhållsintervall samt de anvisningar
som givits rörande reparation och utbyte.
Det mobila dataminnet med RAM innehåller et litiumbatteri. För
detta gäller följande anvisningar:
Undvik risk för öppen låga, explosioner och förbränning. Batteriet
får inte efterladdas, tas isär, värmas upp över 100° C eller tändas
på., och dess innehåll får ej komma i beröring med vatten.
För värmebeständiga datamedier gäller speciella anvisningar, som måste
beaktas.
1Om Ni inte har ett exemplar av MOBY-katalogen så kan den bestållas
från närmaste SIEMENS-kontor.
Varning
Subject to change without notice!
RD: 03/02
J31069-D0142-U001-A0-7618