Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
9
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instructions Edition
Table of Contents
21. Real Time Clock Control – FNC160 to FNC169 560
21.1 FNC160 – TCMP / RTC Data Compare.............................................................................................561
21.2 FNC161 – TZCP / RTC Data Zone Compare ....................................................................................563
21.3 FNC162 – TADD / RTC Data Addition............................................................................................... 565
21.4 FNC163 – TSUB / RTC Data Subtraction.......................................................................................... 567
21.5 FNC164 – HTOS / Hour to Second Conversion.................................................................................569
21.6 FNC165 – STOH / Second to Hour Conversion.................................................................................571
21.7 FNC166 – TRD / Read RTC data ...................................................................................................... 573
21.8 FNC167 – TWR / Set RTC data......................................................................................................... 574
21.9 FNC169 – HOUR / Hour Meter .......................................................................................................... 576
22. External Device – FNC170 to FNC179 578
22.1 FNC170 – GRY / Decimal to Gray Code Conversion ........................................................................ 579
22.2 FNC171 – GBIN / Gray Code to Decimal Conversion ....................................................................... 580
22.3 FNC176 – RD3A / Read form Dedicated Analog Block ..................................................................... 581
22.4 FNC177 – WR3A / Write to Dedicated Analog Block.........................................................................582
23. Introduction of Alternate Instructions – FNC180 583
23.1 Instruction correspondence table....................................................................................................... 583
24. Others – FNC181 to FNC189 585
24.1 FNC182 – COMRD / Read Device Comment Data ........................................................................... 586
24.2 FNC184 – RND / Random Number Generation................................................................................. 588
24.3 FNC186 – DUTY / Timing Pulse Generation ..................................................................................... 589
24.4 FNC188 – CRC / Cyclic Redundancy Check..................................................................................... 591
24.5 FNC189 – HCMOV / High Speed Counter Move...............................................................................595
25. Block Data Operation – FNC190 to FNC199 599
25.1 FNC192 – BK+ / Block Data Addition................................................................................................. 600
25.2 NFC193 – BK– / Block Data Subtraction .......................................................................................... 603
25.3 FNC194~199 – BKCMP=, >, <, < >, <=, >= / Block Data Compare.................................................. 606
26. Character String Control – FNC200 to FNC209 611
26.1 FNC200 – STR / BIN to Character String Conversion ....................................................................... 612
26.2 FNC201 – VAL / Character String to BIN Conversion........................................................................617
26.3 FNC202 – $+ / Link Character Strings............................................................................................... 622
26.4 FNC203 – LEN / Character String Length Detection .........................................................................624
26.5 FNC204 – RIGHT / Extracting Character String Data from the Right ................................................ 626
26.6 FNC205 – LEFT / Extracting Character String Data from the Left..................................................... 628
26.7 FNC206 – MIDR / Random Selection of Character Strings ............................................................... 630
26.8 FNC207 – MIDW / Random Replacement of Character Strings ........................................................ 633
26.9 FNC208 – INSTR / Character string search....................................................................................... 636
26.10 FNC209 – $MOV / Character String Transfer.................................................................................. 638
27. Data Operation 3 – FNC210 to FNC219 640
27.1 FNC210 – FDEL / Deleting Data from Tables.................................................................................... 641
27.2 FNC211 – FINS / Inserting Data to Tables ........................................................................................ 643
27.3 FNC212 – POP / Shift Last Data Read [FILO Control] ...................................................................... 645
27.4 FNC213 – SFR / Bit Shift Right with Carry.........................................................................................648
27.5 FNC214 – SFL / Bit Shift Left with Carry............................................................................................ 650