Mitsubishi Electric MELSEC iQ-R Series Manual page 67

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

Advertisement

CITL_X_In_Bit
This function reads an input signal (X) in bit (1-point) units.
■ Format
short CITL_X_In_Bit (unsigned short usXNo, unsigned short* pusData)
■ Argument
Argument
Name
usXNo
Input signal
pusData
Data storage destination
■ Description
• This function reads an input signal (X) specified to the input signal (usXNo) in bit (1-point) units.
• A value of an input signal (X) read to the data storage destination (pusData) is stored.
■ 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 66 CITL_X_In_Word
Page 67 CITL_X_Out_Bit
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 storage destination of read data.
Either of the following values is stored depending on the value of the input
signal (X).
• 0: OFF
• 1: ON
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
IN
OUT
3 DETAILS OF FUNCTION
3
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents