I'm using bldc motor(NIDEC geared BLDCmotor GM60-BL4932 DC24V)
and motor controller(NIDEC 27H PLL TYPE BLDC motorcontroller BLC-30 DC24V)
when operating dc motor with arduino, I use code(Bottom)
int E1=4;
int M1=5;
void setup
pinMode(M1, OUTPUT);
void loop
digitalWrite(E1 , HIGH);
analogWrite(M1, 255);
But I don't know how to control my bldc motor
How to control bldc motor with arduino?
I want to know how to code
I attached three image files regarding bldc motor and motor controller


