EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 67

Mitsubishi Electric MELSEC iQ-R Series
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
65
3
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
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
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
Argument Name Description IN/OUT
usXNo Input signal Specify the input signal (X). (0 to 31) IN
pusData Data storage destination 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
OUT
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

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals