Mitsubishi Electric MELSEC iQ-R Series Manual page 69

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

Advertisement

CITL_X_Out_Bit
This function writes to an input signal (X) in bit (1-point) units.
■ Format
short CITL_X_Out_Bit (unsigned short usXNo, unsigned short usData)
■ Argument
Argument
Name
usXNo
Input signal
usData
Write data
■ Description
• This function writes to an input signal (X) specified to the input signal (usXNo) in bit (1-point) units. (Turns ON/OFF.)
• An input signal (X) turns ON/OFF according to a value specified to bit 0 in the data storage destination (usData). (Values of
bit 1 to 7 are ignored.)
• Only the area available for user can be written. Even though the data is written by the CITL_X_Out_Bit function in the area
other than the area available for user, no error will occur, but the value will not be written.
■ Return value
Return value
Description
0 (0000H)
Normal
Other than 0 (0000H)
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
■ Relevant function
Page 65 CITL_X_In_Bit
Page 66 CITL_X_In_Word
Page 68 CITL_X_Out_Word
Page 69 CITL_Y_In_Bit
Page 70 CITL_Y_In_Word
Description
Specify the input signal (X). (0 to 31)
Specify the written data.
(Specify the value of bit 0.)
• 0: OFF
• 1: ON
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
IN
IN
3 DETAILS OF FUNCTION
3
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents