1203-GK5 & 1336-GM5 w/1747-SDN DeviceNet Scanner (SLC-500)

BULLETIN 1203-GK5 & 1336-GM5
1747-SDN DEVICENET SCANNER (SLC-500)
EXPLICIT MESSAGING
APPLICATION NOTE #
OCTOBER 16, 1997
PURPOSE
The purpose of this document is to provide guidelines for wiring and control schemes for SCANport
devices including Bulletin 1305 and 1336 PLUS AC Drives. This document is a suggestion only. Users
must ensure that installations meet applicable codes and are suitable for the existing conditions.
WHAT THIS NOTE CONTAINS
This document contains information and examples of a SLC-5/03 ladder program to perform DeviceNet
explicit messaging using the 1747-SDN and 1203-GK5 or 1336-GM5. Explicit messaging allows the SLC
to read and write parameters and other data in a SCANport product via the DeviceNet adapter.
INTENDED AUDIENCE
This application note should be used by personnel familiar with the hardware components and
programming procedures necessary to operate DeviceNet and SCANport devices. It is also assumed that
the user has some familiarity with the SLC-5/03, 1747-SDN scanner and ladder programming.
WHERE IT IS USED
The diagrams, parameter settings and auxiliary hardware used in this application note are designed to
address specific issues in many different applications. Some changes by the user may be necessary to
apply the concepts of this document to a specific application.
TERMS AND DEFINITIONS
Datalink - a pointer used by some SCANport devices to allow parameters to be mapped to adapter I/O.
EEPROM - the memory that stores drive parameters when power is not applied.
Explicit Messaging - a DeviceNet messaging standard.
M0-file - Module Output file - a file located in an SLC specialty I/O module providing additional I/O
capabilities beyond the 32 words per slot of discrete I/O.
M1-file - Module Input file - a file located in an SLC specialty I/O module providing additional I/O
capabilities beyond the 32 words per slot of discrete I/O.
Parameter Read - a method of reading a single parameter.
Parameter Write - a method of writing a single parameter.
Scattered Read - a method of reading multiple parameters or links in any order.
Scattered Write - a method of writing multiple parameters or links in any order.
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 1 of 14
DESCRIPTION
These examples use a SLC-5/03, a 1747-SDN DeviceNet scanner and a 1203-GK5 to read and write
parameter values in a SCANport device. For clarity, only one transaction is active at any time in these
examples. The 1747-SDN DeviceNet scanner must be equipped with V3.001 or later firmware.
APPLICATION CONSIDERATIONS
These example ladder programs were written to be simple and clear examples of DeviceNet messaging.
They contain no error handling. Consult the SLC-5/03, 1747-SDN and 1203-GK5 manuals for more
information.
Explicit messages will complete faster if the 1747-SDN scanner is first placed in the idle mode. This may
be worthwhile if the application requires reading or writing a large number of parameters in the SCANport
device (e.g., configuring a system to manufacture a different product).
Using explicit messaging to make frequent changes to a parameter will eventually result in the failure of
the SCANport device’s EEPROM if so equipped (for example, the EEPROM in a 1336 PLUS drive is rated
for 10,000 writes). If an application requires frequent changes of only a few parameters, the parameters
should be written using the adapter’s Datalink function since this does not cause EEPROM writes to
occur.
SUPPORTED DEVICENET OBJECTS
The 1203-GK5 and 1336-GM5 DeviceNet to SCANport bridges with FRN1.6 or later firmware can read a
parameter from any SCANport product with a single DeviceNet message. The message uses the
standard DeviceNet Parameter Object which has a class code of 15 (0Fh).
In addition to the DeviceNet Parameter Object, the 1203-GK5 and 1336-GM5 also support a number of
DeviceNet Product Specific Objects. This application note will describe how to use these objects to read
and write multiple numbers of parameters and links in a SCANport product.
Service
0Eh
0Eh
Class
0Fh
0Fh
Instance
0
Parm #
Attribute
Attrib #
Attrib #
Data
Description
Read Attribute specified for the Parameter Object
Read Attribute specified for the Parameter specified
10h
0Fh
Parm #
1
Value
Write a value to Parameter specified
01h
0Fh
Parm #
0
4Bh
0Fh
Parm #
32h
34h
32h
34h
93h
93h
99h
99h
0
0
0
0
Value /
Bit #
0
0
0
0
Read all Attributes for Parameter specified
*
*
*
*
Read Enum String for specified value or bit number of
specified Parameter
Read Scattered Parameter Values (GK5 V1.08 up)
Write Scattered Parameter Values (GK5 V1.09 up)
Read Scattered Parameter Links (GK5 V1.09 up)
Write Scattered Parameter Links (GK5 V1.09 up)
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 2 of 14
PARAMETER OBJECT CLASS ATTRIBUTES
The Parameter Object has several pieces of information available. Each of these pieces of information is
called an “attribute”. Each attribute can be read individually (with the 0Eh service code).
Attribute Number
Description
Data Length
in Bytes
2 (02h)
The highest parameter number in this device.
2
8 (08h)
Descriptor
2
9 (09h)
Configuration Assembly Instance (always returns 0 -- not used)
2
Language ID
1
10 (0Ah)
The definition of the bits in the Parameter Object Descriptor word are shown below.
Descriptor Bit
Description (when set)
0
Device contains parameters
1
Supports full parameter attributes
2
Must do non-volatile storage save command
3
Parameters are stored in non-volatile storage
4-15
Reserved
The Parameter Object Configuration Assembly Instance is not supported and returns a value of zero.
The Parameter Object Language ID values are as shown below.
Language ID
Description
0
English
1
French
2
Spanish (Mexican)
3
Italian
4
German
5
Japanese
6
Portugese
7
Mandarin Chinese
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 3 of 14
PARAMETER OBJECT INSTANCE ATTRIBUTES
Each parameter has a number of attributes. Each attribute can be read individually (with the 0Eh service
code) or all at once (with the 01h service code).
Attribute Number
Description
Data Length
in Bytes
1 (01h)
Parameter Value
2
2 (02h)
Link Path Size
1
3 (03h)
Link Path
0
4 (04h)
Descriptor -- see table
2
5 (05h)
Data Type -- see table
1
6 (06h)
Data Size -- number of bytes in Parameter Value
1
7 (07h)
Parameter Name String (length byte plus 16 characters)
17
8 (08h)
Units String (length byte plus 4 characters)
5
9 (09h)
Help String (length byte plus 0 characters)
1
10 (0Ah)
Minimum Value
2
11 (0Bh)
Maximum Value
2
12 (0Ch)
Default Value
2
13 (0Dh)
Scaling Multiplier -- see scaling formula
2
14 (0Eh)
Scaling Divisor -- see scaling formula
2
15 (0Fh)
Scaling Base -- see scaling formula
2
16 (10h)
Scaling Offset -- see scaling formula
2
17 (11h)
Multiplier Link -- parameter containing multiplier value
2
18 (12h)
Divisor Link -- parameter containing divisor value
2
19 (13h)
Base Link -- parameter containing base value
2
20 (14h)
Offset Link -- parameter containing offset value
2
21 (15h)
Decimal Precision -- see scaling formula
1
The definition of the bits in the Parameter Descriptor word are shown below.
Descriptor Bit
Description (when set)
0
Link path can be set
1
ENUM
2
Supports scaling
3
Supports scaling links
4
Read only
5
Updated in real time by device
6
Supports extended precision scaling
7-15
Reserved
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 4 of 14
The Data Type attribute for each parameter is defined below.
Data Type
Value
Description
1
16-bit word
2
16-bit unsigned integer
3
16-bit signed integer
4
Boolean
5
Short integer
6
Double integer
7
Long integer
8
Unsigned short integer
9
Unsigned double integer
10
Unsigned long integer
11
Single floating point (IEEE 754)
12
Double floating point (IEEE 754)
13
Duration (short)
14
Duration
15
Duration (high-resolution)
16
Duration (long)
17
Date
18
Time of day
19
Date and Time
20
String (8-bit characters)
21
String (16-bit characters)
22
String
23
Short String
24
Byte (8-bits)
25
Double word (32-bits)
26
Long word (64-bits)
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 5 of 14
There are four scaling formulae -- two for use with extended precision scaling and two for normal scaling.
The decimal precision variable is always used to locate the decimal point for a display by counting from
the rightmost digit. In extended precision scaling the decimal precision variable is also used in the scaling
formula.
(Internal Value + Offset) * Multiplier * Base)
Engineering Value = ---------------------------------------------------------Decimal Precision
Divisor * 10
Decimal Precision
Engineering Value * Divisor * 10
Internal Value = ---------------------------------------------------------Multiplier * Base
-
Offset
(Internal Value + Offset) * Multiplier * Base)
Engineering Value = ---------------------------------------------------------Divisor
Internal Value =
Engineering Value * Divisor
-----------------------------------Multiplier * Base
-
Offset
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 6 of 14
HOW TO FORMAT THE EXPLICIT MESSAGE TRANSACTION BLOCK
Ten 32-word transaction blocks within the scanner module are reserved for Explicit Message Program
Control. The transaction blocks accommodate both the download of Explicit Message Requests and the
upload of Explicit Message Responses.
The scanner module can accommodate one request or response for each transaction block and can
transfer two blocks for each upload and download. You must format each transaction block as shown:
Format of 31-word M0-file Write
for Explicit Message Request
15
Transaction #1
Header
(3 words)
Transaction
Data
(up to 29)
( words )
Format of 31-word M1-file Read
for Explicit Message Response
0
TXID
PORT
SERVICE
15
COMMAND
SIZE
MAC ID
CLASS
INSTANCE
ATTRIBUTE
SERVICE DATA
"
0
TXID
STATUS
PORT
SIZE
SERVICE
MAC ID
SERVICE RESPONSE DATA
"
"
"
"
word 0
word 31
Transaction Blocks are divided into two parts:
•
transaction header - contains information that identifies the transaction to the scanner and processor
•
transaction body - in a request, this contains the DeviceNet Class, Instance, Attribute and Service
Data portion of the transaction. In a response, this contains only the response message.
Each of the data attributes in the transaction header are one byte in length:
•
COMMAND - for each download, a command code instructs the scanner how to administer the
request:
Command Code
Description
0
Ignore transaction block (block empty)
1
Execute this transaction block
2
Get status of transaction TXID
3
Reset all client/server transactions
4
Delete this transaction block
5-255
Reserved
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 7 of 14
•
STATUS - for each upload, the status code provides the processor with status on the device and its
response:
Status Code
Description
0
Ignore transaction block (block empty)
1
Transaction completed successfully
2
Transaction in progress (not ready)
3
Error - slave not in scan list
4
Error - slave off-line
5
Error - DeviceNet port disabled or off-line
6
Error - transaction TXID unknown
7
Unused
8
Error - Invalid command code
9
Error - Scanner out of buffers
10
Error - Other client/server transaction in progress
11
Error - could not connect to slave device
12
Error - response data too large for block
13
Error - invalid port
14
Error - invalid size specified
15
Error - connection busy
16-255
Reserved
•
TXID
Transaction ID - when you create and download a request to the scanner, the processor's
ladder logic program assigns a TXID to the transaction. This is a one-byte integer in word 31 the
range of 1 to 255. The scanner uses this value to track the transaction to completion, and returns the
value with the response that matches the request downloaded by the processor. The ladder logic
program monitors rollover and usage of TXID values.
•
SIZE
The size of the transaction body in bytes. The transaction body can be up to 29 words
(58 bytes) in length. If the size exceeds 29 words, an error code will be returned.
•
PORT
The DeviceNet port where the transaction is routed. The port can be zero (Channel A) or
one (Channel B).
•
MAC ID
The DeviceNet network address of the slave device where the transaction is sent. This
value can range from 0 to 63. The port and MAC ID attributes coupled together identify the target
slave device. The slave device must be listed in the scanner module's scan list and be on-line for the
Explicit Message transaction to be completed.
•
SERVICE The service attribute contains the service request and response codes that match the
corresponding request for the TXID.
HOW THE PROCESSOR AND SCANNER MODULE MANAGE MESSAGES
The SLC copies an Explicit Message into the scanner’s M0-file. When the copy is completed the scanner
moves the message into a queue for processing. Up to 10 Explicit Messages can be in this queue.
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 8 of 14
When the scanner receives a response message it is placed into a queue. The first response in the
queue is available from the M1-file. When the message delete command is copied into the scanner the
message is complete and the next available response will appear in the M1-file.
EXPLICIT MESSAGING EXAMPLE LADDER PROGRAM
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 9 of 14
BLOCK TRANSFER DATA TABLES
Figures 1 through 16 show the data table values required to send DeviceNet messages to a 1336 PLUS
and the response from the 1336 PLUS. The messages to the 1336 PLUS start at N21:0 and the response
messages start at N21:70. All values are shown in hexadecimal unless identified otherwise.
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
2
0004
0101
0000
0000
0000
0101
0000
0000
0000
3
0000
0006
0000
0000
0000
0002
0000
0000
0000
4
0000
0E01
0000
0000
0000
8E01
0000
0000
5
0000
000F
0000
0000
0000
00DB
0000
0000
6
0000
0000
0000
0000
0000
0000
0000
0000
7
0000
0002
0000
0000
0000
0000
0000
0000
8
0000
0000
0000
0000
0000
0000
0000
0000
9
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Figure 1 -- Read Maximum Instance Number
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
2
0004
0101
0000
0000
0000
0101
0000
0000
0000
3
0000
0006
0000
0000
0000
0002
0000
0000
0000
4
0000
0E01
0000
0000
0000
8E01
0000
0000
5
0000
000F
0000
0000
0000
000F
0000
0000
6
0000
0000
0000
0000
0000
0000
0000
0000
7
0000
0008
0000
0000
0000
0000
0000
0000
8
0000
0000
0000
0000
0000
0000
0000
0000
9
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Figure 2 -- Read Parameter Class Descriptor
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
0004
0101
0000
0000
0000
0101
0000
0000
0000
2
0000
0006
0000
0000
0000
0002
0000
0000
0000
3
0000
0E01
0000
0000
0000
8E01
0000
0000
4
0000
000F
0000
0000
0000
0000
0000
0000
5
0000
0000
0000
0000
0000
0000
0000
0000
6
0000
0009
0000
0000
0000
0000
0000
0000
7
0000
0000
0000
0000
0000
0000
0000
0000
8
0000
0000
0000
0000
0000
0000
0000
0000
9
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Figure 3 -- Read Configuration Assembly Instance
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 10 of 14
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
2
0004
0101
0000
0000
0000
0101
0000
0000
0000
3
0000
0006
0000
0000
0000
0001
0000
0000
0000
4
0000
0E01
0000
0000
0000
8E01
0000
0000
5
0000
000F
0000
0000
0000
0000
0000
0000
6
0000
0000
0000
0000
0000
0000
0000
0000
7
0000
000A
0000
0000
0000
0000
0000
0000
8
0000
0000
0000
0000
0000
0000
0000
0000
9
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Figure 4 -- Read Language ID
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
2
0004
0101
0000
0000
0000
0101
0000
0000
0000
3
0000
0006
0000
0000
0000
0002
0000
0000
0000
4
0000
0E01
0000
0000
0000
8E01
0000
0000
5
0000
000F
0000
0000
0000
0006
0000
0000
6
0000
0005
0000
0000
0000
0000
0000
0000
7
0000
0001
0000
0000
0000
0000
0000
0000
8
0000
0000
0000
0000
0000
0000
0000
0000
9
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Figure 5 -- Read Value of Parameter 5
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
0004
0101
0000
0000
0000
0101
2020
0000
0000
2
0000
0006
0000
0000
0000
0011
0020
0000
0000
3
0000
0E01
0000
0000
0000
8E01
0000
0000
4
0000
000F
0000
0000
0000
4610
0000
0000
5
0000
0005
0000
0000
0000
6572
0000
0000
6
0000
0007
0000
0000
0000
2071
0000
0000
7
0000
0000
0000
0000
0000
6553
0000
0000
8
0000
0000
0000
0000
0000
656C
0000
0000
9
0000
0000
0000
0000
0000
7463
0000
0000
0000
0000
0000
0000
0000
3120
0000
0000
8
\00\00
\00\00
\00\00
\00\00
\00\00
t c
\00\00
\00\00
9
\00\00
\00\00
\00\00
\00\00
\00\00
1
\00\00
\00\00
Figure 6 -- Read Parameter Name String from Parameter 5
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
\00\04
\01\01
\00\00
\00\00
\00\00
\01\01
1
\00\00
\00\06
\00\00
\00\00
\00\00
\00\11
\00
\00\00 \00\00
\00\00 \00\00
2
\00\00
\0E\01
\00\00
\00\00
\00\00
Ä \01
\00\00
\00\00
3
\00\00
\00\0F
\00\00
\00\00
\00\00
F \10
\00\00
\00\00
4
\00\00
\00\05
\00\00
\00\00
\00\00
e r
\00\00
\00\00
5
\00\00
\00\07
\00\00
\00\00
\00\00
q
\00\00
\00\00
6
\00\00
\00\00
\00\00
\00\00
\00\00
e S
\00\00
\00\00
7
\00\00
\00\00
\00\00
\00\00
\00\00
e l
\00\00
\00\00
Figure 7 -- Read Parameter Name String from Parameter 5 (ASCII Display)
(ASCII strings appear byte-swapped when displayed with PLC programming software)
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 11 of 14
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
0004
0101
0000
0000
0000
0101
0000
0000
0000
1
0000
0008
0000
0000
0000
0000
0000
0000
0000
2
0000
1001
0000
0000
0000
9001
0000
0000
3
0000
000F
0000
0000
0000
0000
0000
0000
4
0000
0005
0000
0000
0000
0000
0000
0000
5
0000
0001
0000
0000
0000
0000
0000
0000
6
0000
0007
0000
0000
0000
0000
0000
0000
7
0000
0000
0000
0000
0000
0000
0000
0000
8
0000
0000
0000
0000
0000
0000
0000
0000
9
0000
0000
0000
0000
0000
0000
0000
0000
Figure 8 -- Write a value of 7 to parameter 5
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
0004
0101
0000
0000
0000
0101
6C65
0000
0000
2
0000
0006
0000
0000
0000
002E
6365
0000
0000
3
0000
0101
0000
0000
0000
8101
2074
0000
4
0000
000F
0000
0000
0000
0007
0031
0000
5
0000
0005
0000
0000
0000
0200
0100
0000
6
0000
0000
0000
0000
0000
0200
1200
0000
7
0000
0000
0000
0000
0000
0D02
0600
0000
8
9
0000
0000
0000
0000
0000
7246
0100
0000
0000
0000
0000
0000
0000
7165
0100
0000
0000
0000
0000
0000
0000
5320
0100
0000
7
\00\00
\00\00
\00\00
\00\00
\00\00
r F
\01\00
\00\00
8
\00\00
\00\00
\00\00
\00\00
\00\00
q e
\01\00
\00\00
9
\00\00
\00\00
\00\00
\00\00
\00\00
S
\01\00
\00\00
Figure 9 -- Read Full from parameter 5
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
\00\04
\01\01
\00\00
\00\00
\00\00
\01\01
l e
\00\00
\00\00
1
\00\00
\00\06
\00\00
\00\00
\00\00
\00 .
c e
\00\00
\00\00
2
\00\00
\01\01
\00\00
\00\00
\00\00
ü \01
t
\00\00
3
\00\00
\00\0F
\00\00
\00\00
\00\00
\00\07
\00 1
\00\00
4
\00\00
\00\05
\00\00
\00\00
\00\00
\02\00
\01\00
\00\00
5
\00\00
\00\00
\00\00
\00\00
\00\00
\02\00
\12\00
\00\00
6
\00\00
\00\00
\00\00
\00\00
\00\00
\0D\02
\06\00
\00\00
Figure 10 -- Read Full from parameter 5 (ASCII Display)
(ASCII strings appear byte-swapped when displayed with PLC programming software)
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
0004
0101
0000
0000
0000
0101
0000
0000
0000
1
0000
0006
0000
0000
0000
000A
0000
0000
0000
2
0000
4B01
0000
0000
0000
CB01
0000
0000
3
0000
000F
0000
0000
0000
4109
0000
0000
4
0000
0005
0000
0000
0000
6164
0000
0000
5
0000
0006
0000
0000
0000
7470
0000
0000
6
0000
0000
0000
0000
0000
7265
0000
0000
7
0000
0000
0000
0000
0000
3120
0000
0000
8
0000
0000
0000
0000
0000
0000
0000
0000
9
0000
0000
0000
0000
0000
0000
0000
0000
Figure 11 -- Read ENUM for a value of 6 in parameter 5
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 12 of 14
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
\00\04
\01\01
\00\00
\00\00
\00\00
\01\01
\00\00
\00\00
\00\00
1
\00\00
\00\06
\00\00
\00\00
\00\00
\00\0A
\00\00
\00\00
\00\00
2
\00\00
K \01
\00\00
\00\00
\00\00
\CB\01
\00\00
\00\00
3
\00\00
\00\0F
\00\00
\00\00
\00\00
A \09
\00\00
\00\00
4
\00\00
\00\05
\00\00
\00\00
\00\00
a d
\00\00
\00\00
5
\00\00
\00\06
\00\00
\00\00
\00\00
t p
\00\00
\00\00
6
\00\00
\00\00
\00\00
\00\00
\00\00
r e
\00\00
\00\00
7
\00\00
\00\00
\00\00
\00\00
\00\00
1
\00\00
\00\00
8
\00\00
\00\00
\00\00
\00\00
\00\00
\00\00
\00\00
\00\00
9
\00\00
\00\00
\00\00
\00\00
\00\00
\00\00
\00\00
\00\00
Figure 12 -- Read ENUM for a value of 6 in parameter 5 (ASCII Display)
(ASCII strings appear byte-swapped when displayed with PLC programming software)
Figure 13 shows the data table values required to read a scattered list of parameters from the SMP-3.
This example will read eight parameters.
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
4
257
2
5
0
257
4
0
0
2
0
0
38 12801
0
7
0
0
0
0
32 -19967
3
0
0
0
0
3
4
0
147
0
0
0
1
6
0
5
0
0
3
0
0
0
4
0
6
0
0
0
0
0
8
4
0
7
0
1
6
0
0
3597
0
0
8
0
0
0
0
0
2
5
0
9
0
8
4
0
0
100
100
0
0
0
0
0
0
7
0
0
Figure 13 -- Scattered Read Data Table Example
Figure 14 shows the data table values required to write a scattered list of parameters to the SMP-3. This
example attempts to write eight parameters but only succeeds with parameter 7 (the other parameters are
read-only).
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
1
2
3
4
0
0
0
257
38 13313
147
2
0
7
0
5
0
0
0
0
0
0
0
257
32 -19455 -32767
0 -32765
1 -32762
0
0
0
0
0
0
4
5
0
0
0
0
3
0
0
0
0
0
1 -32760
1 -32764
0
0
6
7
0
0
1
0
6
0
0
0
0
0
1 -32766
1 -32763
0
0
8
9
0
8
4
0
0
1
1
0
Figure 14 -- Scattered Write Data Table Example
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 13 of 14
0
0
0
0
0
7
0
0
Figure 15 shows the data table values required to read a scattered list of parameter links from a 1336
FORCE drive with a Standard Adapter board. This example will read seven parameter links.
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
4
257
370
0
0
257
182
0
0
1
2
0
0
34 12801
0
373
0
0
0
0
28 -19967
376
0
0
0
0
3
4
5
6
7
8
9
0
153
0
0
0
28
101
0
0
0
376
0
0
355
365
0
0
0
0
0
0
104
379
0
0
28
101
0
0
358
146
0
0
0
0
0
0
370
0
0
0
104
379
0
0
146
0
0
0
0
0
0
0
373
0
0
Figure 15 -- Scattered Link Read Data Table Example
Figure 16 shows the data table values required to write a scattered list of parameter links to a 1336
FORCE drive with a Standard Adapter board. This example will write seven parameter links.
Address
N21:0
N21:10
N21:20
N21:30
N21:40
N21:50
N21:60
N21:70
N21:80
0
4
257
370
0
0
257
0
0
0
1
2
0
0
34 13313
146
373
0
0
0
0
28 -19455
376
0
0
0
0
3
4
5
6
7
8
9
0
153
182
0
0
28
101
0
0
0
376
0
0
0
0
0
0
0
0
0
0
104
379
0
0
28
101
0
0
0
0
0
0
355
365
0
0
370
0
0
0
104
379
0
0
0
0
0
0
358
146
0
0
373
0
0
Figure 16 -- Scattered Link Write Data Table Example
Faxback Document # 3040 Revision Date 10/17/97 Web location Http://WWW.AB.COM
Page 14 of 14