Wasan

MrPLC Member
  • Content count

    408
  • Joined

  • Last visited

Everything posted by Wasan

  1. @Dadde for testing you maybe use MX Component with MX OPC Server (or OPC UA Server if need) that could access with GX Simulator 3 then connect with your SCADA with OPC driver.
  2. Have you try this [OMFINS]Source=1/1/0Block=256 and check that your firewall have block port TCP:9600 or not.
  3. Read Timer

    Could you show us your OMRON Ladder diagram to be convert them on SoMachine Basic?
  4. modbus communication

    On Your Slave Address in Read Command you assign them to be D0 then you should [ MOV K1 D0 ] to assign slave address to be 1
  5. HMI panel / display for Siemens LOGO! 8 ethernet

    @Kim Jessen Do you need to connect PLC LOGO!8 to RS Pro HMI by ethernet connection alright? RS Pro HMI seems use Wecon PIStudio Software for configuration. On your example video is configured with S7-1200 with S7 connection. For use with LOGO!8 they can use with S7 connection too by compare LOGO!8 variable to be in DB1 like this link https://www.promotic.eu/en/pmdoc/Subsystems/Comm/PLC/LOGO.htm but you need to familiar with TSAP Local / Remote setting I recommend to open Modbus TCP Connection on LOGO!8 then use Modbus TCP driver on RS Pro HMI is easier to connect it.  
  6. HMI panel / display for Siemens LOGO! 8 ethernet

    If you use LOGO!8 for V8 or later it can be set communication to be Modbus TCP Server then you can use any HMI Touchscreen that can use with Modbus TCP connection.
  7. Citect SCADA interface

    For FX3U-232ADP-MB you could set your PLC to be Modbus Slave then connect with Citect by use MODBUS driver on Serial Port.
  8. modbus communication

    Hi @dalmadi.norbert Could you connect with your device. If not please shared program on communication to us to help you find problem
  9. Simulation of FX5 in GX Works3.

    Maybe you need to use MX Component or MX OPC Server to link with GX Simulator 3.
  10. @Maryn From this FAQ I think it could but when you use with TM3 modules need to attach after them. https://www.se.com/ww/en/faqs/FA235150/
  11. Mitsubishi FX5U Program Conversion To FX3U

    I think they have not downgrade tools but I think almost instructions are same as FX3U. Maybe you need to print their program then rewrite in GX Works 2.
  12. Unable to read analog signal

    @vtripathi How about your wiring and which module do you connect? Please show us your program for check.
  13. @Maryn You need to read data from analog input (They are in %IWX.0 or %IWX.1 depend on which channel do you use) then use compare block to enable with output.
  14. Connect FX3G-40M to proface HMI GP-4301TM

    You could check setting on Mitsubishi CPU Direct driver manual on Device/PLC help on GP Pro-EX or check at this link below. https://www.hmisource.com/otasuke/files/manual/soft/gpproex/hosoku/mitfxcpu.pdf
  15. Hi everyone. My customer tell us to check their MDS-A-CR-75 that I have find some manual for a while but not found it. Are there anyone have manual for this. I need wiring diagram to check them.
  16. @RichardK I have never use Modbus ASCII on M221 but I think if change protocol on communication setting it should be fine to use READ_VAR maybe wait for other to clarify with these.
  17. @NoamC Maybe you compare data from previous data if it is more than last value put it in register.
  18. @NoamC There are function call "MAX_ARR" may be you should use it.
  19. @RichardK Which device model that you need to connect with Modbus TCP?
  20. Citect Scada Modent Bit Read

    Hi @hmwright I have create test project for MODNET3 bit in word.I have found that bit order on wor device is seperate into 2 block. I will describe below. 1. Create project with I/O Device to use Modnet3 (If necessary assign device address). 2. Create Variable tag with word and bit in word (For Modnet3 address start from 0 and have bit 0 - 15 that means in you need to read device that start address are 400001 you should assign in citect as 400000). 3. Compile and run project when assign word value is 147 then bit 8, 11, 14, 15 are on. 4. That because in Modbus data is arrange data from bit 16 to bit 1 5. If you need to start with bit 1 you should config parameter [MODNET]RegisterBitReverse from 0 to 1. 6. Select Setup Editor to edit Citect parameter. 7. Add Section MODNET then edit parameter as shown below then click "Add" button. 8. Go to File -> Save to save parameter. 9. Then Reload parameter and close window screen. 10. When run project again for value 147 bit 0, 1, 4 and7 will on.
  21. How to move 8 bit only in data memory D ?

    @CangkeMan You should use SMOV or AND data with H0F like this Assume that data in D0 and destination are D10 -| M0 |------[SMOV D0 K2 K2 D10 K2] or use "AND" function -| M0 |------[WAND D0 H0F D10]
  22. Hi @RichardK I have create example program for READ_VAR function block attacth to this post I don't have real hardware then I'm not sure that it will work correctly. Then I will describe how program works 1. Create program on SoMachine or Machine Expert - Basic then assign communication parameter on PLC serial port to match with Soft Starter Parameter. 2. Config Modbus parameter to set PLC as Modbus Master. 3. In this program I have use system clock 100 ms %S5 to count uo conuter for each READ_VAR command for this project I use 4 device to read then I set preset to be 4 + 1 = 5 when counter reach preset it will reset automatically. 4. use compare block for %C0.V (Counter 0 Current Value) = 1 when counter reach 1 it will operate then put %READ_VAR function block after it at EXECUTE pin You need to assign %READ_VARX for each communication block. Example I start with %READ_VAR0 for communicate with device slave ID 1. Detail for configuration shown below Link: Which PLC port to connect with Modbus Device Id : Modbus Slave ID for SoftStarter TimeOut : How long to timeout after wait for resplonse ObjType : Function code that you use (use 0 For Modbus 0x03 for read multiple registers) FirstObj : First Register to be read (For this softstarter start with 0 for P000 then we need to read P003 that means we start with 3) Quantity : How many data to read (use 12 for P003 - P014) IndexData : First %MW to recieve data (For this block use %MW0 - %MW11 to recieve  5. Then create similar program for each device to read by add compare value to 1 for each command and change %READ_VAR0 to next %READ_VAR1..2..3 and config IndexData for each READ_VARX function block.  6. Then we will end at %READ_VAR3 for device 4. Now we can read Modbus data from 4 softstarters P003 - P014 as these No.1 -> %MW0 - %MW11 No.2 -> %MW20 - %MW31 No.3 -> %MW40 - %MW51 No.4 -> %MW60 - %MW71 MrPLC_ReadVar_SoftStarter_01.smbp
  23. @RichardK I have check on SoftStarter Manual it use Modbus RTU Protocol that can use READ_VAR function on M221 that easier than EXCH/MSG command. Could you tell us which 11 parameters to read and what Device ID for four softstarters? And send us program for EXCH/MSG because attach files are so blur to read.
  24. @RichardK Which softstarter brand and model do you use and how ti communicate with it (TCP, Modbus or anything)? Could you send your softstarter communication manual to us?
  25. Citect Scada Modent Bit Read

    @hmwright Could you change data type to DIGITAL?