A
Appendix
A-4 CP1L Programming Examples
SYSMAC CP1L/CP1E Introduction Manual 121
A-4 CP1L Programming Examples
This section provides examples for wiring, DIP switch settings, and programming of CP1L (14-point I/O
unit with AC power supply). In case of CP1E, the settings are included in the parentheses.
For details on wiring and settings, refer to CP Series CP1L CPU Unit User's Manual (W462) or CP Series
CP1E CPU Unit Hardware User's Manual (W479). For details on instructions, refer to CP Series CP1H/
CP1L CPU Unit Programming Manual (W451) or CP Series CP1E CPU Unit Instructions Reference
Manual (W483). For details on using CX-Programmer, refer to CX-Programmer Operation Manual (W446).
A-4-1 Using Adjusters to Set Timers
■Functions Used
●External Analog Settings Input (Only CP1L)
Analog values can be digitized according to the external analog settings input (0 to
10V, resolution: 256). Converted values are sent to the auxiliary area (A643CH).
This function is useful for changing settings based on inputs such as change in
outside temperature or feedback from a variable resistor.
An example using input from a variable resistor is shown below.
■Operation Overview
A photoelectric sensor is placed in front of a gate. When the sensor detects a car,
the gate is opened.
When the car passes the gate, the sensor is turned OFF.
When a set amount of time passes after the sensor is turned OFF, the gate is closed.
The time until the gate closure will be adjusted with by a variable resistor connected
to CP1L.
Photoelectric sensor
(E3G-series, etc)
CP1L
Gate
Open
Time to OFF
Min. 2.0s to Max. 27s
Sensor input
Contact 0.00
Gate output
Contact 100.00
(Min. 2.0s to Max. 27s)
Variable resistor
Adjustment range