User`s manual

8 - 27 8 - 27
MELSEC-Q
8 I/O CONTROL INSTRUCTIONS
(5) Output ON time conversion processing
(a) When the control output cycle (CTDUTY) is reached, the output ON counter is calculated
with the following expression. At this time, the output counter is cleared (to 0).
MV
T
CTDUTY
OutputON Counter
100
1
The output ON counter rounds off a fraction to no decimal places.
(b) When the control output cycle (CTDUTY) is not reached, the output counter is incremented
by 1 and "(6) Output conversion processing" is performed.
(6) Output conversion processing
In the output conversion processing, the following processing is performed.
Condition BW
Output counter output ON counter 1 (ON)
Output counter output ON counter 0 (OFF)
(7) Loop stop processing
(a) Setting 1 in SPA of the alarm detection (ALM) selects a loop stop.
A loop stop performs the following processing and terminates the S.DUTY instruction.
1) BW is output at the last ON/OFF rate.
2) DMLA, MHA and MLA of the alarm detection (ALM) are turned to 0.
3) The operation mode (MODE) is changed to MAN.
4) BB1 to BB4 of BB are turned to 0.
(b) Setting 0 in SPA of the alarm detection (ALM) selects a loop run.
A loop run performs "(1) Mode judgment".
(8) Hold processing
Used to specify whether the output value will be held or not by the S. DUTY instruction is
specified at sensor error occurrence (detected by the S.IN instruction) in the loop stop
processing.
Use SM1501 to select whether the manipulated value (MV) will be held or not at sensor alarm
occurrence.
SM1501
OFF: Manipulated value (MV) will not be held.
SM1501
ON: Manipulated value (MV) will be held.
ERROR
When an operation error occurs Error code: 4100