Authentication: UniLogic to UniStream

UniLogic - PLC Communication Password

Starting with UniLogic versions 1.29.xx and the UniStream firmware supplied with that version, Unitronics embedded user authentication measures into both UniLogic software and UniStream firmware. This enables you to prevent unauthorized access to your UniStream controller.

For this reason, UniLogic requires users to enter a PLC password before executing commands and tasks that require UniLogic to UniStream communication, including:

  • Application Download / Upload

  • Verify

  • On-line test mode (debug)

  • Changing Work mode (Stop, Run, Reset, Reboot)

  • Set Date and time in PLC

  • Remote Upgrade

Note that in the event that after you install Firmware from V1.29 an up, you wish to down grade, you need to follow the procedures given in the topic How_to_Downgrade_Firmware__after_installing_BIN_1.29_

The first time a user establishes UniLogic to UniStream communications to a particular PLC, for example at application download, or to run online Test mode, UniLogic requires the user to change the default password, as shown in the next image.

The PLC password must be at least 8 characters long.
It must contain at least 1 digit, at least 1 lower case letter, at least 1 upper case letter, and at least 1 symbol
Note that are some restricted symbols including: ' " < > & ; |

Once a password is assigned to the PLC, UniLogic stores that password for that specific user (the user currently logged into Windows).

When a user attempts UniLogic to UniStream communications, UniLogic authenticates the user access permission to that specific PLC.

If the PLC password has been changed, and is recognized by UniLogic, or if a different user logs into the PC and then attempts to access the PLC, UniLogic requests the password.

If the user enters the password incorrectly, communications are blocked.

Other ways to change the Password

From UniLogic via the ribbon: UniStream Management > Change Password.

Via UniApps> System> PLC >System > PLC Password.

 

You can also restore the PLC's default password via UniApps, and then assign a new one; this process is described at the end of this topic.

Ethernet connection troubleshooting

Check:

 

Protocol Ports

  • Ensure that ports dedicated to specific protocols are accessible.

  • Note that if the PLC is not part of the LAN, the ports may be blocked. In this case, you can configure the router connected to the PLC to open the ports, and forward the ports to the PLC.

 

The protocols listed below use the ports shown in the next table.

Protocol

Port

Purpose

SFTP

22

Download

3335

Online using SSL

3999

PC / CPU Tunneling

VNC

5900  

VNC

HTTPS

8001

REST APIs

Web Server

any available port

Previous Versions

Note that UniLogic versions 1.28.34 and lower use ports as defined in the next table.

Protocol

Port

Version 1.28/Previous

Version 1.29 and higher

SSH

22

Commands

Not in use

SFTP

22

Download

Download

 

3335

Online

Online using SSL

 

3999

PC / CPU Tunneling

PC / CPU Tunneling

VNC

5900  

VNC

VNC

HTTPS

8001

Not in use

REST APIs

Web Server

any available port

 

 

Restoring the PLC Default Password

To reset the PLC Password back to the default:

 

  1. Enter UniApps: touch and maintain contact for several seconds with the upper right corner of the HMI Panel touchscreen until the UniApps popop menu appears.

    You can also enter via VNC, by clicking the cursor on the  upper right corner of the HMI and holding the mouse button down.

  1. Select UniApps.

  1. Select the System tab, then press the arrow at the right side of the screen to view and press the PLC Properties option.

  1. Select Restore Password, and select OK to restore the PLC default password.

 

 

After you have restored the default password, when you next try to establish PC-PLC communications, UniLogic will request that you change the PLC default password.