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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...