What am i doing wrong?

jeepmadmike

Member
Join Date
Mar 2005
Posts
29
I am just attempting to de-bug a new program with a analogue out (4-20mA)and i cannot get the value above 4mA.
The instruction im using is SCP and the output is scaled between 6242min and 31208 max for a input 0min 100max. what ever value the integer valve the o/p value remains at 6242

Ps its a AB micro logic plc and thanks for reading the post!
 
What ladder file is the SCP instruction in. If in something other then ladder 2, are you calling that subroutine.
 
I see i just moved the rung to ladder 2 and it now works. thanks for your help guys. i must find the time to go and study PLC's in depth
 
It makes sense to place different sections of code in different ladder files to make trouble shooting easier. I use unconditional sub routines all the time, just for that purpose. Ladder file 2 is usually very small with many sub routine calls.

Here's an example of an unconditional call:

sub_call.png


The U:4, will call ladder file 4.

Hope this helps.
 

Similar Topics

I am latching and unlatching "result_Data_latch" bit within same rung. Will This copy/move instruction execute correctly??
Replies
4
Views
179
In Easy Builder Pro: Unexpected results... I've got a toggle switch set to trigger a macro to write a specified integer or a 0 depending on the...
Replies
7
Views
2,288
I created default values for some new alarm setpoints. They are D361,D327,D329,D331 (see pic). When I put them into monitor mode, I was expecting...
Replies
23
Views
5,210
I'm trying to configure an ethernet driver and when I browse sswho nothing shows up on the network. I have very little experience with...
Replies
9
Views
4,889
i have a plc ab 1400 with a module 1762-iq8 but rslinx cannt detect this module, only the plc. :confused: there is a different way to detect the...
Replies
2
Views
1,360
Back
Top Bottom