The node-red and PLC communication

hello every body
i am a student in electrical ingineering
i try to build my first communication between my PLC S7 1211C and node-red via the PLC module and after i configure my first node i will have these probleme :slight_smile:
3 May 16:44:04 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:44:19 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:44:34 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:44:49 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:45:04 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:45:19 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:45:34 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:45:49 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:46:04 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:46:19 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
3 May 16:46:34 - [error] [s7 endpoint:jneafea] Error: Timeout connecting to the transport
i dont know whats the real reason of the probleme, please help if you can and i will be grateful to you.

Can you ping the PLC from the machine running node-red?

hello machadotiago , thank you very much for your reaction
whene i ping the PLC from the machine running node-red i have this message:

C: \ Users \ Admin> ping 192.168.0.3

Sending a 192.168.0.3 'Ping' request with 32 bytes of data:
Timeout exceeded the demand.
Response from 192.168.0.158: Unable to reach the destination host.
Timeout exceeded the demand.
Response from 192.168.0.158: Unable to reach the destination host.

Ping statistics for 192.168.0.3:
Packages: sent = 4, received = 2, lost = 2 (50% loss),
my PLC IP Adress is 192.168.0.3:
thank you a seconde time for your help.
i am sorry for my bad english because i am from a French-speaking country.

This means that you don't have connection with the PLC, the problem is not with the node, but with your connections.
You should be able to ping the PLC before trying to communicate with it.
Are you sure you are using a network with fixed IPs?

No I thank taht i dont use a fixed IPs? shall I do?

If you are using DHCP, are you sure that the IP of the PLC is correct?