You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Thread Tools Display Modes
Old January 12th, 2019, 04:15 AM   #1

Electric3906 is offline
Join Date: Nov 2018
Location: Penguin
Posts: 7
Looking for a GX Works guru

Hi Guys

I'm trying to scale an Analog input. The manual talks about comparing the analog to a data table to result as another device. Function 259 or SCL is pretty straight forward, except the data table part.

The examples and explanations in the manual and help files are not clear and I cannot find where to access, how to build, enter or modify a data table.

There must be a GX works guru out there with scaling experience who can point out what I am missing?

Cheers PN

Last edited by Electric3906; January 12th, 2019 at 04:30 AM.
  Reply With Quote
Old January 12th, 2019, 12:23 PM   #2

doomsword is offline
Join Date: Aug 2016
Location: Zagreb
Posts: 139
Which PLC and is it GW2 or GW3?
Anyways all manual are here:

I don't understand what are you trying to do exactly...
  Reply With Quote
Old January 12th, 2019, 08:25 PM   #3

Electric3906 is offline
Join Date: Nov 2018
Location: Penguin
Posts: 7
I have an FK3U PLC, a clone of a Mitsubishi FX3U. Using GX Works 2 to program.
I'm building a battery charger so there are analog inputs for volts and amps setpoints, volts and amps outputs. There are multiple tappings on the transformer and other features that the PLC is controlling.

The PLC analog inputs are configured for 0-10V, this ends up as 0-4000 counts in the PLC. But the volts setpoint potentiometer ended up as a maximum of 7.2V so it's maximum count is 2810, not 4000. The maximum output voltage is measured at 95V DC. After configuring the signal and measuring by the PLC, it ends up at 2430 counts in the PLC.

Currently, when I compare Volts setpoint to the output, the scales do not match.

I want to scale the voltage setpoint to see 2810 counts and give a 4000 count. The output voltage when at 2430 counts needs to be scaled to give 4000 counts. This way, 50% = 50% in both cases: 2000 counts. This can then be used in the rest of the logic to drive deadbands, comparisons etc in the PLC which drives the voltage control and selects the appropriate transformer tapping and all the other things it is wired up to do.
The current control system is a similar problem, but also needs to control the output voltage because Ohm's Law.
Attached Images
File Type: jpg IMG_2825.jpg (157 Bytes, 37 views)

Last edited by Electric3906; January 12th, 2019 at 08:43 PM.
  Reply With Quote
Old January 13th, 2019, 12:37 AM   #4
United Kingdom

cottagewood is offline
Join Date: Oct 2005
Location: Kent
Posts: 96
You could just multiply the input by 1423 which will put the answer in to a double integer, then divide by 1000.
Or you could convert the input to REAL and multiply it by 1.423
  Reply With Quote
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
GX Works 2 HersheysMM LIVE PLC Questions And Answers 3 February 24th, 2017 02:26 PM
Mitsubishi GX Works Program will not open OXI LIVE PLC Questions And Answers 7 November 7th, 2016 01:49 AM
GX Works 2 daily maintenance swedeleaner LIVE PLC Questions And Answers 4 October 3rd, 2014 09:18 AM
Gx works 2 jembc LIVE PLC Questions And Answers 4 September 30th, 2014 09:59 AM
GX Developer Convert to GX IEC Developer l0lpb LIVE PLC Questions And Answers 1 September 24th, 2014 07:00 AM

All times are GMT -5. The time now is 09:22 PM.