So or you have a experienced teacher, or you´re going to expend a lot of time trying to find out the easy way to do it. Unfortunately SFC is not always enough user friendly for beginners, and there´s no manuals who show that kind of tricks when you start programming. In fact SFC language is based on this concept. In RS485 case, I recommend to have IFD6500 and any freeware Modbus sniffer.Īnd remeber, with comunications…always patience.Īgain we dedicate this post to the beginner PLC programmers.Īlmost all PLC programs use to follow sequential structure (on state following to another one). ![]() When you work with comunications, is always advised to have some sniffer, to see what happens on the network. We also add some section of the manual with the special marks to be aware when you play with this instruction. To help you on this special application, download the following Send Frame trough RS232 and Send Frame trough RS485. The mark that will tell us when the data is available is:Īnd you will find the info on D1070 – D1085 special registers range. If on the other way around, our PLC is waiting for some transmision, then we´ll need to wait until the data is recieved. Once this mark is high, the PLC send the frame configurated in the RS instruction. Use this table to create the Hexadecimal number, or use WPLSoft wizardīefore COM port configuation, we´ll going to use RS instruction.īasically RS instruction is to configure where I’m going to save the data to be sent and received.īut to trigger the frame, you will need to trigger special mark. On our examples below we used D1036=87H what means: Use the below table, or our WPLSoft wizard if you are still WPLSoft users. ![]() Once you got the port selected, then you need to set up the port configuration. Second the solution we’ll show in this post.īasically all our PLC have by default 2 communication ports RS485 (below) and RS232 (in front).Īnd some have a 3rd RS485 port, usable also to send single frames to other slaves. If the slave is Delta, we can always use PLC Link.īut what happens when the slave is not delta?įirst use our DVP12SCM-SL module with 2 extension ports to help us on the frame configuration. This trick is for the very special application when we want to communicate with unknown device trough serial communication using our Delta PLC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |