Hello Unitronics support.
Iam currently working with an PLC Samba in a program for communication modbus with an IO-Link card with Ehternet communication.
But I not can set the plc as master in the network.
In the program I used the block MODBUS IP read holding register for read the address target in the IO-Link device. But the block shows in the status messages when is started the number 5, which means that it has no response from the IO-Link device.
I attached the program in this email so you can see if I have any errors in the programming.
The PLC Unitronics samba have the device feactures detailed below:
Unitronics samba
OPLC Information:
Model: SM70-J-TA22
Hardware Rev: B
OS Version: O/S: 4.11 (28)
I check the devices by Modbus poll and obtain the data detailed below:
Data etherNET/IP IO-Link master Baumer // PN: 11215460.
Seting comunication:
Comunication: Modbus TCP/IP
Ip: 0192.168.0.250 (IPv4)
Repose Timeout: 1000 ms
Delay Between polls: 1000 ms
Server port: 502
Connect timeout: 3000 ms
Data:
Slave ID: 1
Data sensor 1: 41000 (Status sensor), 41001(Empty), 41002(Mesurment), 41003(data switch).
Slave ID: 2
Data sensor 1: 42000 (Status sensor), 42001(Empty), 42002(Mesurment), 42003(data switch).
Slave ID: 3
Data sensor 1: 43000 (Status sensor), 43001(Empty), 43002(Mesurment), 43003(data switch).
Slave ID: 4
Data sensor 1: 44000 (Status sensor), 43001(Empty), 44002(Mesurment), 44003(data switch).
if you have any suggestion please tell me for can solution this problem.
I wait attentively for your reply.
Kindest regards.
2023-12-13 Modbus master.vlp