A
Appendix
A-3 Inner Workings of CP1L/CP1E
SYSMAC CP1L/CP1E Introduction Manual 119
Peripheral Services
*CP1E CPU Units do not execute these services.
Note 1. The cycle time will vary depending on the following factors.
Type and number of instructions in the user program (all cyclic tasks and
additional tasks executable during the cycle, and interrupt tasks of which
execution condition are satisfied)
Type and number of CP-series expansion I/O units and expansion units
connected
"Minimum cycle time" specified in the PLC settings
Use of peripheral USB ports and serial ports
"Fixed peripheral servicing time" specified in the PLC settings
2. The cycle time is not affected by the number of tasks in the user program. The
cycle time is only affected by cyclic tasks that are READY within the cycle.
3. When changing from MONITOR to RUN mode, the cycle time will be extended
by approx. 10ms (this will not, however, make the cycle time too long).
4. Service time is separately allocated for the peripheral USB port, serial port, and
communication port services. By default, 4% of the preceding cycle time will be
allocated.
If services take several cycles for execution, and are delayed, allocate a fixed
amount of time (as opposed to percentage) to each service. To do this, use
[Set time to all events] under PLC Settings. CP1E has no setting, and cycle
time is fixed to 8%.
Details Processing Time and Variation Factors
Peripheral USB port
service
Processing time for these services will vary depending on the PLC
settings.
If a cycle time has not been specified, service will be executed
using 4% of the preceding cycle time calculated by
"cycle time
calculation
". If a cycle time has been specified, service will be
executed for the specified time.
Execution will take at least 0.1ms, regardless of whether a cycle
time has been specified or not.
If the ports are not connected, the servicing time will be 0ms.
Serial port service
Communication port
service *
If a cycle time has not been specified in the PLC settings, service
will be executed for 4% of the preceding cycle time calculated by
"cycle time calculation".
If a cycle time has been specified, service will be executed for the
specified time.
Execution will take at least 0.1ms, regardless of whether the cycle
time has been specified.
If no communications ports are used, the servicing time will be
0ms.
Built-in flash memory/
EEPROM accessing
service
Processing time for these services will vary depending on the PLC
settings.
If a cycle time has not been specified, service will be executed
using 4% of the preceding cycle time calculated by
"cycle time
calculation
". If a cycle time has been specified, service will be
executed for the specified time.
Execution will take at least 0.1ms, regardless of whether the cycle
time has been specified.
If there is no access, the servicing time will be 0ms.
Memory cassette
accessing service *