Output; Output To Device; Low-Speed Timer - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 MELSEC FUNCTIONS

5.1 Output

5.1.1 Output to device

The execution condition is output to the specified device.
Function definition

5.1.2 Low-speed timer

When the coil of the timer (low-speed timer, low-speed retentive timer) turns ON, the timer measures up to the
set value, and when the timer times out (calculation value ( set value), the contact is put in the following status.
N/O contact: Conduction N/C contact: Non-conduction
Function definition
5 - 4
OUT_M
BOOL OUT_M (BOOL EN, BOOL D);
Argument Name
EN
D
Return Value
Execution condition
BOOL
Example of use
(* Execution condition X0 is output to the assigned device of bData.
OUT_M (X0, bData);
Corresponding MELSEC command
OUT (Output)
TIMER_M
BOOL TIMER_M (BOOL EN, BOOL TCoil, ANY16 TValue);
Argument Name
EN
TCoil
TValue
Remarks: When a constant is specified for the timer set value, only a decimal number
can be specified.
The timer set value can be specified within the range 0 to 32767.
Return Value
Execution condition
BOOL
Example of use
(* When execution condition X0 turns ON, TC0 turns ON and the timer calculates *)
(* up to TValue, and when the timer times out (calculation value ( set value),
(* the contact is put in the following status.
(* N/O contact: Conduction N/C contact: Non-conduction
TIMER_M (X0, TC0, TValue);
Corresponding MELSEC command
OUT T (Low-speed timer)
IN/OUT
Execution condition
IN
Target to be turned ON/OFF
OUT
IN/OUT
Execution condition (Function is executed only
IN
when the result is TRUE)
TS, TC device or STS, STC device (bit data)
IN
Timer set value (BIN 16-bit data)
IN
For the usable data type, refer to "3.2.2
About ANY type".
Description
Description
Description
Description
*)
*)
*)
*)
5 - 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents