Chapter 5: Intelligent Box (IBox) Instructions
CTRIO Add Entry to End of Preset Table (CTRADPT) (IB-1005)
1
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 one
230
2
PLC scan to execute. Either the Success or
240
Error bit will turn on when the command is
250-1
3
complete. If the Error Bit is on, you can use
260
the CTRIO Read Error Code (CTRRDER)
IBox to get extended error information.
4
DS5
Used
Entry Type:
N/A
HPP
5
K0: Set
K1: Reset
6
K2: Pulse On (uses Pulse Time)
K3: Pulse Off (uses Pulse Time)
7
K4: Toggle
K5: Reset Count
8
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
9
anywhere else in your program.
10
CTRADPT Parameters
• CTRIO#: specifies a specific CTRIO module based on a user defined number (see CTRIO Config)
11
• 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
12
• Pulse Time: specifies a pulse time in msecs for the Pulse On and Pulse Off Entry Types
• Preset Count: specifies an initial count value to begin at after Reset
13
• 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
14
• Error: specifies a bit that will turn on if the instruction does not complete successfully
A
CTRIO# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
B
Output# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
Entry Type . . . . . . . . . . . . . . . . . . . . . . . . . . . V,K
Pulse Time . . . . . . . . . . . . . . . . . . . . . . . . . . . V,K
C
Preset Count . . . . . . . . . . . . . . . . . . . . . . . . . V,K
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
D
Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
5–332
DL205 User Manual, 4th Edition, Rev. B
Parameter
DL205 Range
K0-255
K0-3
K0-5; See DL205 V-memory map - Data Words
K0-65535; See DL205 V-memory map - Data Words
K0-2147434528; See DL205 V-memory map
See DL205 V-memory map - Data Words
See DL205 V-memory map
See DL205 V-memory map
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?