Hello, I want to assign the PLC AXC F 2152 as a modbus TCP client to communicate with other devices as a master. I downloaded the library and used the example on the PLCnext Store. I configured for test communication via modbus poll. However, I cannot activate the Function as shown below. The “xActivate” input signal has been activated as True, however the “xActive” output is still Faule. How do I move data from the Function code data received to another data area? For example, Function Code 03, I want to retrieve data from “arrRegisterValue” into another data area I have created. About Visu + 2.5 software, how can I get data tags from PLC AXC F 2152 to Visu +2.5 software. Can you send me an example of Visu +2.5 project? Thanks for your help?
Hello,
Error on TCP Client
Please see the FB help file - the error codes are in the appendix (The application tried to send or receive data, and the Socket is not connected (_SOCKET.ACTIVE == False).) This indicates that the wrong IP or Port was specified, or there is no Server available.
How do I move data from the Function code data received to another data area?
arrayVar1[1] := wordVar1;
About Visu + 2.5 software, how can I get data tags from PLC AXC F 2152 to Visu +2.5 software. Can you send me an example of Visu +2.5 project?
Unfortunately we do not have an example for Visu+ and AXC F 2152 . To get Data from the AXC f 2152 declare the Variable as OPC and use the latest Visu+2 .52 Version and the OPC UA driver in Visu+
You can also get support for PLCnext Store apps (like the Modbus TCP library) from the app page in the PLCnext Store. When you are logged in to the Store, there is a “Contact Developer” button in the top right corner of the app page.