A
Appendix
A-2 Instructions
108 SYSMAC CP1L/CP1E Introduction Manual
A-2-2 Basic I/O Processing Instructions
Basic I/O processing instructions are used for writing to contacts and coils.
Note When programming in CX-Programmer, there is no need to think of contacts and
coils (OUTs) as instructions. They can be written into the program by simply
selecting the corresponding symbols.
■Writing Contacts
●LD (LOAD) / LD NOT (LOAD NOT) Instructions
Use at the bus bar or at the beginning of a rung block.
Instruction Name Instruction Function
Contact LOAD LD Used for contacts connected to the bus bar or to the beginning of a
rung block.
LOAD NOT LD NOT Used for closed contacts connected to the bus bar or to the
beginning of a rung block.
AND AND Used for contacts connected in series.
AND NOT AND NOT Used for closed contacts connected in series.
OR OR Used for contacts connected in parallel.
OR NOT OR NOT Used for closed contacts connected in parallel.
Coil
(Output)
OUT OUT Turns relay coil ON when execution condition is 1, and OFF when
execution condition is 0.
OUT NOT OUT NOT Turns relay coil OFF when execution condition is 1, and ON when
execution condition is 0.
SET SET Turns relay coil ON when execution condition changes from OFF to
ON. The relay coil will remain ON even when the execution
condition changes back to OFF.
RESET RSET Turns relay coil OFF when execution condition changes from OFF
to ON. The relay coil will remain OFF even when the execution
condition changes back to OFF.
KEEP RELAY KEEP(011) Makes the specified relay function as a keep relay.
000000
000001
Bus bar