Chapter 5: Intelligent Box (IBox) Instructions
CTRIO Run to Position Mode (CTRRTPM) (IB-1012)
1
CTRIO Run To Position Mode, on a leading edge transition to this IBox, loads the Run to
Position command and given parameters on a specific Output resource.
230
2
Valid Function Values are:
240
00: Less Than Ch1/Fn1
250-1
3
10: Greater Than Ch1/Fn1
260
01: Less Than Ch1/Fn2
4
DS5
Used
11: Greater Than Ch1/Fn2
N/A
HPP
02: Less Than Ch2/Fn1
5
12: Greater Than Ch2/Fn1
03: Less Than Ch2/Fn2
6
13: Greater Than Ch2/Fn2
7
This IBox will take more than one PLC scan to execute. Either the Success or Error bit will
turn on when the command is complete. If the Error Bit is on, you can use the CTRIO Read
8
Error Code (CTRRDER) IBox to get extended error information.
The Workspace register is for internal use by this IBox instruction and MUST NOT be used
9
anywhere else in your program.
10
CTRRTPM Parameters
• CTRIO#: specifies a specific CTRIO module based on a user defined number (see CTRIO Config
11
Ibox)
• Output#: specifies a CTRIO output to be used by the instruction
12
• Frequency: specifies the output pulse rate (H2-CTRIO: 20Hz - 25KHz / H2-CTRIO2: 20Hz -
250 KHz)
13
• Duty Cycle: specifies the % of on time versus off time. This is a hex number. Default of 0 is 50%,
also entering 50 will yield 50%. 50% duty cycle is defined as on half the time and off half the time
• Position: specifies the count value, as measured on the encoder input, at which the output pulse
14
train will be turned off
• Workspace: specifies a V-memory location that will be used by the instruction
A
• Success: specifies a bit that will turn on once the instruction has successfully completed
• Error: specifies a bit that will turn on if the instruction does not complete successfully
B
C
D
5–362
DL205 User Manual, 4th Edition, Rev. B
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?