0% found this document useful (0 votes)
145 views41 pages

AS511 Master: Woodhead Woodhead

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views41 pages

AS511 Master: Woodhead Woodhead

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

Protocol manual

AS511 Master

applicom® 3.8

a product of Woodhead Software & Electronics

AS511.doc 06/05/2004

Copyright © 2004 Woodhead Software & Electronics. All rights reserved.


http://www.applicom-int.com
electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

AS511.doc 06/05/2004
® TM TM TM
Copyright © 2004 Woodhead Software & Electronics. All rights reserved. applicom , Direct-Link , RJ-Lnxx , SST are registered
trademarks of Woodhead Software & Electronics. Other product names are trademarks of their respective owners.
http://www.applicom-int.com
electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

Table of contents

1. - Generalities ..................................................................................1

2. - Functionality ................................................................................2
- Access to variables ...............................................................................................2
- Maximum number of variables per frame with the library .....................................3
- Maximum number of variables per frame with PCDDE ........................................3
- Maximum number of variables per frame with OPC server ..................................4

3. - Configuration ...............................................................................5

4. - applicom® functions which can be used on the AS511 master


channel 8
- wait mode..............................................................................................................8
- Deferred mode ......................................................................................................9
- Cyclic mode...........................................................................................................9

5. - Image variable item ...................................................................10


- Presentation ........................................................................................................10
- Standard descriptor.............................................................................................11
- Siemens PLC descriptor German (D) and French syntax ..................................16
- Siemens PLC descriptor, English (GB) syntax ...................................................25

6. - Appendices ................................................................................33
- List of complementary files for AS511 Master: ...................................................33
- Evolution / compatibility.......................................................................................33

7. - Function return status...............................................................34


- Introduction .........................................................................................................34
- applicom® general statuses................................................................................35
- Statuses linked to the protocol............................................................................36

8. - Glossary of terms ......................................................................37

9. - Index ...........................................................................................38

AS511 Master •i• Table of contents


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

1. - Generalities

AS511 is a console connector protocol in point to point, half-duplex and master-slave. The
AS511 master protocol on applicom® interface is used to manage Siemens S5 PLCs:
• 95 U
• 115 U (CPU 943, 943 B)
• 155 U (CPU 948).
• 135 U (CPU 928, 928B)

CUSTOMER
APPLICATION

applicom®

Layer 7
Application Protocol AS 511
Layer 6
Presentation

Layer 5
Session

Layer 4
Transport

Layer 3
Network

Layer 2
Link Master Management
CL 20mA - Half Duplex.
Layer 1 9600 bauds, 8 bits, 2 stop bits, even parity
Physical
Serial Link, Asynchronous transmission

AS511 Master •1• - Generalities


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

2. - Functionality

Access to variables
The functions managed by choosing an AS511 channel provide access to variables defined in the
following table.
The address of the variable accessed must be calculated by referring to the " applicom® Addressing"
column in the table.

Siemens applicom® Exchange type Corresponding applicom®


PLC Addressing (cyclic mode) function
Variable (addr) (library/DLL access)
M v.w v*8+w Read bits READPACKBIT, READDIFBIT
DB x D y.z x*4096+y*16+z Write bits WRITEPACKBIT, WRITEDIFPACKBIT
DX x D y.z idem +1048576
MB v v Read bytes READBYTE
Write bytes WRITEBYTE
MB v v Read packed bytes READPACKBYTE, READDIFBYTE
Write packed bytes WRITEPACKBYTE, WRITEDIFPACKBYTE
MW v v Read words READWORD, READDIFWORD
DB x DW y x*256+y Write words WRITEWORD, WRITEDIFWORD
DX x DW y idem + 65536
MD v v Read double words READDWORD, READDIFDWORD
DB x DD y x*256+y Write double words WRITEDWORD, WRITEDIFDWORD
DX x DD y idem + 65536
MD v KG v Read floating words READFWORD, READDIFFWORD
DBxDDyKG x*256+y Write floating words WRITEFWORD, WRITEDIFFWORD
DXxDDyKG idem + 65536
E v,w v*8+w Read input bits READPACKIBIT, READDIFIBIT
EB v v Read input bytes READIBYTE
EB v v Read packed input bytes READPACKIBYTE, READDIFIBYTE
EW v v Read input words READIWORD, READDIFIWORD
A v.w v*8+w Read output bits READPACKQBIT, READDIFQBIT
Write output bits WRITEPACKQBIT, WRITEDIFPACKQBIT
AB v v Read output bytes READQBYTE, READDIFQBYTE
Write output bytes WRITEQBYTE
AB v v Read packed output bytes READPACKQBYTE, READDIFQBYTE
Write packed output bytes WRITEPACKQBYTE, WRITEDIFPACKQBYTE
AW v v Read output words READQWORD, READDIFQWORD
Write output words WRITEQWORD, WRITEDIFQWORD
TB n n Read timers READTIMER
ZB n n Read counters READCOUNTER

v : Byte No.
w : No. of bit in byte (0 to 7)
x : DB (1 to 255) or DX No. (0 to 255)
y : No. of word in DB or in DX (0 to 255)
z : No. of bit in word (0 to 15)
n : Timer or counter No (0 to 255)
The access to the functions of the applicom.dll library is not supported by the SW1000SER solution.

AS511 Master •2• - Functionality


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
NOTE :
CAUTION! The AS511 protocol can only write bits with 16 bits words (case of DB and DX) or with 8
bits bytes (case of memo, inputs and outputs). If the first bit address and bit number is not 16 multiple
(case of DB and DX) or 8 multiple (case of memo, inputs and outputs), the applicom® software read
words or bytes containing the bits to write in API, hide and force the user bits, then write words or bytes in
the equipment as a whole.
This machinery can induce risks if the equipment has forced others bits of the word or of the byte
between the reading and the writing.

To find the model and CPU of the PLC connected to applicom® channel, use the applicom®
function "readident".

CAUTION! The applicom® environment must read the configuration of the PLC connected on this
channel before being operational. Do make sure to use the "AppConnect" function or reinitialize the
applicom® environment each time the PLC is changed to "force" this read.

The counters and timers are only available with the applicom® library.

Remark : the access to the functions «readident » and « AppConnect » of the applicom.dll library is
not supported by the SW1000SER solution. You have to reset the applicom® environment when you
change of PLC in order to force the reading of the configuration.

- Maximum number of variables per frame with the library

Supported only with an applicom® interface.

Object Max. quantity in read Max. quantity in write


Bit 2048 2048
Byte 256 256
Word 128 128
Double word 64 64
Timer/counter 128 -

- Maximum number of variables per frame with PCDDE

Object Max. quantity in read Max. quantity in write


Bit 2048 1
Byte 256 1
Word 128 1
Double word 64 1
Timer/counter 128 -

The number given for read frames corresponds to the maximum number of points (as imposed by
the server and/or the protocol) which can be grouped together during dynamic optimization of the frames
carried out by the server. However, this number can be reduced to suit a specific item of equipment by
configuring the length of frames in the topic (see chapter "Implementation/Topics configuration/Advanced
options").
Where write operations are concerned, a variable automatically entails the formation of a frame.

AS511 Master •3• - Functionality


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Maximum number of variables per frame with OPC server

Object Max. quantity in read Max. quantity in write


Bit 2048 2048
Byte 256 256
Word 128 128
Double word 64 64
Timer/counter 128 -

The number given for read frames corresponds to the maximum number of points (as imposed by
the server and/or the protocol) which can be grouped together during dynamic optimization of the frames
carried out by the server. However, this number can be reduced to suit a specific item of equipment by
configuring the length of frames in the topic (see chapter "Implementation/Topics configuration/Advanced
options").
For the write frames, see chapter "OPC Server/Optimization of synchronous and asynchronous
requests".

AS511 Master •4• - Functionality


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

3. - Configuration

‰ Fixed parameters in the link:


Speed: 9600 baud
Parity: Even
Data format: 8 bits
Stop bits: 2

AS511 master properties with the applicom® interface:

AS511 master properties with SW1000SER :

AS511 Master •5• - Configuration


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
‰ Interface module

Supported only with an applicom® interface

The type of interface module is determined by the reference of the module installed on the
applicom® interface, or on the galvanic insulation option (BX4010, BX4010R).

You then have the following choices:


RS232 (2 signals) (3RS232*, 5RS232*, 6RS232)
RS232 (6 signals) (3RS232*, 5RS232*, 6RS232)
BC20 mA*
3RS485*
3RS485-4*
5RS485* or 6RS485

*: Not galvanically insulated. Insulation provided only with options BX4010 and BX4010R.

For the module compatibility, you can refer to the Wiring/Output module compatibility section of
« hardware installation » manual.

RS232 (2 signals)(3RS232*, 5RS232*, 6RS232)


Means that only the TxD and RxD signals are exploited by the protocol task installed on the
channel. RTS, DTR, CTS and DCD signals can be accessed from the application by using
the applicom® library GETMODEM and SETMODEM functions.

RS232 (6 signals)(3RS232, 5RS232, 6RS232)


Means that the protocol task implanted on the channel supports the following signals:
- TxD and RxD, for data emission and reception.
- RTS, output signal positioned by the applicom® interface before each emission.
- CTS, input signal, must be active to enable emission.
- DCD, input signal, must be active to validate reception.
You can position the output signal DTR from the application program through the applicom®
library function SETMODEM.
You can consult the status of the input signals CTS and DCD from the application program
through the applicom® library function GETMODEM.
The 6RS232 module ensures the galvanic isolation.

AS511 Master •6• - Configuration


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
BC20 mA
Conductive 20 mA current loop. The active or passive operation is determined by wiring. If
active, see "5BC20 module characteristics" in wiring section of the Hardware installation
manual. The active operation should only be used if BX4010 and BX4010R boxes are used.

3RS485
RS485 2 wire link. Line prepolarization as well as load resistance are selected by wiring.
Caution: The wiring differs from modules 3RS485-4 and 5RS485.

3RS485-4RS422 / RS485 4 wire prepolarized link. The load resistance is selected by wiring.

5RS485 or 6RS485
RS422 / RS485 2 or 4 wire prepolarized link. The load resistances are selected by wiring.
The 6RS485 module also provides galvanic insulation. Your interface must be equipped for
this type of module with PROM V3.0 or higher.

‰ Number of the serial port:

Only supported with the SW1000SER solution.

The serial port number corresponds to the COM port that will be used on the machine by the
SW1000SER interface for the selected protocol.
The list includes the COM ports defined in the system.

‰ Flow control:

Only supported with the SW1000SER solution.

Flow control defines the communication signals used by the device or by a current loop converter
(BC20mA), RS485, RS422.

None
No flow control.

DTR On
The DTR signal is raised during serial port opening and remains constantly raised.

RTS
The RTS signal is raised if there are bytes to transmit. It is dropped when all the emission buffer
bytes have been emitted.

RTS, DTR On
Combination of the DTR and RTS modes described above.

RTS On
The RTS signal is raised during serial port opening and remains constantly raised.

For more details about using a converter, see chapter "Use of RS232/RS485, RS422 and Current
Loop Converters" in the Software Solution Functions manual.

‰ Equipment turnaround time

The turnaround represents the wait time of a response to a request. This value, normally at 20 ms,
can be increased during malfunction (Status 53). Especially when dialoging with a PLC which has a long
cycle time (CPU overloaded).

AS511 Master •7• - Configuration


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

4. - applicom® functions which can be used on


the AS511 master channel

- wait mode
- Standard functions

Supported only with an applicom® interface.

Readpackbit writepackbit
readpackibit
readpackqbit writepackqbit
readbyte writebyte
readibyte
readqbyte writeqbyte
readpackbyte writepackbyte
readpackibyte
readpackqbyte writepackqbyte
readword writeword
readiword
readqword writeqword
readdword writedword
readfword writefword
readtimer
readcounter
readident

AppConnect AppUnconnect
manual automatic

- Specific functions

Supported only with an applicom® interface.

iocounter resetiocounter

AS511 Master •8• - applicom® functions which can be used on the


AS511 master channel
electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Deferred mode

Supported only with an applicom® interface.

readdifbit writedifpackbit
readdifibit
readdifqbit writedifpackqbit
readdifbyte writedifpackbyte
readdifibyte
readdifqbyte writedifpackqbyte
readdifword writedifword
readdifiword
readdifqword
readdifdword writedifdword
readdiffword writediffword

testtransdif transdif transdifpack

- Cyclic mode

Supported only with an applicom® interface.

createcyc
startcyc stopcyc actcyc
transcyc transcycpack

Type of cyclic function:

Variable in Type of function


the equipment Read Write
Packed bits X X
Packed input bits X
Packed output bits X X

Packed bytes X X
Bytes X X
Packed input bytes X
Input bytes X
Packed output bytes X X
Output bytes X X

Words X X
BCD words
Input words X
Output words X X

32 bits double words X X


32 bits IEEE floating X X

AS511 Master •9• - applicom® functions which can be used on the


AS511 master channel
electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

5. - Image variable item

- Presentation
The "item of image variables" are the syntaxes which allow to access to the variables through the
DDE server "pcdde" or the OPC server.

Report you to sections "DDE server/Principles regarding access to Data" or "OPC server/Data
Access Principle".

According to the configuration of the equipment, the descriptor is determined by default by the
server. In case of AS511 protocol, the default descriptor is Siemens Simatic S5 descriptor (German and
French syntax and English syntax).

Caution, if you change the default descriptor, certain optimizations of access to the equipment will
be devalidated and the performances could be modified.

You however have the possibility of using another descriptor (in particular the applicom® standard
descriptor) by the means of the advanced options.

AS511 Master • 10 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Standard descriptor

The standard descriptor can be used to access all equipment which does not have a specific
descriptor. The address field in the « item » name can go up to 10 digits. A linear address can therefore
be composed ranging from 0 to 4 giga.

Unitary mode Table Mode, Matrix Mode


Internal bits Bx Bx_n, Bx_n_l
Input bits BIx BIx_n, BIx_n_l
Output bits BOx BOx_n, BOx_n_l
Internal bytes Ox Ox_n, Ox_n_l
Input bytes OIx OIx_n, OIx_n_l
Output bytes OOx OOx_n, OOx_n_l
ASCII string in the internal bytes M_Ox_n
Internal words Wx Wx_n, Wx_n_l
Input words WIx WIx_n, WIx_n_l
Output words WOx WOx_n, WOx_n_l
ASCII string in the internal words M_Wx_n
Internal double words Dx Dx_n, Dx_n_l
Internal floating words Fx Fx_n, Fx_n_l

Remark: Limit values for n and l parameters are depending on the protocol. However, in case of
PCDDE, limits cannot never be superior than 128 for bits and bytes, 64 for words, 32 for double words
and floating words.

For more information on the limits in read and write, see :


- Maximum number of variables per frame with PCDDE on page 3
- Maximum number of variables per frame with OPC server on page 4
For the variable addressing, refer to the chapter "Access to variables" on page 2

AS511 Master • 11 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
- Internal bits => Bx (type: BIT)

x: Number of the first bit.


Example: B4

- Internal bits => Bx_n, Bx_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: B4_10, B4_10_5

- Input bits => BIx (type: BIT)

x: Number of the first bit.


Example: BI4

- Input bits => BIx_n, BIx_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples Bl4_10, Bl4_10_5

- Output bits => BOx (type: BIT)

x: Number of the first bit.


Example: BO4

- Output bits => BOx_n, BOx_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: BO4_10, BO4_10_5

- Internal bytes => Ox (type: BYTE)

x: Number of the first byte.


Example: O4

- Internal bytes => Ox_n, Ox_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only).
Examples: O4_10, O4_10_5

AS511 Master • 12 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Input bytes => OIx (type: BYTE)

x: Number of the first byte.


Example: OI4

- Input bytes => OIx_n, OIx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only).
Examples: OI4_10, OI4_10_5

- Output bytes => OOx (type: BYTE)

x: Number of the first byte.


Example: OO4

- Output bytes => OOx_n, OOx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only).
Examples: OO4_10, OO4_10_5

- ASCII string in the internal bytes => M_Ox_n (type: BYTE)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: Number of the first byte containing the string.


n: Number of potential bytes that could contain the ASCII string (1 to 131).
Example: M_O100_30

In the example, the byte array O100 to O129 can contain the string.

- Internal words => Wx (type: 16 bit WORD)

x: Number of the first word.


Example: W4

- Internal words => Wx_n, Wx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: W4_10, W4_10_5

AS511 Master • 13 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
- Input words => WIx (type: 16 bit WORD)

x: Number of the first word.


Example: WI4

- Input words => WIx_n, WIx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: WI4_10, WI4_10_5

- Output words => WOx (type: 16 bit WORD)

x: Number of the first word.


Example: WO4

- Output words => WOx_n, WOx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: WO4_10, WO4_10_5

- ASCII string in the internal words => M_Wx_n (type: 16 bit WORD)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: Number of the first word containing the string


n: Number of potential words that could contain the ASCII string (1 to 65).
Example: M_W100_30

In the example, the word array W100 to W129 can contain the string.

- Internal double words => Dx (type: 32 bit WORD)

x: Number of the first double word.


Example: D4

- Internal double words => Dx_n, Dx_n_l

n: Number of double words.


l: Number of double words per line (Matrix mode only).
Examples: D4_10, D4_10_5

AS511 Master • 14 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Internal floating words => Fx (type: 32 bit IEEE REAL)

x: Number of the first floating word.


Example: F4

- Internal floating words => Fx_n, Fx_n_l

n: Number of floating words.


l: Number of floating words per line (Matrix mode only).
Examples: F4_10, F4_10_5

AS511 Master • 15 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
- Siemens PLC descriptor German (D) and French syntax

The Siemens PLC descriptor can only be used when accessing Siemens PLC via the console
connector under AS511 protocol:

The Siemens Simatic S5 descriptor is the default descriptor determined by the OPC and DDE
server.

Caution:

When accessing words in the markers, input words and output words, these words are accessed in
a byte zone, word 1 being composed of bytes 1 and 2, word 2 of bytes 2 and 3, etc. The words therefore
overlap.

When accessing double words and floating words in the markers, these variables are accessed in a
byte zone, double word 1 being composed of bytes 1, 2, 3 and 4, double word 2 of bytes 2, 3, 4 and 5,
etc. The variables therefore overlap.

Unitary mode Table Mode, Matrix Mode


Marker bits Mx.y Mx.y_n, Mx.y_n_l
Input bits Ex.y Ex.y_n, Ex.y_n_l
Output bits Ax.y Ax.y_n, Ax.y_n_l
Bits of words in the DB DBxDy.z DBxDy.z_n, DBxDy.z_n_l
Bits of words in the DX DXxDy.z DXxDy.z_n, DXxDy.z_n_l
Marker bytes MBx MBx_n, MBx_n_l
Input bytes EBx EBx_n, EBx_n_l
Output bytes ABx ABx_n, ABx_n_l
ASCII string in the marker bytes M_MBx_n
Words in the markers MWx MWx_n, MWx_n_l
Input words EWx EWx_n, EWx_n_l
Output words AWx AWx_n, AWx_n_l
Words in the DB DBxDWy DBxDWy_n, DBxDWy_n_l
Words in the DX DXxDWy DXxDWy_n, DXxDWy_n_l
Right byte of a word in the DB DBxDRy
Left byte of a word in the DB DBxDLy
Right byte of a word in the DX DXxDRy
Left byte of a word in the DX DXxDLy
ASCII string in the DB words M_DBxDWy_n
ASCII string in the DX words M_DXxDWy_n
Double words in the marker bytes MDx MDx_n, MDx_n_l
Floating words in the marker bytes MDxKG
Double words in the DB DBxDDy DBxDDy_n, DBxDDy_n_l
Double words in the DX DXxDDy DXxDDy_n, DXxDDy_n_l
Floating words in the DB DBxDDyKG
Floating words in the DX DXxDDyKG
Timers TBx TBx_n, TBx_n_l
Counters ZBx ZBx_n, ZBx_n_l

AS511 Master • 16 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
Remark: Limit values for n and l parameters are depending on the protocol. However, in case of
PCDDE, limits cannot never be superior than 128 for bits and bytes, 64 for words, 32 for double words
and floating words.

For more information on the limits in read and write, see :


- Maximum number of variables per frame with PCDDE on page 3
- Maximum number of variables per frame with OPC server on page 4
For the variable addressing, refer to the chapter "Access to variables" on page 2.

- Marker bits => Mx.y or Mx:y (type: BIT)

x: Marker number (0 to 255).


y: Rank of the first bit in the marker (0 to 7).
Example: M94.7 or M94:7

- Marker bits => Mx.y_n or Mx:y_n, Mx.y_n_l or Mx:y_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: M94.7_24 or M94:7_24, M94.7_24_8 or M94:7_24_8

- Input bits => Ex.y or Ex:y (type: BIT)

x: Number of the input byte (0 to 127).


y: Rank of the first bit in the input byte (0 to 7).
Example: E94.7 or E94:7

- Input bits => Ex.y_n or Ex:y_n, Ex.y_n_l or Ex:y_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: E94.7_24 or E94:7_24, E94.7_24_8 or E94:7_24_8

- Output bits => Ax.y or Ax:y (type: BIT)

x: Number of the output byte (0 to 127).


y: Rank of the first bit in the output byte (0 to 7).
Example: A94.7 or A94:7

- Output bits => Ax.y_n or Ax:y_n, Ax.y_n_l or Ax:y_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: A94.7_24 or A94:7_24, A94.7_24_8 or A94:7_24_8

AS511 Master • 17 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Bits of words in the DB => DBxDy.z or DBxDy:z (type: BIT)

x: DX number (1 to 255).
y: Number of the first word in the DB (0 to 255).
z: Rank of the first bit (0 to 15).
Example: DB94D10.7 or DB94D10:7

- Bits of words in the DB => DBxDy.z_n or DBxDy:z_n, DBxDy.z_n_l or


DBxDy:z_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: DB94D10.7_24 or DB94D10:7_24, DB2D3.7_24_8 or DB2D3:7_24_8

- Bits of words in the DX => DXxDy.z or DXxDy:z (type: BIT)

x: DX number (0 to 255).
y: Number of the first word in the DX (0 to 255).
z: Rank of the first bit (0 to 15).
Example: DX94D10.7 or DX94D10:7

- Bits of words in the DX => DXxDy.z_n or DXxDy:z _n, DXxDy.z_n_l or


DXxDy:z _n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: DX94D10.7_24 or DX94D10:7_24, DX2D3.7_24_8 or DX2D3:7_24_8

- Marker bytes => MBx (type: BYTE)

x: Number of the first marker (0 to 255).


Example: MB4

- Marker bytes => MBx_n, MBx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only).
Examples: MB4_10, MB4_10_5

- Input bytes => EBx (type: BYTE)

x: Number of the first input byte (0 to 127)


Example: EB4

AS511 Master • 18 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Input bytes => EBx_n, EBx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only)
Examples: EB4_10, EB4_10_5

- Output bytes => ABx (type: BYTE)

x: Number of the first output byte (0 to 127)


Example: AB4

- Output bytes => ABx_n, ABx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only)
Examples: AB4_10, AB4_10_5

- ASCII string in the marker bytes => M_MBx_n (type: BYTE)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: Number of the first marker byte containing the string (0 to 255).


n: Number of potential marker bytes that could contain the ASCII string (1 to 131).
Example: M_MB100_10

In the example the byte array MB100 to MB109 can contain the string.

- Words in the markers => MWx (type: 16 bit WORD)

x : Number of the first word (0 to 254).


Example: MW4

- Words in the markers => MWx_n, MWx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: MW4_10, MW4_10_5

- Input words => EWx (type: 16 bit WORD)

x: Number of the first word (0 to 126).


Example: EW4

AS511 Master • 19 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Input words => EWx_n, EWx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: EW4_10, EW4_10_5

- Output words => AWx (type: 16 bit WORD)

x: Number of the first word (0 to 126).


Example: AW4

- Output words => AWx_n, AWx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: AW4_10, AW4_10_5

- Words in the DB => DBxDWy (type: 16 bit WORD)

x: DB number (1 to 255).
y: Number of the first word in the DB (0 to 255).
Example: DB4DW8

- Words in the DB => DBxDWy_n, DBxDWy_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: DB4DW8_10, DB4DW8_10_5

- Words in the DX => DXxDWy (type: 16 bit WORD)

x: DX number (0 to 255).
y: Number of the first word in the DX (0 to 255).
Example: DX4DW8

- Words in the DX => DXxDWy_n, DXxDWy_n_l

n: Number of words.
l: Number of words per line (Matrix mode only)
Examples: DX4DW8_10, DX4DW8_10_5

- Right byte of a word in the DB => DBxDRy (type: BIT)

x: DB number (1 to 255).
y: Number of the word in the DB (0 to 255).
Example: DB4DR5

AS511 Master • 20 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Left byte of a word in the DB => DBxDLy (type: BIT)

For this syntax, the maximum numbers of variables per frame are:
- in read: 128*2
- in write: 1

x: DB number (1 to 255).
y: Number of the word in the DB (0 to 255).
Example: DB4DL5

- Right byte of a word in the DX => DXxDRy (type: BIT)

For this syntax, the maximum numbers of variables per frame are:
- in read: 128*2
- in write: 1

x: DX number (0 to 255).
y: Number of the word in the DX (0 to 255).
Example: DX4DR5

- Left byte of a word in the DX => DXxDLy (type: BIT)

For this syntax, the maximum numbers of variables per frame are:
- in read: 128*2
- in write: 1

x: DX number (0 to 255).
y: Number of the word in the DX (0 to 255).
Example: DX4DL5

- ASCII string in the DB words => M_DBxDWy_n (type: 16 bit WORD)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: DB number (1 to 255).
y: Number of the first word in the DB containing the string (0 to 255).
n: Number of potential words that could contain the ASCII string (1 to 65).
Example: M_DB4DW0_10

In the example the word array DB4DW0 to DB4DW9 can contain the string.

AS511 Master • 21 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- ASCII string in the DX words => M_DXxDWy_n (type: 16 bit WORD)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: DX number (0 to 255).
y: Number of the first word in the DX containing the string (0 to 255).
n: Number of potential words that could contain the ASCII string (1 to 65).
Example: M_DX4DW0_10

In the example the word array DX4DW0 to DX4DW9 can contain the string.

- Double words in the marker bytes => MDx (type: 32 bit WORD)

x: Number of the marker byte (0 to 255).


Example: MD4

- Double words in the marker bytes => MDx_n, MDx_n_l

n: Number of double words.


l: Number of double words per line (Matrix mode only).
Examples: MD4_10, MD4_10_5

- Floating words in the marker bytes => MDxKG (type: 32 bit IEEE
REAL)

x: Number of the floating word (0 to 252).


KG: Suffix used to convert a word into KG format of Siemens PLCs to IEEE format.
Example: MD48KG

- Double words in the DB => DBxDDy (type: 32 bit WORD)

x: DB number (1 to 255).
y: Number of the first word DW in the DB (0 to 254).
Example: DB4DD8

- Double words in the DB => DBxDDy_n, DBxDDy_n_l

n: Number of double words.


l: Number of double words per line (Matrix mode only).
Examples: DB4DD8_10, DB4DD8_10_5

AS511 Master • 22 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Double words in the DX => DXxDDy (type: 32 bit WORD)

x: DX number (0 to 255).
y: Number of the first word DW in the DX (0 to 254).
Example: DX4DD8

- Double words in the DX => DXxDDy_n, DXxDDy_n_l

n: Number of double words.


l: Number of double words per line (Matrix mode only).
Examples: DX4DD8_10, DX4DD8_10_5

- Floating words in the DB => DBxDDyKG (type: 32 bit IEEE REAL)

x: DB number (1 to 255).
y: Number of the first word DW in the DB (0 to 254).
KG: Suffix used to convert a word into KG format of Siemens PLCs to IEEE format.
Example: DB4DD8KG

- Floating words in the DX => DXxDDyKG (type: 32 bit IEEE REAL)

x: DX number (0 to 255).
y: Number of the first word DW in the DX (0 to 254).
KG: Suffix used to convert a word into KG format of Siemens PLCs to IEEE format.
Example: DX4DD8KG

- Timers => TBx (type: 16 bit WORD)

x: Number of the timer (0 to 255).


Example: TB4

- Timers => TBx_n, TBx_n_l

n: Number of timers.
l: Number of timers per line (Matrix mode only).
Examples : TB4_10, TB4_10_5

AS511 Master • 23 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
- Counters => ZBx (type: 16 bit WORD)

x: Number of the counter (0 to 255).


Example: ZB4

- Counters => ZBx_n, ZBx_n_l

n: Number of counters.
l: Number of counters per line (Matrix mode only).
Examples : ZB4_10, ZB4_10_5

AS511 Master • 24 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
- Siemens PLC descriptor, English (GB) syntax
The Siemens PLC descriptor can only be used when accessing Siemens PLC via the console
connector under AS511 protocol:

The Siemens Simatic S5 descriptor is the default descriptor determined by the OPC and DDE
server.

Caution:

When accessing words in the markers, input words and output words, these words are accessed in
a byte zone, word 1 being composed of bytes 1 and 2, word 2 of bytes 2 and 3, etc. The words therefore
overlap.

When accessing double words and floating words in the markets, these variables are accessed in a
byte zone, double word 1 being composed of bytes 1, 2, 3 and 4, double word 2 of bytes 2, 3, 4 and 5,
etc. The variables therefore overlap.

Unitary mode Table Mode, Matrix Mode


Marker bits Fx.y Fx.y_n, Fx.y_n_l
Input bits Ix.y Ix.y_n, Ix.y_n_l
Output bits Qx.y Qx.y_n, Qx.y_n_l
Bits of words in the DB DBxDy.z DBxDy.z_n, DBxDy.z_n_l
Bits of words in the DX DXxDy.z DXxDy.z_n, DXxDy.z_n_l
Marker bytes FYx FYx_n, FYx_n_l
Input bytes IBx IBx_n, IBx_n_l
Output bytes QYx QYx_n, QYx_n_l
ASCII string in the marker bytes M_FYx_n
Words in the markers FWx FWx_n, FWx_n_l
Input words IWx IWx_n, IWx_n_l
Output words QWx QWx_n, QWx_n_l
Words in the DB DBxDWy DBxDWy_n, DBxDWy_n_l
Words in the DX DXxDWy DXxDWy_n, DXxDWy_n_l
Right byte of a word in the DB DBxDRy
Left byte of a word in the DB DBxDLy
Right byte of a word in the DX DXxDRy
Left byte of a word in the DX DXxDLy
ASCII string in the DB words M_DBxDWy_n
ASCII string in the DX words M_DXxDWy_n
Double words in the marker bytes FDx FDx_n, FDx_n_l
Floating words in the marker bytes FDxKG
Double words in the DB DBxDDy DBxDDy_n, DBxDDy_n_l
Double words in the DX DXxDDy DXxDDy_n, DXxDDy_n_l
Floating words in the DB DBxDDyKG
Floating words in the DX DXxDDyKG
Timers TBx TBx_n, TBx_n_l
Counters ZBx ZBx_n, ZBx_n_l

AS511 Master • 25 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
Remark: Limit values for n and l parameters are depending on the protocol. However, in case of
PCDDE, limits cannot never be superior than 128 for bits and bytes, 64 for words, 32 for double words
and floating words.

For more information on the limits in read and write, see :


- Maximum number of variables per frame with PCDDE on page 3
- Maximum number of variables per frame with OPC server on page 4
For the variable addressing, refer to the chapter "Access to variables" on page 2

- Marker bits => Fx.y or Fx:y (type: BIT)

x: Marker number (0 to 255).


y: Rank of the first bit in the marker (0 to 7).
Example: F94.7 or F94:7

- Marker bits => Fx.y_n or Fx:y_n, Fx.y_n_l or Fx:y_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: F94.7_24 or F94:7_24, F94.7_24_8 or F94:7_24_8

- Input bits => Ix.y or Ix:y (type: BIT)

|<F 1>x: Number of the input byte (0 to 127).


y: Rank of the first bit in the input byte (0 to 7).
Example: I94.7 or I94:7

- Input bits => Ix.y_n or Ix:y_n, Ix.y_n_l or Ix:y_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: I94.7_24 or I94:7_24, I94.7_24_8 or I94:7_24_8

- Output bits => Qx.y or Qx:y (type: BIT)

x: Number of the output byte (0 to 127).


y: Rank of the first bit in the output byte (0 to 7).
Example: Q94.7 or Q94:7

- Output bits => Qx.y_n or Qx:y_n, Qx.y_n_l or Qx:y_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: Q94.7_24 or Q94:7_24, Q94.7_24_8 or Q94:7_24_8

AS511 Master • 26 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Bits of words in the DB => DBxDy.z or DBxDy:z (type: BIT)

x: DB number (1 to 255).
y: Number of the first word in the DB (0 to 255).
z: Rank of the first bit (0 to 15).
Example: DB94D10.7 or DB94D10:7

- Bits of words in the DB => DBxDy.z_n or DBxDy:z_n, DBxDy.z_n_l or


DBxDy:z_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: DB94D10.7_24 or DB94D10:7_24, DB2D3.7_24_8 or DB2D3:7_24_8

- Bits of words in the DX => DXxDy.z or DXxDy:z (type: BIT)

x: DX number (0 to 255).
y: Number of the first word in the DX (0 to 255).
z : Rank of the first bit (0 to 15).
Example: DX94D10.7 or DX94D10:7

- Bits of words in the DX => DXxDy.z_n or DXxDy:z_n, DXxDy.z_n_l or


DXxDy:z_n_l

n: Number of bits.
l: Number of bits per line (Matrix mode only).
Examples: DX94D10.7_24 or DX94D10:7_24, DX2D3.7_24_8 or DX2D3:7_24_8

- Marker bytes => FYx (type: BYTE)

x: Number of the first marker (0 to 255).


Example: FY4

- Marker bytes => FYx_n, FYx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only).
Examples: FY4_10, FY4_10_5

- Input bytes => IBx (type: BYTE)

x: Number of the first input byte (0 to 127).


Example: IB4

AS511 Master • 27 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Input bytes => IBx_n, IBx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only).
Examples: IB4_10, IB4_10_5

- Output bytes => QYx (type: BYTE)

x: Number of the first output byte (0 to 127).


Example: QY4

- Output bytes => QYx_n, QYx_n_l

n: Number of bytes.
l: Number of bytes per line (Matrix mode only).
Examples: QY4_10, QY4_10_5

- ASCII string in the marker bytes => M_FYx_n (type: BYTE)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: Number of the first marker byte containing the string (0 to 255).


n: Number of potential marker bytes that can contain the ASCII string (1 to 131).
Example: M_FY100_10

In the example the byte array MB100 to MB109 can contain the string.

- Words in the markers => FWx (type: 16 bit WORD)

x: Number of the first word (0 to 254).


Example: FW4

- Words in the markers => FWx_n, FWx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: FW4_10, FW4_10_5

- Input words => IWx (type: 16 bit WORD)

x: Number of the first word (0 to 126).


Example: IW4

AS511 Master • 28 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Input words => IWx_n, IWx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only)
Examples: IW4_10, IW4_10_5

- Output words => QWx (type: 16 bit WORD)

x: Number of the first word (0 to 126).


Example: QW4

- Output words => QWx_n, QWx_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: QW4_10, QW4_10_5

- Words in the DB => DBxDWy (type: 16 bit WORD)

x: DB number (1 to 255).
y: Number of the first word in the DB (0 to 255).
Example: DB4DW8

- Words in the DB => DBxDWy_n, DBxDWy_n_l

n: Number of words.
l: Number of words per line (2 to 64)
Examples: DB4DW8_10, DB4DW8_10_5

- Words in the DX => DXxDWy (type: 16 bit WORD)

x: DX number (0 to 255).
y: Number of the first word in the DX (0 to 255).
Example: DX4DW8

- Words in the DX => DXxDWy_n, DXxDWy_n_l

n: Number of words.
l: Number of words per line (Matrix mode only).
Examples: DX4DW8_10, DX4DW8_10_5

AS511 Master • 29 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Right byte of a word in the DB => DBxDRy (type: BIT)

For this syntax, the maximum numbers of variables per frame are:
- in read: 128*2
- in write: 1

x: DB number (1 to 255).
y: Number of the word in the DB (0 to 255).
Example: DB4DR5

- Left byte of a word in the DB => DBxDLy (type: BIT)

For this syntax, the maximum numbers of variables per frame are:
- in read: 128*2
- in write: 1

x: DB number (1 to 255).
y: Number of the word in the DB (0 to 255).
Example: DB4DL5

- Right byte of a word in the DX => DXxDRy (type: BIT)

For this syntax, the maximum numbers of variables per frame are:
- in read: 128*2
- in write: 1

x: DX number (0 to 255).
y: Number of the word in the DX (0 to 255).
Example: DX4DR5

- Left byte of a word in the DX => DXxDLy (type: BIT)

For this syntax, the maximum numbers of variables per frame are:
- in read: 128*2
- in write: 1

x: DX number (0 to 255).
y: Number of the word in the DX (0 to 255).
Example: DX4DL5

- ASCII string in the DB words => M_DBxDWy_n (type: 16 bit WORD)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: DB number (1 to 255).
y: Number of the first word in the DB containing the string (0 to 255).
n: Number of potential words that could contain the ASCII string (1 to 65).
Example: M_DB4DW0_10

In the example the word array DB4DW0 to DB4DW9 can contain the string.

AS511 Master • 30 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- ASCII string in the DX words => M_DXxDWy_n (type: 16 bit WORD)

For more information on the use of the ASCII string, you can consult the chapter "Use of message
mode".

x: DX number (0 to 255).
y: Number of the first word in the DX containing the string (0 to 255).
n: Number of potential words that could contain the ASCII string (1 to 65).
Example: M_DX4DW0_10

In the example the word array DX4DW0 to DX4DW9 can contain the string.

- Double words in the marker bytes => FDx (type: 32 bit WORD)

x: Number of the marker byte (0 to 255).


Example: FD4

- Double words in the marker bytes => FDx_n, FDx_n_l

n: Number of double words.


l: Number of double words per line (Matrix mode only).
Examples: FD4_10, FD4_10_5

- Floating words in the marker bytes => FDxKG (type: 32 bit IEEE
REAL)

x: Number of the floating word (0 to 252).


KG: Suffix used to convert a word in KG format of Siemens PLCs to IEEE format.
Example: FD48KG

- Double words in the DB => DBxDDy (type: 32 bit WORD)


x: DB number (1 to 255).
y: Number of the first word DW in the DB (0 to 254).
Example: DB4DD8

- Double words in the DB => DBxDDy_n, DBxDDy_n_l

n: Number of double words.


l: Number of double words per line (Matrix mode only).
Examples: DB4DD8_10, DB4DD8_10_5

- Double words in the DX => DXxDDy (type: 32 bit WORD)

x: DX number (0 to 255).
y: Number of the first word DW in the DX (0 to 254).
Example: DX4DD8

AS511 Master • 31 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- Double words in the DX => DXxDDy_n, DXxDDy_n_l

n: Number of double words.


l: Number of double words per line (Matrix mode only).
Examples: DX4DD8_10, DX4DD8_10_5

- Floating words in the DB => DBxDDyKG (type: 32 bit IEEE REAL)

x: DB number (1 to 255).
y: Number of the first word DW in the DB (0 to 254).
KG: Suffix used to convert a word in KG format of Siemens PLCs to IEEE format.
Example: DB4DD8KG

- Floating words in the DX => DXxDDyKG (type: 32 bit IEEE REAL)

x: DX number (0 to 255).
y: Number of the first word DW in the DX (0 to 254).
KG: Suffix used to convert a word in KG format of Siemens PLCs to IEEE format.
Example: DX4DD8KG

- Timers => TBx (type: 16 bit WORD)

x: Number of the timer (0 to 255).


Example: TB4

- Timers => TBx_n, TBx_n_l

n: Number of timers.
l: Number of timers per line (Matrix mode only).
Examples : TB4_10, TB4_10_5

- Counters => ZBx (type: 16 bit WORD)

x: Number of the counter (0 to 255).


Example: ZB4

- Counters => ZBx_n, ZBx_n_l

n: Number of counters.
l: Number of counters per line (Matrix mode only).
Examples : ZB4_10, ZB4_10_5

AS511 Master • 32 • - Image variable item


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

6. - Appendices

- List of complementary files for AS511 Master:

With an applicom® interface

AS511. AS511 Master Task

With a SW1000SER interface

AS511.DLL AS511 Master Task

- Evolution / compatibility

Solution with an applicom® interface :

EPROM of applicom® interfaces ≥ V3.5

From version V3.3:


Turnaround time of the remote device configurable.

AS511 Master • 33 • - Appendices


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

7. - Function return status

- Introduction
The various applicom® functions return a status word to:
- Guarantee the quality of the request.
- Diagnose the cause of a failure.
The meaning of the status word value is detailed in the following tables. In addition to the general
meaning, "Further information" allows you to direct your diagnosis according to the protocol used.

AS511 Master • 34 • - Function return status


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

- applicom® general statuses


-6 The TRANSCYC function (or TRANSCYCPACK) is used with a cyclic function number which has been
activated but is no longer.
-5 The user program attempts to make a deferred transfer TRANSDIF (or TRANSDIFPACK) although the current
deferred request is not finished.
-1 Deferred transfer request TRANSDIF (or TRANSDIFPACK) concerning a write which occurred correctly.
0 No anomaly detected. The function was carried out correctly.
1 Unknown function.
The function requested is not supported.
2 Incorrect address.
The address of the variable you are requesting is incorrect.
3 Incorrect data.
Further information :
Function: BINBCD, BCDBIN.
- At least one of the values accessed is not in BCD format (0 ≤ value ≤ 9999).
4 Data inaccessible.
32 Bad parameter passed into the function.
Number of variables incorrect.
35 Data not available in cyclic read.
An attempt has been made to transfer data using TRANSCYC (or TRANSCYCPACK) before reading it in the
equipment.
40 Deferred read or write attempt by a task when the maximum number of tasks which can use deferred mode
simultaneously has been reached.
Another task must free resources by performing an exitbus.
41 Deferred read or write attempt when the deferred request register is full.
Make deferred request transfers with TRANSDIF (or TRANSDIFPACK) to free the register (64 positions).
42 Deferred transfer request attempt with TRANSDIF (or TRANSDIFPACK) when it is empty (no deferred requests
in progress).
45 Dialogue software not resident.
Initialize the applicom® interface before using it by entering the applicom command (or PCINIT under
Windows ).
46 Card number not configured, or applicom® master/client Function directed at a channel configured in
slave/server or vice versa.
47 No applicom® interface.
51 System problem with drivers.
59 Protection key missing on the applicom® interface.
Using applicom® function without INITBUS function.
66 Insufficient applicom® interface memory.
97 Supported only by the SW1000SER solution.
Access to the applicom.dll library refused.
128 Supported only by the SW1000SER solution.
Opening of the serial port is impossible (port already used by another application,...).
255 Used by the MS-Windows "PCDDE" server. Initial value of the "STATUS_READ" and "STATUS_WRITE" items.
This value indicates that no transaction has been carried out between "PCDDE" and the applicom® interface.
Remarks:
Negative status are information codes.

AS511 Master • 35 • - Function return status


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead
- Statuses linked to the protocol
0 No anomaly detected. The function was carried out correctly.
1 Unknown function
The function requested is not supported.
2 Incorrect address.
The address of the variable you are requesting is incorrect.
3 Incorrect data.
Frame content incoherent.
Reduce the turnaround time of the device in the channel configuration.
4 Inaccessible data.
The PLC refuses the connection.
Switching to RUN or STOP modes impossible (with some PLC this error can happen even though the switching to
a mode to another mode is correct).
32 Bad parameter passed into the function.
Number of variables incorrect.
33 Time-Out fault.
Check the wiring and configuration of the channel and the slave.
34 Parity fault in reception.
36 Equipment not configured.
The PLC CPU is not recognized.
48 Supported only by the applicom® interface
The RS232 channel of the applicom® interface configured in "6 signals" cannot emit since it waited for the
Modem CTS signal for more than 3 seconds during an emission.
53 Synchronization problem on the line.
Increase the turnaround time of the device in the channel configuration.
56 NACK from the equipment.
The DB or DX does not exist.
65 Connection refused by the equipment.
Bad read of the system parameters.

Remarks:
Negative status are information codes.

AS511 Master • 36 • - Function return status


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

8. - Glossary of terms

applicom® interface
Communication card, ISA or PCI type, with the applicom® real time multi-task kernel.(PC1000,
PC2000, PC4000, PC1500PFB, ...)

BX4010
4 channels distribution box, with galvanic insulation.

BX4010R
4 channels rack distribution box, with galvanic insulation.

channel
Physical output of an applicom® card.

CTS
Clear To Send

DB
Siemens word to describe a Data bloc

DCD
Data Carrier Detect

DTR
Data Terminal Ready

half-duplex
emission and reception in the same time.

item
Defines an element or a unitary article

marker
Always present internal memory

OPC
Ole for Process Control.

PCDDE
applicom® DDE server.

PROM, EPROM, EEPROM


Read only memory on applicom® interfaces which contains programs

RTS
Request To Send

RxD
Recept signal

TxD
Transmit signal.

AS511 Master • 37 • - Glossary of terms


electrical & safety · industrial connectivty · software & electronics · advanced connectivity

Woodhead

9. - Index

Addressing, 2
Configuration
interface module, 6
CPU validation, 1
EPROM, 45
Error, 46
functions usable
cyclic mode, 11
deferred mode, 9
wait mode, 9
Item
Siemens PLC descriptor German (D) and French syntax, 19
Siemens PLC descriptor, English (GB) syntax, 32
standard descriptor, 13
Item descriptor
Siemens PLC descriptor German (D) and French syntax, 19
Siemens PLC descriptor, English (GB) syntax, 32
standard descriptor, 13
Limits
library, 4
OPC, 5
PCDDE, 4
Maximum number of variables per frame
library, 4
OPC, 5
PCDDE, 4
Principle, 1
Siemens PLC, 1
Status, 46
Supported variables, 2

AS511 Master • 38 • - Index

You might also like