3170-PDP
♦
FLEX Platform
Configure the Adapter for Master/Slave Communication
FLEX I/O™ PROFIBUS Adapter
Page 56 of 152
ProSoft Technology, Inc.
August 23, 2007
User Parameter Example
Octet 10 to 11:
0281h
1794-IB16 16-point discrete input module
Octet 12 to 13:
0191h
1794-OB16 16-point discrete output module
Octet 14 to 15:
1920h
1794-IE8 8-point analog input module
Octet 16 to 17:
1121h
1794-OE4 4-point analog output module
Octet 18 to 19:
0FFFFh
Empty
Octet 20 to 21:
0FFFFh
Empty
Octet 22 to 23:
0FFFFh
Empty
Octet 24 to 25:
0FFFFh
Empty
Octet 26 to 244
00h
Not used
Refer to the configuration example to understand how and where to enter this
data.
Full Format
The full format consists of the flags byte and four parameters for each of the
eight slots. The module key parameter is the same for the full format as defined
by the condensed format, but adds three more parameters for each slot.
Use the full format to:
provide Safe State values for output points
send FLEX I/O module configurations once (when you send parameters)
instead of every poll
configure data sizes to reduce the size of data required during run mode You
must configure all eight slots.
Data format for Full Format
Name Size
Description
Module Key
WORD
Module ID that must be installed1
Module Data Sizes2
BYTE
Bits 0 to 3 Safe State Size (in words)
Bits 4 to 7 Config Size (in words)
Safe State Data
ARRAY
Output Safe States. Word array of size Safe State Size.
Module Configuration
Data
ARRAY
Flex Module Configuration. Word array of size Config Size.
1 Only bits 0 to 12 are used. Bits 13 to 15 must be zero except when keying an
empty slot where 0FFFFh is used.
2 Each of the two sizes can range from 0 to 15 words but when combined cannot
exceed 15 words total.
There are some possible configurations of FLEX I/O modules that would exceed
the user parameter area of 237 bytes. Be aware of the totals of the words and
modules you are using.
User Parameter Example
User Parameter Message, Full Format
Name Value
Description
Octet 8:
00h
Reserved