Knowledge Required For Programming; C Controller Module Dedicated Function - Mitsubishi Electric MELSEC iQ-R Series Quick Start Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

2.4

Knowledge Required for Programming

C Controller module dedicated function

C Controller module dedicated function is one of the 'dedicated function libraries' for C Controller modules. Using this function
in a user program allows a C Controller module to easily control MELSEC iQ-R series modules.
I/O access
1-point access and 1-word access are available.
■Bit access: A function that treats 1-point data (ON/OFF of switches and lamps)
Example of bit access functions
Function name
CCPU_X_In_BitEx
CCPU_Y_Out_BitEx
CCPU_Y_In_BitEx
■Word access: A function that treats 16-point (1-word) data (numeric values, characters)
Example of 1-word access functions
Function name
CCPU_X_In_WordEx
CCPU_Y_Out_WordEx
CCPU_Y_In_WordEx
User LED control
User LED control is a method for controlling the USER LED and the dot-matrix LED on the front of a C Controller module.
Example of user LED control functions
Function name
CCPU_SetLEDStatus
CCPU_SetDotMatrixLED
Only the basic C Controller module dedicated functions are explained in this section.
Other than the functions above, C Controller module dedicated functions and MELSEC communication
functions are available for controlling modules. For each function, refer to the following manual.
MELSEC iQ-R C Controller Module Programming Manual
Description
To read an input signal (X) in bit (1-point) units.
To output an output signal (Y) in bit (1-point) units.
To read an output signal (Y) in bit (1-point) units.
Description
To read an input signal (X) in word (16-point) units.
To output an output signal (Y) in word (16-point) units.
To read an output signal (Y) in word (16-point) units.
Description
To set the LED status of a C Controller module.
To set a value to be displayed on the dot matrix LED of C Controller module.
2 USING C CONTROLLER MODULE
2.4 Knowledge Required for Programming
2
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

C controller

Table of Contents