Communication, Counter and Pulse
SECTION 4
Ladder Diagram
The following table shows the instruction operations related to interrupt input
Programming
(counter mode) control.
Instruction Control
Operation
Refresh incrementing
counter SV
Refreshes the counter’s SV and starts the
incrementing count.
Refresh decrementing
counter SV
Refreshes the counter’s SV and starts the
decrementing count.
Mask all interrupts
Prohibits all interrupts, including interrupt
inputs, interval timer interrupts, high-
speed counters, etc.
(@)INT(89)
Unmask all interrupts
Permits all interrupts, including interrupt
inputs, interval timer interrupts, high-
speed counters, etc.
(@)INI(61)
Change PV
Changes the counter’s PV.
(@)PRV(62)
Read PV
Reads the counter’s PV.
The functions related to input interrupts (counter mode) are executed accord-
ing to the data areas shown in the following table.
Word Bits
Name
Contents
240
00 to 15
SV area for input interrupt (counter mode) 0
241
00 to 15
SV area for input interrupt (counter mode) 1
242
00 to 15
SV area for input interrupt (counter mode) 2
243
00 to 15
SV area for input interrupt (counter mode) 3
Stores the
counter’s set
value(SV) .
244
00 to 15
PV area for input interrupt (counter mode) 0
245
00 to 15
PV area for input interrupt (counter mode) 1
246
00 to 15
PV area for input interrupt (counter mode) 2
247
00 to 15
PV area for input interrupt (counter mode) 3
Stores the
counter’s
present value
(PV).
Refresh Incrementing Counter SV / Refresh Decrementing Counter SV
These functions store the counter’s set values in data areas and refresh them
by means of INT(89). In this way, they start the count operation for interrupt
inputs (counter mode) and they permit interrupts.
Storing Set Values in Data Areas
The counter’s set values are stored in words 240, 241, 242, and 243.
SR 240
SV for interrupt input (count mode) 0: 0000 to FFFF
SR 241
SV for interrupt input (count mode) 1: 0000 to FFFF
SR 242
SV for interrupt input (count mode) 2: 0000 to FFFF
SR 243
SV for interrupt input (count mode) 3: 0000 to FFFF
47
Содержание 3G3MV-P10CDT-E
Страница 2: ...3G3MV P10CDT PLC Option Unit User s Manual Revised June 2003 ...
Страница 38: ...Unit Components and Specifications SECTION 2 2 1 4 Dimensions 68 128 55 25 ...
Страница 43: ......
Страница 85: ...Example Programs Appendix B 72 ...
Страница 86: ...Example Programs Appendix B 73 ...
Страница 87: ...Example Programs Appendix B 74 ...
Страница 88: ...Example Programs Appendix B 75 ...
Страница 90: ...Example Programs Appendix B 77 ...
Страница 91: ...Example Programs Appendix B 78 ...
Страница 97: ...Example Programs Appendix B B 4 9 Programs User_Parameter_Init 84 ...
Страница 98: ...Example Programs Appendix B 85 ...
Страница 99: ...Example Programs Appendix B User_Application Pos_Loop 86 ...
Страница 100: ...Example Programs Appendix B 87 ...
Страница 101: ...Example Programs Appendix B 88 ...
Страница 102: ...Example Programs Appendix B 89 ...
Страница 103: ...Example Programs Appendix B 90 ...
Страница 104: ...Example Programs Appendix B 91 ...
Страница 105: ...Example Programs Appendix B 92 ...
Страница 106: ...Example Programs Appendix B 93 ...
Страница 107: ...Example Programs Appendix B Pos_Home_Sequence 94 ...
Страница 108: ...Example Programs Appendix B 95 ...
Страница 109: ...Example Programs Appendix B 96 ...