ARLACON MC300
MC300MAE
Control system
User's manual
27
Product code 1003418
Command
Set McWay configuration.
Syntax
WAYMOD$(
n1
,
n2
)=
string
n1
Number of McWay loop (0 for MC300).
n2
Number of McWay module in the loop (0 ... )
string
Type of module and settings
The number of McWay module
n2
refers to the order number of the module starting from the
module connected to MC300 McWay out (module number 0) in the order they are connected
in the McWay communications loop.
To determine the right settings for each I/O module type please refer to the ARLACON McWay
Distributed I/O System User’s Manual.
MC300 has a McWay I/O loop with 504 bits in and 504 bits out. The number of bits used by
different modules depends on the module type.
The module types available in MC300 are:
type
function
bits
bits
out in
EMPTY
empty module number
0
0
END
end of McWay loop
0
0
WOU
16 relay output module (WOU02000)
16
0
WOA
6 isolated analog outputs (WOA02004)
96
0
WIN
24 inputs isolated input module (WIN02001)
0
24
WIA2
2 isolated analog inputs (WIA02313 set for 2 inputs)
0
32
WIA4
4 isolated analog inputs (WIA02313 set for 4 inputs)
0
64
WIA6
6 isolated analog inputs (WIA02313 set for 6 inputs)
0
96
WIA
same as WIA6
0
96
WAX
Servo axis connection module with i/o, incremental encoder
32
32
WAX2
Servo axis connection module with i/o, incremental encoder
32
32
WAX2A
Servo axis connection module with i/o, SSI absolute encoder
40
40
By configuring the McWay you set the sequence of modules in the McWay loop forming the i/o
system. At the same time you set the logical addresses for the i/o connections available on the
modules.
To use all loop capacity it is necessary to place modules using only output bits before modules
using only input bits in the loop. The reason for this is that McWay modules can use the same
bit positions in data frame for transferring input data to MC300 after they have transferred
output data to output modules.
Analog and digital output modules use only output bits and input modules only input bits. The
axis connection modules use the same number of input and output bits, but it is most efficient
to put them first in the the loop as a different number of input and output bits before them
consumes unused bits.
The logical axes with letter references in MC300 are X,Y,Z,W,A,B,C,D,T and U. Axes can also
be referenced by their numbers 0..15. The first ten axes have both letter names and numbers
whereas axes 10..15 can only be referenced by their numbers (see table below). For
information about command syntaxes see McBasic documentation.