jeenjang
MrPLC Member-
Content count
11 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout jeenjang
-
Rank
Sparky
Contact Methods
- Website URL http://
- ICQ 0
Profile Information
- Gender Male
- Location Malaysia
- Country Malaysia
-
let me answer the questions by myself in case anyone here encounters same problem In FPWin Pro, there's a function block called IsReceiveTimeOut, if time-out period is set correctly according to baudrate, it will be quite reliable and packet size will be expected incoming data size.
-
Hi guys, I was using Serial comm add-on cassette with Program Controlled Mode and <CR> (0x0D) as end code to interface with my customer's PC script. Historically it was the correct format, however the script now somehow uses <LF> (0x0A) as end code and yet FP-X doesn't have the option to use <LF> Now I don't have a working PLC to test out and I have to solve this by next visit to them, my question is, 1) If I change end code to NONE, will serial comm port still receives the data packet without much delay, or will it be relying on time out? 2) will the data packet length still be correct or simply the length of array size being defined? If no end code is not an option, is there any working alternative without wiring change? i think Panasonic really should fix this limitation as I never had problem like this on Omron. p.s.: i'm programming on FPWIN PRO Many thanks!
-
after banging the head around, I found a work around to have both No Protocol's RXD and TXD plus the convenience brought by Host Link commands. In CP1H Host Link mode, you can use SEND command if you would like to send some raw hex data as in No Protocol mode.
-
my opinion is, it is possible if u have sufficient Holding memories to store the precalculated polynomial tables. because the rest will b just bit shifting and simple calculations, yet still too lengthy for ladder diagram, better use listing code and make it into a subroutine.
-
i found that Timer datatype can only be INPUT in function block instead of all others, and we dont need initial value for that.......
-
thank you for ur useful reply , i'll try them out and by the way, the timer in function block tat u noted is global timer (absolute addressed timer) or timer variable that is shared among all function block calls ?
-
1. I made a function (FC) using functional block language (FBL), the FC's output is a Double Word (DW), so in OB1, i typed a memory address (e.g. M0 ) but it appeared to be invalid address, syntax. why? is there any rule or syntax that i should follow? 2. I have bit output for let say M0.0 in a network , and I want to move a INT or WORD value to the same memory address, starting from M0 in another network, is it valid for siemens? 3. How to use Timer type variable in a function block (FB), or is it possible for siemens? I tried to declare it but it gave me RED in the column of initial value, what should i put in that column?? Omron cx-prog v5.0 supported this function for its function block. 4. If interrupt (e.g. plc low battery), it runs OB80, does OB1 run after OB80 finished? or just looping within OB80 until the error is cleared?
-
i think SFTR works the same as SFT if reverse shift is not needed
-
Does it support both source and sink type input by changing its common voltage? I know CPU215 supports this.
-
wat's ur posture when u program the plc on site? *wondering
-
just a thought, probably an ultrasonic sensor?