Download Temperature Control Module User`s Manual
Transcript
6 PROGRAMMING MELSEC-Q (2) Program example Remote I/O station operating status check SB47 H T100 K4 Master station baton pass status check SB49 H T101 K3 Master station data link status check SW70.0 H T102 K4 Remote I/O station baton pass status check SW74.0 H T103 K3 Remote I/O station data link status check SW78.0 H T104 K3 Remote I/O station parameter communication status check N0 M100 Master module status check SB20 T100 T101 T102 T103 T104 MC PLS M101 SET M102 N0 M100 M101 X120 Turned off in setting mode, turned on in operation mode. X23 Y12B M102 Set value write command X20 M102 Y121 Operation mode command(Y1) on PLS M0 Set value write command on SET M1 M0 Unused channel setting M1 X120 X123 FMOV K1 D0 K3 Setting from CH2-4 to unused channel K0 M200 K1 M202 K2 K0 ZP.REMTO "J1" K1 K1 H2 H5D D0 K1 M200 K1 ZP.REMTO "J1" K1 K1 H2 H7D D1 K1 M202 K2 ZP.REMTO "J1" K1 K1 H2 H9D D2 K1 M204 Setting of input range and alert 1 mode M1 M2 X120 X123 Write to buffer memory X121 MOVP K2 D3 CH1 Input range setting MOVP K1 D4 CH1 Alert 1 mode setting K0 M206 M208 K1 M209 X12B SET Y12B Setting change command (YB) on RST Y12B Setting change command (YB) off SET M2 K0 ZP.REMTO "J1" K2 K1 H2 H20 D3 K1 M206 K1 ZP.REMTO "J1" K2 K1 H2 H0C0 D4 K1 M208 Write to buffer memory 6 - 12 6 - 12