DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-361
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
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) must
be configured as Limit(s) for this function to work.
Valid Hexadecimal Limit Values:
K00 - Rising Edge of Ch1/C
K10 - Falling Edge of Ch1/C
K20 - Both Edges of Ch1/C
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 1 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 (H0-CTRIO: 20Hz - 25KHz / H0-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
DS
Used
HPP
N/A