P94ETH01D
Applications
Main Routine - Ladder Diagram
SoftLogixMSGgen: Main Task: Main Program
Total number of rungs in routine: 11
This program shows simple indexing. Move indexes. Index0 and Index1 of simulated I/O (inputs 8 and 9 of 1789 soft module)
provide a choice of 4 indexes. Indexing starts on positive edge of input 2 (IndexStart). Input 0 is used for the enable and input 1
is used to set the motion profile. The simulated I/O module can be replaced with your hardware by changing the tag's alias
0
Drive enable
SIM_IO_Enable
<Local:4:I.Data[1].0>
1
Set Accel, Decel and
profile velocity
command input
SIM_IO_SetMoveProfile
<Local:4:I.Data[1].1>
2
Motion index select
input
SIM IO Index0
<Local:4:I.Data[1].8>
3
Motion index select
input
SIM IO Index1
<Local:4:I.Data[1].9>
4
Execute Index
SIM IO MoveD
<Local:4:I.Data[1].2>
5
Figure 33a: Indexing Ladder Diagram
Sends new values for
CNTRL_ChangeAccel
MotionIndexSelector.0
MotionIndexSelector.1
Data for 94P index
move Target position
Executes MOVED (move
to move to
CMD_ExecuteMOVED
MOV
Move
Source
MotionIndexes[MotionIndexSelector]
10.0
Dest
DATA_MotionProfile.TargetPosition
44
Page 1
mm/dd/yyyy hh:mm:ss AM
SoftLogixIndexing.ACD
NOP
CMD_Enable
move profile to 94P
incremental)
RSLogix 5000
Need help?
Do you have a question about the AC Tech MotionView OnBoard PositionServo ETHERNET/IP and is the answer not in the manual?
Questions and answers