I have a B&R CP476 PLC and would like to know how to communicate it with the 3IF681.86 module. It has an extension model 7ME020.9, in which the IF681 module is inserted. This IF681 module has two interfaces: 1x RS232 and 1x Ethernet. I was able to communicate with its RS232 interface, but I have no knowledge of how to communicate with this Ethernet.
Hello Alvaro,
you have to load two drivers onto the controller. You can find the files here: C:\BRAutomation\AS\System\V0240\SG3
You can find further details here : B&R Online Help (br-automation.com)
Regards
Stephan
I managed to install these drivers, but how does it work for me to connect the PLC to the PC via Ethernet? I saw the manual but I didnât really understand these IP parameters, whether to enter my PCâs IP or whether there is a default IP.
Hi,
I assume youâre asking for the meaning of the configuration parameters from this config dialog, right?
The PLC doesnât have a default IP.
You can decide to set a own static IP address and network mask (not your notebooks IP, because every IP has to be unique inside a IP network) , or you can activate âGet IP from DHCP serverâ (then, if a DHCP server exists in your network, the PLC will get an address from this server).
In both cases, the notebook and the PLC have to be in the same IP network, because if not they canât communicate.
The default gateway normally is the IP address from your internet router - itâs only needed if the PLC should communicate with remote networks for example with the internet or via remote access (for example, when the PLC should be reachable via a remote maintenance router) - if notebook and PLC are both in the same IP network and should only communicate to each other, then the default gateway is not needed.
The setting âIP address from node numberâ means: the first 3 byte of the own set IP address are used like configured by you, the last byte is set from the number you configure with the both number switches on the top of the IF card).
The âIP address and networkâ topic isnât PLC specific, (almost) all devices connected with an ethernet network are communicating via the IP protocol in the same manner, and also need some of the same basic settings like address, subnet masks and so on.
If youâre new to the topic of IP networking, I recommend first to make yourself familiar with some of the basic concepts if IP networks, for example here:
Here in the community, thereâs also a little glossary available (but thatâs not a guide, itâs only for explaining some of the most often used phrases of IP networking together with PLCs):
Best regards!
Thank you for your attention Alexander! So if my PCâs IP is 192.168.000.51, should I put something like 192.168.000.50 in my PLCâs IP address? And another question, should I perform any additional configuration on the Online settings screen of the Ethernet interface?
Hi,
Yes, if your PCâs IP setup is 192.168.0.51 with subnet mask 255.255.255.0, the you could use for example 192.168.0.50 with subnet mask 255.255.255.0 for the PLC (as long as this address is not used yet by another device of course).
From the online setting dialog, you have 2 possibilities:
1.) to set under âDestination INA node numberâ the number setting of the number switches on the IF card (please ensure, that itâs not set to 0, 255, and not the number of the Source INA node number in the same dialog).
So you could set the number switch on the IF card to â02â, then it would match the setting in the online dialog like seen it your screenshot.
2.) remove the value from âDestination INA node numberâ, and set your PLCs IP address under âDestination IP Addressâ
⌠possibility 1 or 2 differ âunder the surfaceâ in the type, how the communication will work. I normally prefer the setting of the âDestination IP addressâ as long as I already know this address (which is for example not the case, if the address is delivered by DHCP server).
After setted up the PLC and transferred the configuration, please first try to PING the PLCâs ip address from your notebook - as long as the ping fails (for whatever reason, maybe cableling, maybe misconfigurationâŚ), the Automation Studio Online setting / connection will not work.
⌠I really hope I remembered right about everything written above, since the CP476 is a legacy system and Iâve no longer worked with it for years. Letâs see
Best regards!
Got it, I made these settings. Should I load them through another interface? And what would this PING be? A programming command?
Yes, you have to transfer the configuration into the PLC by a already working connection (I assume RS232)?
PING is command line tool existing in (almost?) every desktop operating system to check if an IP address is reachable.
Depending on the response of a PING command, you at least know if a device can be reached or not⌠just google âwindows pingâ, and youâll find what itâs for and how to use.
Best regards!