13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Advanced Function <strong>Instruction</strong>FUN 74 PIMDIOIMMIDIATE I/OFUN 74 PIMDIOLadder symbolReflesh controlEN74P.IMDIOD :N :D : Starting number of I/O points to be refreshedN : Number of I/O points to be refreshedOperandRangeX Y KXn ofMainUnit.Yn ofMainUnit.D ○ ○N1∣36○●●●For normal PLC scan cycle, the CPU gets the entire input signals before the program is executed, and thenperform the executing of program based on the fresh input signals. After finished the program execution theCPU will update all the output signals according to the result of program execution. Only after the completescan has been finished will all the output results be transferred all at once to the output. Thus for the inputevent to output responses, there will be a delay of at least 1 scan time (maximum of 2 scan time). With thisinstruction, the input signals or output signals specified by this instruction can be immediately refresh to getthe faster input to output response without the limitation imposed by the scan method.When refresh control "EN" = 1 or "EN↑" ( P instruction) has a transition from 1 to 0, then the status of Ninput points or output points (D~D+N-1) will be refreshed.The I/O points for FBs-PLC's immediate I/O are only limited to I/O points on the main unit. The table belowshows permissible I/O numbers for 20, 32, 40 and 60 point main units:Main-unit typePermissible numbers20 points 32 points 40 points 60 pointsInput signals X0~X11 X0~X19 X0~X23 X0~X35Output signals Y0~Y7 Y0~Y11 Y0~Y15 Y0~Y23●●If the intended refresh I/O signals of this instruction is beyond the range of I/O points specified on abovetable then PLC will be unable to operate and the M1931 error flag will be set to 1. ( for example, if in aprogram, D=X11, N=10, which means X11 to X20 are to be immediately retrieved. Supposing the main unitis FBs-32MA, then its biggest input point is X19, and clearly X20 has already exceeded the main unit's inputpoint number so under such case M1931 error flag will be set to 1).With this instruction, PLC can immediately refresh input/output signals. However, the delay of the hardwareor the software filter impose on the I/O signals still exist. Please pay attention on this.7-55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!