Download MELSEC-L CPU Module User`s Manual (Built
Transcript
CHAPTER 5 MC PROTOCOL COMMUNICATION 5.2.2 Available devices The following table lists the devices available in the commands used for MC protocol communication. Classification Device code*1 Device Input X* 9CH Device number range The number range of a device in a CPU module, which is accessed to, can be specified. Hexadecimal Output Y* Internal relay M* 90H Decimal Latch relay L* 92H Decimal Annunciator F* 93H Decimal Edge relay V* 94H Decimal Link relay B* A0H Hexadecimal Data register D* A8H Decimal Hexadecimal Timer Internal user device Retentive timer Counter W* B4H Contact TS C1H Coil TC C0H Current value TN C2H Contact SS C7H Coil SC C6H Current value SN C8H Contact CS C4H Coil CC C3H The number range of a device in a CPU module, which is accessed to, can be specified. Hexadecimal Note that the access to a local device is not possible. Decimal Decimal C5H A1H Hexadecimal Link special register SW B5H Hexadecimal Step relay S* 98H Decimal DX A2H Hexadecimal DY A3H Hexadecimal Special relay SM 91H Decimal Special register SD A9H Z* CCH R* AFH Decimal ZR B0H Hexadecimal Direct Direct output *2 Index register Decimal The number range of a device in a CPU module, which is accessed to, can be specified. Decimal File register File register Extended data register Extended data register D* A8H Decimal Extended link register Extended link register W* B4H Hexadecimal *1 Device code is the code that is specified in the MC protocol message. When data are communicated using ASCII code, use the device code of two characters. For the device code of one character, add "*" (ASCII code: 2AH) or add space (ASCII code: 20H) after the character. *2 For the L02CPU and L02CPU-P, devices of DX/DY400 or later number cannot be used. To access the devices of X/Y400 or later number, use X or Y device. For the L26CPU-BT and L26CPU-PBT, devices of DX/DY1000 or later number cannot be used. To access the devices of X/Y1000 or later number, use X or Y device. 35 5.2 MC Protocol Commands 5.2.2 Available devices CN SB input*2 5 Decimal Link special relay Current value Index register Binary 9DH Link register Internal system device ASCII