Chapter 16 PLC Function Applications
MS300
(High Speed Model)
16-39
Command Function
RST
Clear contact or register
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
When the RST command is driven, the action of the designated element will be as
follows:
Element
Mode
Y, M Both coil and contact will be set as Off.
T, C
The current timing or count value will be set as 0, and both the coil
and contact
ill be set as Off.
D
The content value will be set as 0.
If the RST command has not been executed, the status of the designated element will
remain unchanged.
Ladder diagram:
X0
Y5
RST
Command code:
Description:
LD X0
Load Contact A of X0
RST
Y5
Clear contact or
register
Command Function
TMR
16-bit timer
Operand
T-K
T0~T159
,
K0~K32,767
T-D
T0~T159
,
D0~D399
When the TMR command is executed, the designated timer coil will be electrified, and
the timer will begin timing. The contact's action will be as follows when the timing
value reaches the designated set value (timing value >= set value):
NO (Normally Open) contact
Closed
NC (Normally Close) contact
Open
If the RST command has not been executed, the status of the designated element will
remain unchanged.
Ladder diagram:
X0
T5
TMR
K1000
Command code:
Description:
LD X0
Load Contact
A
of X0
TMR
T5 K1000
T5 timer
Set value as K1000
Command Function
CNT
16-bit counter
Operand
C-K
C0~C79
,
K0~K32,767
C-D
C0~C79
,
D0~D399
When the CNT command is executed from Off
→
On, this indicates that the designated
counter coil goes from no power
→
electrified, and 1 will be added to the counter's
count value; when the count reaches the designated value (count value = set value),
the contact will have the following action:
NO (Normally Open) contact
Closed
NC (Normally Close) contact
Open
After the count value has been reached, the contact and count value will both remain
unchanged even if there is continued count pulse input. Please use the RST
command if you wish to restart or clear the count.
Ladder diagram:
X0
C2
CNT
K100
Command code:
Description:
LD X0
Load Contact
A
of X0
CNT
C2 K100
C2counter
Set value as K100
Summary of Contents for VFD11AMS21AFSHA
Page 5: ...IV This page intentionally left blank...
Page 8: ...Chapter 1 Introduction MS300 High Speed Model 1 3 1 2 Model Name 1 3 Serial Number...
Page 20: ...Chapter 3 Installation MS300 High Speed Model 3 3...
Page 21: ...Chapter 3 Installation MS300 High Speed Model 3 4 This page intentionally left blank...
Page 24: ...Chapter 4 Wiring MS300 High Speed Model 4 3 4 1 Wiring...
Page 25: ...Chapter 4 Wiring MS300 High Speed Model 4 4 Figure 1...
Page 27: ...Chapter 4 Wiring MS300 High Speed Model 4 6 4 2 System Wiring Diagram...
Page 43: ...Chapter 6 Control Terminals MS300 High Speed Model 6 6 This page intentionally left blank...
Page 91: ...Chapter 8 Optional Cards MS300 High Speed Model 8 8 Frame F Fig 8 16...
Page 115: ...Chapter 9 Specification MS300 High Speed Model 9 10 This page intentionally left blank...
Page 123: ...Chapter 10 Digital Keypad MS300 High Speed Model 10 8 This page intentionally left blank...
Page 293: ...Chapter 13 Warning Codes MS300 High Speed Model 13 6 This page intentionally left blank...
Page 303: ...Chapter 14 Error Codes MS300 High Speed Model 14 10 This page intentionally left blank...