CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Fri Jan 24, 2020 5:34 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Controlling Analogue
PostPosted: Fri Nov 03, 2017 1:33 pm 

Joined: Mon Oct 30, 2017 4:20 pm
Posts: 1
I got as a training some assignment to work with analogue input outputs in codeSys. I have some question to ask here and hopefully someone can give a hint
Inputs of type WORD. What can I use them for? What can I store in those types?
How do I work with analogue signals? I usually work with BOOLs. But if you have a output slot 0-10 v. How do you decide how much to send out? What analogue signals are used for?

This is a Codesys forum but I would anyway ask you something about Warp Engineering Studio. When you make an Object of a HMI och drag it to the workspace . you name the object from "ix developer project" to something else. When generating it 1: does not created a project with that name. 2: gives the error about "this channel can not be used. set "SessionInputShutdown to false" ... ". Do you have the PLC and hmi online when generating projects for these components?

Thanks in advance

 Post subject: Re: Controlling Analogue
PostPosted: Mon Nov 06, 2017 9:40 am 
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 987
Put every question in a separate message, as this is a lot easier to read.

An analog input is always a WORD and runs from +7 to ... something like 32760
you can make this engineering values by mapping the variable to an engineering value.

for example 1 to 5 BAR.
Now you can use this to compare, or make a PID controller or whatever you like.

An output is same and works from 7 to 32760 for example, the lowest 3 bits are for status. It is dependent of the PLC and card used.

computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited