Rockwell Automation 57C329 Remote I/O Communications, AutoMax User Manual
Page 75

4Ć13
4.7.2.1
Configuration Task Example
The following is an example of a configuration task for the Remote
I/O network in figure 4.4. The two variables, DO_CFG% and
DO2_CFG_RDY@, are used to configure drop 2. It is not necessary
to configure drop 4 since it is an all digital rack as specified by the
setting of the Shark Interface module's rotary switch to the C"
position.
Note that a configuration task is required only if you are using
AutoMax Version 2.1 or earlier. If you are using Version 3.1 you must
upgrade to at least AutoMax Version 3.2 if you are using Shark drops.
If you are using AutoMax Version 3.2 or later, you use the AutoMax
Programming Executive Software to assign symbolic names to the
same physical I/O points.
10
! Shark RIO example
20
!
30
!
100
TASKEX[TYPE=BASIC, PRIORITY=7, SLOT=0, CRITICAL=FALSE]
110
TASKEXPC[TYPE=PC, PRIORITY=8, SLOT=0, CRITICAL=FALSE]
120
!
1100
!ąăremote I/O network protection
1200
!
1300
IODEF
RIO_D02@[SLOT=8,REGISTER=4,BIT=2]
1400
IODEF
RIO_D04@[SLOT=8,REGISTER=4,BIT=4]
1500
!
1600
!ąăShark drop 2 (mixed rack)
1700
!
1800
RIODEF
D02_CFG%[MASTER_SLOT=8,DROP=2,SLOT=0,REGISTER=0]
1900
RIODEF
D02_CFG_RDY@[MASTER_SLOT=8,DROP=2,SLOT=0,
&
REGISTER=0,BIT=15]
2000
RIODEF
SPD_REF%[MASTER_SLOT=8,DROP=2,SLOT=1,REGISTER=0]
2100
RIODEF
SPD_IND%[MASTER_SLOT=8,DROP=2,SLOT=3,REGISTER=11]
2200
RIODEF
START@[MASTER_SLOT=8,DROP=2,SLOT=5,REGISTER=0,
&
BIT=5]
2300
!
2400
! Shark drop 4 (all digital rack)
2500
!
2600
RIODEF
ON@[MASTER_SLOT=8,DROP=4,SLOT=1,REGISTER=0,BIT=2]
2700
RIODEF
RUN@[MASTER_SLOT=8,DROP=4,SLOT=4,REGISTER=8,BIT=1]
2800
RIODEF
START_ON@[MASTER_SLOT=8,DROP=4,SLOT=4,REGISTER=8, &
BIT=5]
3200
MEMDEF RIONET_OK@
4.7.2.2
Ladder Logic Task Example
The following is an example of a Ladder Logic task for the Remote
I/O network in figure 4.4. This task verifies that both slave drops are
onĆline before application tasks use the speed reference value.
START
ON
1050
RUN
RIONET_
OK
RUN
START
START_
ON
2110
Input
1050
Input
Input
Input
RIONET_
OK
Input