Anybus-s reference – FEC AFC1500 User Manual
Page 50

ANYBUS-S Reference
AnyBus S Initialization
FEC incorporates the ANYBUS module as the interface to various fieldbus
communication devices. (manufactured by HMS, www.hms.se) It is intialized
by the AFC 1500 Multi Unit which sets certain parameters including the size
of the Input / Output tables to be used for the particular fieldbus. All
fieldbus’s except for the Allen Bradley Remote I/O use the “-S” type of
AnyBus Card. This provides interchangeability between the cards while
minimizing software changes. This also allows FEC to set parameters to all
the different types of fieldbus cards with the same parameter set-up software.
The AFC User Console has the function included to set the parameters, mainly
Input / Output size, to the Anybus card. Below is an example of the
command structure. The “Message Data” area near the bottom is where the
I/O size is set.
NOTE: FEC sets this at the Factory, and does not recommend setting this
by the end user. This information is provided for reference only.
Command Layout
Register Name
Command
Message ID
000A
Message Info
4001
Command
0002
Data size
0012
Frame Count
0001
Frame Number
0001
Offset High
0000
Offset Low
0000
Extended word 1
-
Extended word 2
-
Extended word 3
-
Extended word 4
-
Extended word 5
-
Extended word 6
-
Extended word 7
-
Extended word 8
-
Example
Message Data word 1
IN I/O Length
0010 (16 bytes 128 inputs)
Message Data word 2
IN DRAM Length
0010 (FEC outputs)
Message Data word 3
IN Total Length
0010
Message Data word 4
OUT I/O Length
0008 (8 bytes 64 outputs)
Message Data word 5
OUT DRAM Length
0008 (FEC Inputs)
Message Data word 6
OUT Total Length
0008
Message Data word 7
Module Status
0002
Message Data word 8
Interrupt Notification
0003
Message Data word 9
Watchdog Counter
0000
In the AFC User console Multi-fieldbus setup, the (S Type) setup menu is
used to input/download this data. Other commands are required to transfer
this data, but the command “000A” is the command which sets the I/O size.
Chapter 3: Control Interfaces
50