CITL_Y_In_Bit
This function reads an output signal (Y) in bit (1-point) units.
■ Format
short CITL_Y_In_Bit (unsigned short usYNo, unsigned short* pusData)
■ Argument
Argument
Name
usYNo
Output signal
pusData
Data storage destination
■ Description
• This function reads an output signal (Y) specified to the output signal (usYNo) in bit (1-point) units.
• A value of a read output signal (Y) is stored in the data storage destination (pusData).
■ 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 67 CITL_X_Out_Bit
Page 68 CITL_X_Out_Word
Page 70 CITL_Y_In_Word
Description
Specify the output signal (Y). (0 to 31)
Specify the storage destination of read data.
The following values are stored depending on the value of an output signal
(Y).
• 0: OFF
• 1: ON
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
IN
OUT
3 DETAILS OF FUNCTION
3
69