DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-334
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
CTRIO Add Entry to End of Preset Table (CTRADPT) (IB-1005)
CTRIO Add Entry to End of Preset Table, on a leading edge transition to this IBox, will
append an entry to the end of a memory based Preset Table on a specific CTRIO Output
resource. 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.
Entry Type:
K0: Set
K1: Reset
K2: Pulse On (uses Pulse Time)
K3: Pulse Off (uses Pulse Time)
K4: Toggle
K5: Reset Count
Note that the Pulse Time parameter is ignored by
some Entry Types.
The Workspace register is for internal use by this IBox instruction and MUST NOT be used
anywhere else in your program.
CTRAPT Parameters
• CTRIO#: specifies a specific CTRIO module based on a user defined number (see CTRIO Config)
• Output#: specifies a CTRIO output to be used by the instruction
• Entry Type: specifies the Entry Type to be added to the end of a Preset Table
• Pulse Time: specifies a pulse time for the Pulse On and Pulse Off Entry Types
• Preset Count: specifies an initial count value to begin at after Reset
• 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
Parameter
DL06 Range
CTRIO#
K
K0-255
Output#
K
K0-3
Entry Type
V,K
K0-5; See DL06 V-memory map - Data Words
Pulse Time
V,K
K0-65535; See DL06 V-memory map - Data Words
Preset Count
V,K
K0-2147434528; See DL06 V-memory map
Workspace
V
See DL06 V-memory map - Data Words
Success
X,Y,C,GX,GY,B
See DL06 V-memory map
Error
X,Y,C,GX,GY,B
See DL06 V-memory map