Mitsubishi Electric M800VW Series Programming Manual page 475

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
10 Application Functions
For details on application functions, refer to "MELSEC-Q/L Structured Programming Manual (Application Functions)".
When using application functions, designate the data types with " 〇 " in the following figure.
Do not designate the data types with "×" to arguments of application functions since the data types are not supported by CNC.
For details on each data type, refer to "MELSEC-Q/L/F Structured Programming Manual (Fundamentals)".
Data type
Bit
Word (signed)
Double word (signed)
Word (unsigned)/16-bit string
Double word (unsigned)/32-bit string
Single-precision real
Double-precision real
Character string (32)
Time
Structure
Array
(*1) To use a device or label as a subscript for an array type label, set the PLC bit selection parameter "#6471/bit1" to "1".
After the setting, restart the CNC.
 EN/ENO functions
By appending EN (enable input) or ENO (enable output) to EN/ ENO functions, the execution can be controlled.
A Boolean variable used as an executing condition of a function is set to an EN.
A function with an EN is executed only when the executing condition of the EN is TRUE.
A Boolean variable used as an output of function execution result is set to an ENO.
A setting of an output label to an ENO is optional.
The following table shows the status of ENO and the operation result according to the status of EN.
EN
TRUE (Operation execution)
FALSE (Operation stop)
 Restrictions of arrays
For the following application functions, arrays to be used for the arguments have restrictions.
The array using a label for the index cannot be used for s2 (Preset).
If the array using a label for the index is used for both s3 (ValueIn) and d2 (ValueOut), an error occurs in compiling. Use the
array for either of them.
 COUNTER_FB_M
 TIMER_10_FB_M
 TIMER_100_FB_M
 TIMER_HIGH_FB_M
 TIMER_LOW_FB_M
 TIMER_CONT_FB_M
 TIMER_CONTHFB_M
IB-1501667-B
Writing to CNC
ENO
TRUE (No arithmetic error)
FALSE (Arithmetic error)
FALSE
( ○ /×)
×
×
×
○ (*1)
Operation result
Operation output value
Undefined value
Undefined value
454

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents