Automationdirect.com DirectLOGIC DL205 Series User Manual page 576

Table of Contents

Advertisement

CTRIO Run to Limit Mode (CTRRTLM) (IB-1011)
CTRIO Run To Limit Mode, on a leading edge transition to this IBox, loads the Run to
Limit command and given parameters on a specific Output resource. The CTRIO's Input(s)
230
must be configured as Limit(s) for this
function to work.
240
250-1
Valid Hexadecimal Limit Values:
260
K00 - Rising Edge of Ch1/C
K10 - Falling Edge of Ch1/C
DS5
Used
K20 - Both Edges of Ch1/C
N/A
HPP
K01 - Rising Edge of Ch1/D
K11 - Falling Edge of Ch1/D
K21 - Both Edges of Ch1/D
K02 - Rising Edge of Ch2/C
K12 - Falling Edge of Ch2/C
K22 - Both Edges of Ch2/C
K03 - Rising Edge of Ch2/D
K13 - Falling Edge of Ch2/D
K23 - Both Edges of Ch2/D
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
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
anywhere else in your program.
CTRRTLM Parameters
• CTRIO#: specifies a specific CTRIO module based on a user defined number (see CTRIO Config
Ibox)
• Output#: specifies a CTRIO output to be used by the instruction
• Frequency: specifies the output pulse rate (H2-CTRIO: 20Hz - 25KHz / H2-CTRIO2: 20Hz -
250 KHz)
• Limit: the CTRIO's Input(s) must be configured as Limit(s) for this function to operate
• 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
• Workspace: specifies a V-memory location that will be used by the instruction
• 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
Chapter 5: Intelligent Box (IBox) Instructions
DL205 User Manual, 4th Edition, Rev. B
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
5–359

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF