EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 69

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
67
3
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
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
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
Argument Name Description IN/OUT
usXNo Input signal Specify the input signal (X). (0 to 31) IN
usData Write data Specify the written data.
(Specify the value of bit 0.)
0: OFF
1: ON
IN
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