3 - 24
3. CC-LINK COMMUNICATION FUNCTIONS
Code No. Item/Function
Reading data (RWrn
3) contents
(Servo amplifier
Programmable controller)
0040h Input device status 0
Reads the statuses (OFF/ON) of the input
devices.
bit 0 to bit F indicate the OFF/ON statuses of the corresponding input
devices. Refer to section 3.5.1 for the meanings of the abbreviations.
bi
t
Fbit0
When 2 stations are occupied, DI0, DI1 and DI2 do not function and
therefore they are always "0".
bit0: SON bit4: LSP bit8: MOR bitC: DI2
bit1: ST1 bit5: LSN bit9: COR bitD: DI3
bit2: ST2 bit6: MDO bitA: DI0 bitE: DI4
bit3: DOG bit7: TSTP bitB: DI1 bitF:
0041h Input device status 1
Reads the statuses (OFF/ON) of the input
devices.
bit 0 to bit F indicate the OFF/ON statuses of the corresponding input
devices. Refer to section 3.5.1 for the meanings of the abbreviations.
bi
t
Fbit0
bit0: PSR bit4: DI6 bit8:
CDP bitC:
bit1: SPR bit5: DI7 bit9:
bitD:
bit2:
bit6: TL1 bitA: CSL bitE:
bit3: DI5 bit7: PC bitB: INC bitF:
0042h Input device status 2
Reads the statuses (OFF/ON) of the input
devices.
bit 0 to bit F indicate the OFF/ON statuses of the corresponding input
devices. Refer to section 3.5.1 for the meanings of the abbreviations.
bi
t
Fbit0
bit0: bit4: bit8: bitC:
bit1:
bit5: bit9: bitD:
bit2:
bit6: bitA: RES bitE:
bit3:
bit7: bitB: bitF:
0050h Output device status 0
Reads the statuses (OFF/ON) of the Output
devices.
bit 0 to bit F indicate the OFF/ON statuses of the corresponding
output devices. Refer to section 3.5.1 for the meanings of the
abbreviations.
bi
t
Fbit0
bit0: RD bit4: TLC bit8: MOF bitC: MEND
bit1: INP bit5:
bit9: COF bitD:
bit2: CPO bit6: MBR bitA: WNG bitE: POT
bit3: ZP bit7: PUS bitB: BWNG bitF:
0051h Output device status 1
Reads the statuses (OFF/ON) of the Output
devices.
bit 0 to bit F indicate the OFF/ON statuses of the corresponding
output devices. Refer to section 3.5.1 for the meanings of the
abbreviations.
bi
t
Fbit0
bit0: PSF bit4:
PT2 bit8: PT6 bitC:
bit1: SPF bit5: PT3 bit9: PT7 bitD:
bit2: PT0 bit6: PT4 bitA:
bitE:
bit3: PT1 bit7: PT5 bitB:
bitF: