PART 1: CX-Programmer
CHAPTER 4 – Reference
Note:
Invert (NOT)
The Invert (NOT) setting allows the normal state of a contact or coil (open or closed) to be reversed. Select
Invert (NOT) from the context sensitive menu, whilst the contact or coil is selected.
Forced Bits
The state of an address can be 'forced' regardless of its physical state. This is useful when testing certain
conditions or rungs in the Ladder program. A bit can be forced on (value changed to 1) or forced off (value
changed to 0), the value of the bit can also be cleared. The following rules apply:
♦ Bit references that are read-only cannot be forced;
♦ Word references may not be forced.
Forcing is only allowed when the PLC is in Debug or Monitor mode (not Run mode).
Use the following procedure to force bits.
1, 2, 3...
Select Force from the context sensitive menu, followed by Cancel All to cancel all forced bits so that current
values are free to be changed by the PLC program.
Once an element has been forced, a symbol is placed in the Ladder program to indicate that its status has been
forced.
♦ Set. Set is available from the contact or coil context sensitive menu. The bit can be set to 1 or 0 by selecting
the Set option from the contact or coil context sensitive menu followed by Value, To 1 or To 0.
♦ Differentiate. Differentiate is available from the contact or coil context sensitive menu, performing the
same functions as that within the Edit Contact dialog. Select Differentiate from the context sensitive menu,
followed by Up or Down.
♦ Immediate. Immediate Refresh is available from the contact or coil context sensitive menu, performing the
same functions as that within the Edit Contact dialog. Select Immediate Refresh from the context sensitive
menu.
♦ Differential Monitor. Differential Monitor is for bits that are not accessible for conventional monitoring
(for instance, values changing too rapidly), but which can be monitored via the Differential Monitor dialog.
The dialog permits the selection of a particular bit to monitor, whether it is monitored against its falling or
rising edge, and whether sound should be used when the bit value changes.
Use the following procedure to apply the differential monitor.
1, 2, 3...
CX-Programmer _Page 78
5. When adding a new symbol, select Global to add a symbol to the PLCs symbol table.
Select Link to the CX-Server file to share the symbol definition with other applications
(named, global symbols only).
6. Select the OK pushbutton to complete the operation. Select the Cancel pushbutton to
abort the operation.
The Differentiation option and Immediate Refresh setting can also be set from the contact or
coil context sensitive menu by selecting the element in the Ladder program and clicking the
right-mouse button. A symbol is placed in the Ladder program to indicate that these options
have been set: '!' for Immediate refresh, '^' for Differentiate up; 'v' for Differentiate down.
1. Obtain the Ladder program and select the element to be forced.
2. Select Force from the context sensitive menu, followed by On, Off or Cancel.
1. Select the Program object in the project workspace to display the Ladder program in the
Diagram Workspace.
2. Select the Work On-line button from the toolbar. A confirmation message is displayed:
select the Yes pushbutton to connect to the PLC.
3. Select the Run Mode button from the toolbar. Differential monitoring can only be
accomplished in this PLC operating modes and Monitor mode.
OMRON
Need help?
Do you have a question about the CX-PROGRAMMER V9 and is the answer not in the manual?