Jump to content

Talking to the "outputs"?


Recommended Posts

Hello!

I'm working with a Samba SM70-J-TA22  (transistor sink/source).

What is the general scope of their assignable functions (ports)?   In other words maybe, lets say I have a logical "1" in my code somewhere and I want this to drive an external "output" on?  In my case a 24vdc power pump motor contactor.

A code snip would be great!

 

Thanks!

Link to comment
Share on other sites

  • MVP 2023

We don't call them ports.  That's an Arduino and other microprocessor term and the pins can be assigned as input or output.  In PLC land, the real world is accessed by dedicated Inputs and Outputs.  They are fixed in number and can not be interchanged.  They are bits, and are accessed in the program exactly as MBs are.

If you haven't already, go to the Hardware Configuration and assign your Inputs and Outputs-

image.png.e3d8d57334930b15cfd6c3bf9dfe1363.png

image.png.aba1a6b62a2f6f09f5a036d16c6c6396.png

 

Connecting your logic to a real Output is this simple - 

image.png.3ae562ae4ed01caa790338cc8ea976df.png

 

Have a look at this video on the Unitronics YouTube channel - 

 

Also, look through the examples that come with your Visilogic installation.  They can be found from within Visilogic under Help->Examples.

 

Joe T.

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.