Which instruction would work best

1knarf

Member
Join Date
Mar 2016
Location
pennsylvania
Posts
20
Hi,

trying to explain my situation as simply as I can. I want to use
a numeric entry in my panelview to load a specific number to an integer in my plc program. basically a move function and the panelview numeric entry as the source. not sure what instruction will do this for me. any help will be appreciated. thanks
 
Perhaps a MOV Instruction ?, do you need to move it, is there a reason you could not just use the address where the integer is stored in the PLC ?.
Your question is a bit vague.
 
sorry about being vague,had to start somewhere. I'm using this to setup limits in my program so I only what this function to be enabled in a specific mode.
 
The PV can write directly to a tag without needing to create any logic in the PLC.

Once that value is stored in a tag, then you can use instructions like the LIM, EQU, NEQ, GRT, GEQ, LES, or LEQ to check the value to verify it is an "acceptable" value.

OG
 
Many, if not most HMIs will let you set limits on the data entered. But if you want to set the limits in ladder logic, use a comparison followed by a MOVE.

If HMI_Entry > HI_Limit, MOVE HI_Limit ---> HMI_Entry

The exact format of the logic will depend on your PLC model and its instruction set.
 

Similar Topics

hello all, I am a beginner in this world of the PLC, I would like to know if someone can recommend me what function (instruction) I should use for...
Replies
2
Views
1,477
Lately, I've been using Modbus for reading sensor values in process programming. I haven't used Modbus much, so I spent some time looking at...
Replies
4
Views
1,873
for micrologix devices rslinx 5000 I am task with adding some static bars to one of our lines. The current code has 2 bars already in place. I'm...
Replies
3
Views
1,481
Just want to put the question out to the PLC guru's... What is the best permissive logic for an Allen Bradley PLC MSG logic? I have seen message...
Replies
6
Views
3,346
I am working with an AB PLC5 I need to scan 256 inputs that are normally high if one drops low then take action but continue scanning for others...
Replies
3
Views
1,601
Back
Top Bottom