Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am currently working on establishing a modbus TCP/IP connection between a PC (Master) and PLC(slave). I am currently not sure how the plc actually reads the holding register the PC writes to. How do i basically code it to read the holding register in structured text. The PLC I am using is a...
I guess i found the error.. ros::NodeHandle_<ArduinoHardware, 1, 2, 125, 125> nh; determines a buffer size, by doubling it made it work.
Apparently was the buffer for the serial print too small
I am currently having issue with my program on my Arduino.
main.ino looks like this:
#include "speed_profile.h"
void setup() {
// put your setup code here, to run once:
output_pin_setup();
cli();
timer1_setup();
sei();
}
void loop()
{
init_tipper_position()...
Accelerating a stepper motor to certain speed without it making any noice?
I am having some issues moving my stepper motors without it making noise.
I read somewhere that ramping the frequency of the pulse modulated signal would help, but seems to have same issues as well. Is the...
Well..
The direction part is setup somewhere else..
but the other defines is done like this
#define LCD_RS (GPIO_PORTA_DATA_R << 7)
which give me these kind of problems
Yout LCD_DATA if defined like this
INT32U LCD_DATA = GPIO_PORTB_DATA_R;
But it is also troublesome because it gives...
Which method does this one use?? because if is the same one as the one i've used so far, i wouldn't make sense to test it.. (alot things need to be changed to make it work. )
I've configured everything that should be configured... But it still doesn't work..
My delay function is also working, i've debugged it with an LED and it toggle it's state for each second.
I will add an updated version in #1
I think we aren't talking about the same thing..
Which datasheet should i USe?
Is the way i am doing it correct or incorrect? and if so, where am i going wrong?
please look at the updated code..
I don't see why it is necessary... The code piece i've posted is everything..
RedLed(ON), REDLed(Off) it Works.
My main looks like this..
int Main
{
screen_init();
while(1)
{
command();
}
}
regarding the circuit..
Regarding your code, could you tell me how it differs from mine, and...
I see that you in your code use a masking method to only send 4 bit at the time, where i send 8 bit where, only 4 of them is used..
About the microcontroler it's a lm3s6965, can you use this information to pinpoint which method i shal use?
I use CooCox IDE , and crystal is 50 mhz.
I have this microcontroler with this LCD(DEM16216) mounted on it which i cannot initialize.
Only 4 of the pins are connected which thereby means it runs in a 4 bit mode.
I've looked the datasheet for it (DEM16216) , which gives an step by step guide on how to do it, but for reason it does...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.