I would like to know if it is possible to get information in the IEC61131 application program, whether one of the two Ethernet interfaces has a valid link.
Hey, i think there curently is no IEC variable by default. You can subscribe to Notification RSC Service using C# FunktionBlocks or C++ Programs to get notifications on LINK status changes.
(maybe somebody already created a Library that keeps track of these Events that I am not aware of.) There might also be a way with the “ALM_” Alarming funktionblocks (from the PLCnext Controller Library) to get this event but I am not to sure about this.
I will have to look into it further. kind regards,
oliver
Hi Oliver i really need the same variables like in the AXC 1050…
LAN_PORT1_1_LINK
LAN_PORT1_2_LINK CLOCK_PULSE_1S
CLOCK_PULSE_2S
CLOCK_PULSE_5S
CLOCK_PULSE_10S isn’t it quite easy to implement in FW of the controller? - Emil
Hello,
currently it is planned to add the Link Status Variables at FW 2020.6. The ClockPulse can be generated from the PLCnext Base library → GetMicroTick https://www.plcnextstore.com/#/240 kind regards,
Oliver
Hello Sir, I have the same problem. My main purpose is to set the PLC system time by function block PLCnext Engineer :2020.0; PLCnextbase:PLCnextBase_1_1_0; Error | PLCNEXT0007 | The library ‘PLCnextBaseServices’ does not support the controller ‘axc-f-2152-1’.
—|—|—
Hello, The PLCNextBaseService library for firmware version 2020.0 is still under development and is expected to be available either later this month or early next month. ~ Martin.
Update: The PLCnextBase library is now available for AXC F 2152 FW 2020.0. https://www.plcnextstore.com/#/240 ~ Martin.